{"$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":"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":"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":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"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":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"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":"acp-connections-context.AcpConnectionsProvider (cyclomatic 489): acp-connections-context.AcpConnectionsProvider has cyclomatic complexity 489 (threshold 15). Most of this is not in the body itself: 1 of the 489 points is its own statement and the rest belongs to 98 function literals inside it that branch (lines 5279, 7316, 5126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"596fd699a31f8c442ce71aa47299867e56b0e8b40d07b276e0a525a6dcca63ba"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-context.WorkspaceProvider (cyclomatic 454): workspace-context.WorkspaceProvider has cyclomatic complexity 454 (threshold 15). Most of this is not in the body itself: 7 of the 454 points are its own statements and the rest belongs to 128 function literals inside it that branch (lines 2364, 1126, 2550, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f865895f5e78ccb22644be2be53fdc273c8bdbc20682321f25096f0f54579d1"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.useTabStore (cyclomatic 289): tab-store.useTabStore has cyclomatic complexity 289 (threshold 15). Most of this is not in the body itself: 1 of the 289 points is its own statement and the rest belongs to 74 function literals inside it that branch (lines 2407, 2257, 1757, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4c63bfdf3c060fc43bf6d457ea73a08d13f723af992d30999c1244fe6b1e66"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-file-tree-tab.FileTreeTab (cyclomatic 271): aux-panel-file-tree-tab.FileTreeTab has cyclomatic complexity 271 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 228 belong to 83 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"585b8823336e0c4e965d090949e1d333a65767fb2a4aace6e6715a7dd62916bf"}},{"ruleId":"D1","level":"warning","message":{"text":"message-input.MessageInput (cyclomatic 269): message-input.MessageInput has cyclomatic complexity 269 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 215 belong to 60 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0562ca50d4ef849ba2e87584a54e6c0aa9239b2181ed82cc301fbcbccca45d28"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.AcpAgentSettings (cyclomatic 253): acp-agent-settings.AcpAgentSettings has cyclomatic complexity 253 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (acp-agent-settings.AcpAgentSettings::handleFixAction, acp-agent-settings.AcpAgentSettings::renderFixButton) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4973}}}],"partialFingerprints":{"codehealthFindingId/v1":"e703c9f1b8272e926fa1ebc9ad7c0c41ed5322a6306332c5bea206957fb0c5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-view.CanvasFlow (cyclomatic 241): canvas-view.CanvasFlow has cyclomatic complexity 241 (threshold 15). Most of this is not in the body itself: 15 of the 241 points are its own statements and the rest belongs to 82 function literals inside it that branch (lines 1914, 1229, 1633, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3169076785cc8f324493760ef19f9ae22ea1e5a0055049335ebbc225882704c3"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-connections-context.connectionsReducer (cyclomatic 232): acp-connections-context.connectionsReducer has cyclomatic complexity 232 (threshold 15). Of this number, 229 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c54d6e9289cbf59e5b10602b4479012ec5dcd6d504923ef3d4b48ccceaf0800"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexParser::parse_conversation_detail (cyclomatic 219): CodexParser::parse_conversation_detail has cyclomatic complexity 219 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3241}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ff342bcb418285558c5b9e77dd9650a14eb27e73ded200de66e3269a3ff3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-detail-panel.ConversationTabView (cyclomatic 191): conversation-detail-panel.ConversationTabView has cyclomatic complexity 191 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 118 belong to 51 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395099549907448cf0a50d2f75ea7a51433e909784f79879a4dd13e78f1f657"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-page.ForgePage (cyclomatic 177): forge-page.ForgePage has cyclomatic complexity 177 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 116 belong to 47 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"12126bffe09073cbcfb0c9d809b4fac4623933be1d73946343c810b2d026b28c"}},{"ruleId":"D1","level":"warning","message":{"text":"file-workspace-panel.FileWorkspacePanelBody (cyclomatic 176): file-workspace-panel.FileWorkspacePanelBody has cyclomatic complexity 176 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 105 belong to 44 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1573312f57fad33c141dcc8eec77b20109d33fa4767cade5f0fe52aba7bd14"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-config-panel.PiConfigPanel (cyclomatic 175): pi-config-panel.PiConfigPanel has cyclomatic complexity 175 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 68 belong to 29 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58cefb66f2964bf63f0dcd43917d34dd6c5b6ecdff75106906e5280f080794"}},{"ruleId":"D1","level":"warning","message":{"text":"task-detail-sheet.TaskDetailSheet (cyclomatic 166): task-detail-sheet.TaskDetailSheet has cyclomatic complexity 166 (threshold 15). Of this number, 123 points are the body\u0027s own statements and 43 belong to 21 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0953dc23efc41555884c70d5f4ab07d7578fa14f352d872a9fe2d16fe68ee33d"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-git-changes-tab.GitChangesTab (cyclomatic 160): aux-panel-git-changes-tab.GitChangesTab has cyclomatic complexity 160 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 95 belong to 43 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b0a7b69b10c5ee7f52121c336adf1d59f15476dd590948efd2b052ccac3331"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-view.TerminalView (cyclomatic 156): terminal-view.TerminalView has cyclomatic complexity 156 (threshold 15). Most of this is not in the body itself: 11 of the 156 points are its own statements and the rest belongs to 40 function items inside it that branch (a function literal at line 284, a function literal at line 353, a function literal at line 547, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7105c4eb9fdd79ad30261fc64255134a2a2708db622a13d95ec73bd02098a79"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.reducer (cyclomatic 145): conversation-runtime-store.reducer has cyclomatic complexity 145 (threshold 15). Of this number, 130 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb43ffc0e0ad3b99c4e59f5a8d63858299b4bf533b24eeecf732b61e029fb0f2"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::emit_conversation_update (cyclomatic 144): codeg::acp::connection::emit_conversation_update has cyclomatic complexity 144 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":25481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71a4f75b5e1d2560cbf53b5148a35f62c9ac940f5f9421729e2faf75dd5400a"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-git-log-tab.GitLogTab (cyclomatic 124): aux-panel-git-log-tab.GitLogTab has cyclomatic complexity 124 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 102 belong to 31 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c5487cf68ce45326e0f1ca10d2060ce4405e22d133a4960839d1d8769d9ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-upload-dialog.WorkspaceUploadDialog (cyclomatic 123): workspace-upload-dialog.WorkspaceUploadDialog has cyclomatic complexity 123 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 99 belong to 44 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3624f1d4ca1254e61fd48317e1d94633b518531fca37535e748bd136ad6cd893"}},{"ruleId":"D1","level":"warning","message":{"text":"token-usage-page.TokenUsagePage (cyclomatic 120): token-usage-page.TokenUsagePage has cyclomatic complexity 120 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 59 belong to 26 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"02397445a56502cd5ef4aba72760339bc381cb840c5e90da49ce4b67af464655"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.useConversationRuntimeStore (cyclomatic 120): conversation-runtime-store.useConversationRuntimeStore has cyclomatic complexity 120 (threshold 15). Most of this is not in the body itself: 1 of the 120 points is its own statement and the rest belongs to 31 function items inside it that branch (a function literal at line 4992, syncTurnMetadata::trySync, a function literal at line 4744, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a38fd6ad96fa3d1bd01e7681bea22eb1046c3c3e779df308f9ad695692a3e1"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::agent_turn_files::extract::tokenize (cyclomatic 116): codeg::agent_turn_files::extract::tokenize has cyclomatic complexity 116 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"512476544b15e1e641848cc36eaadbbde087b1360c7287acfb27500f56717f27"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list-view.MessageListView (cyclomatic 114): message-list-view.MessageListView has cyclomatic complexity 114 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 74 belong to 23 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d650db8387a23565b430462a952b312e1045d53839817805f2176694c3f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"skills-settings.SkillsSettings (cyclomatic 113): skills-settings.SkillsSettings has cyclomatic complexity 113 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 58 belong to 29 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6067b68119939925e7426041de60423b83d5181a84e8ad4014affa3597a9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-settings.McpSettings (cyclomatic 112): mcp-settings.McpSettings has cyclomatic complexity 112 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 69 belong to 27 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c241743e18317d4b2a234161063d7a1444c004e9777138952faf4e83df5aceb0"}},{"ruleId":"D1","level":"warning","message":{"text":"commit-dialog.CommitWorkspace (cyclomatic 104): commit-dialog.CommitWorkspace has cyclomatic complexity 104 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 69 belong to 29 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"044912646877a0afc94b600145a55a08cccb568c86ce7677c2177f8aae2a5c55"}},{"ruleId":"D1","level":"warning","message":{"text":"update-provider.UpdateProvider (cyclomatic 102): update-provider.UpdateProvider has cyclomatic complexity 102 (threshold 15). Most of this is not in the body itself: 9 of the 102 points are its own statements and the rest belongs to 24 function literals inside it that branch (lines 734, 544, 684, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d897f0429dd7ad61d1a10e873c9e373f8fe70a62d41b3b709aaa028d5796ee"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-model-list-editor.CodexModelListEditor (cyclomatic 101): codex-model-list-editor.CodexModelListEditor has cyclomatic complexity 101 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 49 belong to 24 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4475e90cca346c0a214c3108aae29799d260ab51218f82f770bbccc959370f2"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::run_conversation_loop (cyclomatic 96): codeg::acp::connection::run_conversation_loop has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":14805}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa7d656bf3ddd9cbaf769ef587745cd6d703537c8d33061c03bff3d3a01dc3"}},{"ruleId":"D1","level":"warning","message":{"text":"backup-settings.BackupSettings (cyclomatic 94): backup-settings.BackupSettings has cyclomatic complexity 94 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 41 belong to 21 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa1cf45e7e48bed525698ff8799590fc87933ae2dccb5007805d8ac6debf1e"}},{"ruleId":"D1","level":"warning","message":{"text":"config-sync-settings.ConfigSyncSettings (cyclomatic 93): config-sync-settings.ConfigSyncSettings has cyclomatic complexity 93 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 59 belong to 22 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c150fa2e406c176f656f0f39cade47da182257654a515c678ec656a7a30aed8f"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-config-panel.CursorConfigPanel (cyclomatic 92): cursor-config-panel.CursorConfigPanel has cyclomatic complexity 92 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 35 belong to 15 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b7adbd46d9bf4ea6ce9d1812266bcedbcf885d5592136a3ceffaa467a8dd58"}},{"ruleId":"D1","level":"warning","message":{"text":"import-sessions-window.ImportSessionsWindow (cyclomatic 91): import-sessions-window.ImportSessionsWindow has cyclomatic complexity 91 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 62 belong to 24 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7856587abc6a2fb77458e695ed18b662d782edffc50300fa69d51cd170220d13"}},{"ruleId":"D1","level":"warning","message":{"text":"branch-dropdown.BranchDropdown (cyclomatic 91): branch-dropdown.BranchDropdown has cyclomatic complexity 91 (threshold 15). Most of this is not in the body itself: 13 of the 91 points are its own statements and the rest belongs to 27 function items inside it that branch (handleConfirm, getConfirmTitle, getConfirmDescription, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fa7b1ff1ba5cedd394699bb7a6a9b19ae96a0ca2b6b8c824a756d40fc2cbd8"}},{"ruleId":"D1","level":"warning","message":{"text":"system-network-settings.SystemNetworkSettings (cyclomatic 90): system-network-settings.SystemNetworkSettings has cyclomatic complexity 90 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 33 belong to 16 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b043c732e7fdbaf8c71c4e6a4ff1828b8d3ee59e7d39e13fc2692f4214601b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-row.AgentRow (cyclomatic 88): agent-row.AgentRow has cyclomatic complexity 88 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 33 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":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c6cf93d7a0361ee52aa6a0c2774b35721a5ac559a3460bce7b6a8820636511"}},{"ruleId":"D1","level":"warning","message":{"text":"add-custom-agent-dialog.AddCustomAgentDialog (cyclomatic 85): add-custom-agent-dialog.AddCustomAgentDialog has cyclomatic complexity 85 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 48 belong to 17 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b068a6734e00b5240f73638693b0a7bf45f0a8b9ce5b659820fcb29b786c0eed"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeRecordAccumulator::feed_value (cyclomatic 84): ClaudeRecordAccumulator::feed_value has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"732af79f59b0047dee3cdfebc5968f439abb6e40452d69cb8a62d67361205cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"task-deliver-pr-dialog.TaskDeliverPrDialog (cyclomatic 83): task-deliver-pr-dialog.TaskDeliverPrDialog has cyclomatic complexity 83 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 23 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"458aed5aefa624073c81a4c95c5585721687514185b065c01746ae6df659eeab"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::browser::smoke::execute (cyclomatic 82): codeg::browser::smoke::execute has cyclomatic complexity 82 (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":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b9d95fa073de4aa6aaa0ed34333849766d7da9355be2e6d4736c899f184fe1"}},{"ruleId":"D1","level":"warning","message":{"text":"tasks-page.TasksPage (cyclomatic 81): tasks-page.TasksPage has cyclomatic complexity 81 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 59 belong to 22 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac925e92395c50c7f7def3866af4b7111dd800018a49961294152ad8c1299938"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.buildStreamingTurnsFromLiveMessage (cyclomatic 81): conversation-runtime-store.buildStreamingTurnsFromLiveMessage has cyclomatic complexity 81 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"487c236099ce3ea35317d3bf9e86ce975c20cfae7adf7925bced83af56e9a639"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionState::apply_event_inner (cyclomatic 79): SessionState::apply_event_inner has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95bfa5574f58c0408cdd9be780a1097badbb1dd5fab5571fe5d1eb7fb7851ba"}},{"ruleId":"D1","level":"warning","message":{"text":"appearance-provider.AppearanceProvider (cyclomatic 77): appearance-provider.AppearanceProvider has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 2 of the 77 points are its own statements and the rest belongs to 30 function literals inside it that branch (lines 1039, 943, 894, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"037359fb7508552280d5f93a47e837a437b1f0deddbca238dd41340d76db7dc5"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-detail-sheet.ForgeIssueDetailSheet (cyclomatic 75): forge-issue-detail-sheet.ForgeIssueDetailSheet has cyclomatic complexity 75 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 24 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9351613c02a1137c135eaa9182dccdcb0d46a7a6002c9c5930f0ca7d64d91147"}},{"ruleId":"D1","level":"warning","message":{"text":"layout.FolderWorkspaceShell (cyclomatic 74): layout.FolderWorkspaceShell has cyclomatic complexity 74 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 52 belong to 11 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"29722524e4805cf4b1954a1014ff41175a608946ea17d4254a8b04296ed2be90"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-folder-dialog.WorkspaceFolderDialog (cyclomatic 74): workspace-folder-dialog.WorkspaceFolderDialog has cyclomatic complexity 74 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 41 belong to 19 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d52fc59b65fb773cb622510b2271a3f63884d9bbfce7c50410a6eeee913f914"}},{"ruleId":"D1","level":"warning","message":{"text":"directory-browser.DirectoryBrowser (cyclomatic 74): directory-browser.DirectoryBrowser has cyclomatic complexity 74 (threshold 15). Most of this is not in the body itself: 7 of the 74 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 473, a function literal at line 302, a function literal at line 398, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"876fa420a5a53fc077af2811da07024e4d80d793639ccd104f857925d46a4ce2"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::tauri_app::run (cyclomatic 73): codeg::tauri_app::run has cyclomatic complexity 73 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"664127fd4f831b5ca76c1294087c1caa6e32475d7ef911be5dd1c67421b5431a"}},{"ruleId":"D1","level":"warning","message":{"text":"suggestion-popup.SuggestionPopup (cyclomatic 73): suggestion-popup.SuggestionPopup has cyclomatic complexity 73 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 50 belong to 16 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec33743179c4f4357cebf57ba3b2039dd9bc9ae31b1dbb654d5abab403344d3"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf-viewer.PdfViewer (cyclomatic 72): pdf-viewer.PdfViewer has cyclomatic complexity 72 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 45 belong to 21 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a748884013685fa711fdd4c6db55487f86df477cb7b40123810f029625141c5"}},{"ruleId":"D1","level":"warning","message":{"text":"status-bar-update.StatusBarUpdate (cyclomatic 71): status-bar-update.StatusBarUpdate has cyclomatic complexity 71 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5d773eb2b3f7b932c25ca0de5b44737f0bd6cb186244182f997b18df40784b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::run_connection (cyclomatic 70): codeg::acp::connection::run_connection has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8555}}}],"partialFingerprints":{"codehealthFindingId/v1":"851c16bb90bd547e36b79a82aceb516ba341619c2d70f475e2bbc32c45118a7f"}},{"ruleId":"D1","level":"warning","message":{"text":"commit-message-settings-dialog.CommitMessageSettingsBody (cyclomatic 70): commit-message-settings-dialog.CommitMessageSettingsBody has cyclomatic complexity 70 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 36 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"33adf15a0bc647eb78c050b469db27df64cc7aa3767c8ffa7b2b8d9f36c12037"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-code-config-panel.KimiCodeConfigPanel (cyclomatic 70): kimi-code-config-panel.KimiCodeConfigPanel has cyclomatic complexity 70 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 24 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b447faf8e14815502066fd287b52a18a0bac44eb3cb2156728b3f6d10cf643"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-skills-settings.CustomSkillsBody (cyclomatic 70): custom-skills-settings.CustomSkillsBody has cyclomatic complexity 70 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 49 belong to 21 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5402f83b71e99af35114bf90b7c3e5ae80e1e8e7d94bbbb999792a4a851d099f"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::cursor::decode_tool_variant (cyclomatic 69): codeg::parsers::cursor::decode_tool_variant has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::parsers::cursor::tool_name_for_field (cyclomatic 83) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc621b6bdd6c46a2eaf0b5a7790839a651906d40a54f9a6f52f8f788c2c57461"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-surface-host.NativeSurfaceHost (cyclomatic 69): browser-surface-host.NativeSurfaceHost has cyclomatic complexity 69 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 42 belong to 12 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c894dfe5cde0549d5823f22130dac28df7e87a7c8d6f1a559d63664682d6c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-question-card.AskQuestionCard (cyclomatic 69): ask-question-card.AskQuestionCard has cyclomatic complexity 69 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 40 belong to 14 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ea842682453138d8b65de963e13ca046c546b70a338adca9c0caeb367bd4b1"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-conversation-surface.CanvasConversationSurface (cyclomatic 66): canvas-conversation-surface.CanvasConversationSurface has cyclomatic complexity 66 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 42 belong to 17 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8a762f0065fe2c46d1cf71467a2de05bd35c04ade2c4346142fcb2048e1fe"}},{"ruleId":"D1","level":"warning","message":{"text":"command-manage-dialog.CommandManageDialog (cyclomatic 66): command-manage-dialog.CommandManageDialog has cyclomatic complexity 66 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 48 belong to 22 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f818bd0ffaf2fce8e69f5cf492fc0daa6c180bf650d951bdc49fa86fa10837e"}},{"ruleId":"D1","level":"warning","message":{"text":"three-pane-merge-editor.ThreePaneMergeEditor (cyclomatic 66): three-pane-merge-editor.ThreePaneMergeEditor has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 8 of the 66 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 251, 447, 181, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dba154efd51464cb9efba8a554e7bd8dbdf77c88ba58de63d587222be837f8"}},{"ruleId":"D1","level":"warning","message":{"text":"app-workspace-store.useAppWorkspaceStore (cyclomatic 66): app-workspace-store.useAppWorkspaceStore has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 1 of the 66 points is its own statement and the rest belongs to 29 function literals inside it that branch (lines 505, 344, 416, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/app-workspace-store.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b61d38eb513cfcd820c3de0069adfbb560cf7373ceb540ad15bfe7bceaadbb0"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexParser::parse_jsonl_summary (cyclomatic 65): CodexParser::parse_jsonl_summary has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"480b0d1841680adc79eb9aef39f8d52cf8eb373ce3c543dab9c4e0883f67e5a6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::session_event_subscriber::localize_stop_reason (cyclomatic 65): codeg::chat_channel::session_event_subscriber::localize_stop_reason has cyclomatic complexity 65 (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":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"766a21fbc5635ad4523acb5c513346a04ff20db5eec82222d00043cfd0d00f81"}},{"ruleId":"D1","level":"warning","message":{"text":"use-open-file-tabs-watch.useOpenFileTabsWatch (cyclomatic 65): use-open-file-tabs-watch.useOpenFileTabsWatch has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 238, 426, 206, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd1e8a996a13ab600e0191f76561d72c8dbed86f2dcac5c6640940c918d13e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-session-feedback.useSessionFeedback (cyclomatic 65): use-session-feedback.useSessionFeedback has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 10 of the 65 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 375, 212, 272, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-session-feedback.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3af3b93808cdc5875d791b4df2f13240061153048159a5d5baad994dea18c7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-selector.AgentSelector (cyclomatic 64): agent-selector.AgentSelector has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 8 of the 64 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 165, 376, 493, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-selector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c41773ac988083f3e56d9341ea0e8597a306aa435d554aec2586dc625205db"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::session_event_subscriber::handle_acp_envelope (cyclomatic 62): codeg::chat_channel::session_event_subscriber::handle_acp_envelope has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d2446fa84273a3a3abb7b5a627cedcb1655b68afed9246781d7f90d3af0a76"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_register.validate_register (cyclomatic 62): validate_register.validate_register has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5004c57822f30cc734736f6a9bfe9643578902ed9b786b27a1a6f7bb543023"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-elements-adapter.adaptMessageTurn (cyclomatic 62): ai-elements-adapter.adaptMessageTurn has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa15063e038fbd8c75f2ba3b17769c30b5d2d2a4c13df1edf683467ac2d64e18"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E (cyclomatic 61): chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E has cyclomatic complexity 61 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6030725b69905028a3688218c074f5a1fa76825068f724e8237a1badc7946bce"}},{"ruleId":"D1","level":"warning","message":{"text":"grep-no-match.pipelineStages (cyclomatic 61): grep-no-match.pipelineStages has cyclomatic complexity 61 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grep-no-match.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208ba604d7966c5ace896b60cacd8059d3f458df7a754ac1ac3dfb8e9c4be88"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::deepseek::parse_session_events (cyclomatic 60): codeg::parsers::deepseek::parse_session_events has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7ecb6973cbdbae138af3775fee4e32063fa65d6a80e2551b99e6e795661fae"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-manage-dialog.ConversationManageDialog (cyclomatic 58): conversation-manage-dialog.ConversationManageDialog has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 15 of the 58 points are its own statements and the rest belongs to 20 function literals inside it that branch (lines 649, 999, 615, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"0503184b3353bd8885a66fb32f48df0a7e3b5e1b7509f8a6077c9d68630dd79d"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-project-trust-banner.PiProjectTrustBanner (cyclomatic 57): pi-project-trust-banner.PiProjectTrustBanner has cyclomatic complexity 57 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 25 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/pi-project-trust-banner.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3d6dd43317b393a001d3b764ef3658403a0dfe5528979bb6da5f70964215c1"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-chrome-controller.WorkspaceChromeController (cyclomatic 57): workspace-chrome-controller.WorkspaceChromeController has cyclomatic complexity 57 (threshold 15). Most of this is not in the body itself: 1 of the 57 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 211, 135, 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":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c8d2128faf25fb616004ee6c2dcdf023b4755c2a5741fae1011caceceb04cb"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-status-row.DelegationStatusRow (cyclomatic 57): delegation-status-row.DelegationStatusRow has cyclomatic complexity 57 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/delegation-status-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d961bf945bc1393808d5bd9e6fe8f550c1593752f7c761b752249a60284ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"deepseek-model-list-editor.DeepSeekModelListEditor (cyclomatic 57): deepseek-model-list-editor.DeepSeekModelListEditor has cyclomatic complexity 57 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 30 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f53784601daea0714114f68c24d073f5f9de83709b99a0fbef5080e321d9524"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-settings.ComputerSettingsSection (cyclomatic 57): computer-settings.ComputerSettingsSection has cyclomatic complexity 57 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 31 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cee453b362c2fc2c97758bef0660475391d9dfd1813cb5e9d3f7002dd2e194"}},{"ruleId":"D1","level":"warning","message":{"text":"exit-meaning.splitCommandLine (cyclomatic 57): exit-meaning.splitCommandLine has cyclomatic complexity 57 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba7cb5dc1f9ab5990b6c5673aadcfbb38ac9b8207a604bb6e461688663be266"}},{"ruleId":"D1","level":"warning","message":{"text":"actJson (cyclomatic 57): actJson has cyclomatic complexity 57 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 4 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a1d8621741d44b5297d6f7d84d28d43e11001e067eef08478ae24e8fa994e2"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-window-picker.ComputerWindowPicker (cyclomatic 56): computer-window-picker.ComputerWindowPicker has cyclomatic complexity 56 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 24 belong to 13 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4009b28c38cc3503fe7e21500835138401998645980689056b2b53fbf003c0a3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::delegation::companion::build_tools_call_spawn (cyclomatic 55): codeg::acp::delegation::companion::build_tools_call_spawn has cyclomatic complexity 55 (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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78f729d3cabb5768d0692d08ff021da35569578dbe702fd5dd085a0134849f6"}},{"ruleId":"D1","level":"warning","message":{"text":"selection-action-bubble.SelectionActionBubble (cyclomatic 54): selection-action-bubble.SelectionActionBubble has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 8 of the 54 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 147, 203, 285, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a296ebd4d51875b91ce2a78e0c19d72f1c1682fc56f251dbf90c0488a9ff006d"}},{"ruleId":"D1","level":"warning","message":{"text":"qoder-config-panel.QoderConfigPanel (cyclomatic 54): qoder-config-panel.QoderConfigPanel has cyclomatic complexity 54 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 17 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":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e9667e14d1d080ab2e20e9fc9ed1593ff8747dc4df1b3e6892b61e2ca3dde4"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-agent-matrix.SkillAgentMatrix (cyclomatic 54): skill-agent-matrix.SkillAgentMatrix has cyclomatic complexity 54 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 38 belong to 22 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"821b459e62ba2d78dbfc0b1f4f1eae93e313834fd5971ada25f65d2d864ae010"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::build_agent (cyclomatic 53): codeg::acp::connection::build_agent has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8e71834595cdc15c103721479d18112fa2fbd007b8d62f79401986d4c69a8"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-bar.TabBar (cyclomatic 53): tab-bar.TabBar has cyclomatic complexity 53 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 35 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e9eb7c7f409849600f16acb79505feab37bf79c0d781ad0786a349a3682fc"}},{"ruleId":"D1","level":"warning","message":{"text":"rich-composer.RichComposer (cyclomatic 52): rich-composer.RichComposer has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 6 of the 52 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 412, 533, 607, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddb20367484aa02cf0f7beee27e5b02460fa84df6d781550ae4780f4f9c29e9"}},{"ruleId":"D1","level":"warning","message":{"text":"virtualized-message-thread.VirtualizedMessageThreadImpl (cyclomatic 52): virtualized-message-thread.VirtualizedMessageThreadImpl has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 9 of the 52 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 437, a function literal at line 346, a function literal at line 393, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/virtualized-message-thread.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"34558fdb3fe8c959ba1a761d47d7178bb210d4bf987fd01ff8c6f19b85a1979d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::codex_catalog_commit::prepare (cyclomatic 51): codeg::acp::codex_catalog_commit::prepare has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfbb63c58876ff18e4777131892a151e380f0a502c3f878761fd97f670edf4b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::process::node_bin_dir_candidates (cyclomatic 51): codeg::process::node_bin_dir_candidates has cyclomatic complexity 51 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae0ba90bdb2dd27d0c34dee3d7cb145524e1e8212240cee94495d2335bbac2f"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.validate_rubric (cyclomatic 51): _common.validate_rubric has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9a8f6ee3c7f7eb40d5e89b2952f2b86bf4ab626c7c52f79d5cdbddd5c48bb"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-card.SidebarConversationCard (cyclomatic 51): sidebar-conversation-card.SidebarConversationCard has cyclomatic complexity 51 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"589709a0d2844d1770b289e3d0c2eacd6e932bb765c36a67e63218a1b1c5a107"}},{"ruleId":"D1","level":"warning","message":{"text":"export_plan.validate_against_plan (cyclomatic 50): export_plan.validate_against_plan has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/export_plan.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aa304c8a83899b1d905c44f27c3031cd9846beec7fc4e6d4d126ba4a69e345"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-connect-dialog.OpenCodeConnectDialog (cyclomatic 49): opencode-connect-dialog.OpenCodeConnectDialog has cyclomatic complexity 49 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 21 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"21481d14c7862db433cf7acf96324d89873d5a981093a64f0c0403485a69ab05"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.codeModeCallSite (cyclomatic 49): delegation-card.codeModeCallSite has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7ad13897383bc1574afb91a3aca272b95c214d621384e614403be190079eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-grouping.buildRows (cyclomatic 48): sidebar-conversation-grouping.buildRows has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 8 of the 48 points are its own statements and the rest belongs to 6 function items inside it that branch (pushFolderEntry, pushFolders, pushRecent, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6105b38b909f6a459c946b89ad8abf196994df16759edb42549b04a441d1f8"}},{"ruleId":"D1","level":"warning","message":{"text":"file-workspace-header.FileWorkspaceHeader (cyclomatic 48): file-workspace-header.FileWorkspaceHeader has cyclomatic complexity 48 (threshold 15). Of this number, 38 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":"src/components/files/file-workspace-header.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f6133379815e8d21baae8247637cda33cb9f488265d534b4858ea52c5aa440"}},{"ruleId":"D1","level":"warning","message":{"text":"push-workspace.PushWorkspace (cyclomatic 48): push-workspace.PushWorkspace has cyclomatic complexity 48 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 25 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"161a295b1546ebf3959ad43e06c0c99583983db585d4bd22fdf927e693f91833"}},{"ruleId":"D1","level":"warning","message":{"text":"logs-settings.LogsSettings (cyclomatic 48): logs-settings.LogsSettings has cyclomatic complexity 48 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 31 belong to 21 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6508c812a4311ba39823c0a0c492477a88e57625166a36a37ccfb2eddc2b2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-normalization.inferFromInput (cyclomatic 48): tool-call-normalization.inferFromInput has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2856cc96a4fc7c7f2af5a411dbc0b541cc920cf99b1fcb7cafd21e8c3aa850c4"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-list.FolderHeader (cyclomatic 47): sidebar-conversation-list.FolderHeader has cyclomatic complexity 47 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 13 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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e448587e1199da4f33977fa7806971d31750bb274928d47563c7a43b9dd3ad"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::win32::normalize (cyclomatic 46): codeg::parsers::codex_file_citations::win32::normalize has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd056da50c21f46de6b1da00122094e44fd7a09544d12817050cfc849525c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"use-timeline-window.useTimelineWindow (cyclomatic 46): use-timeline-window.useTimelineWindow has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 12 of the 46 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 525, 414, 486, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337ee9abfaf7731747f770c72d3c501e4e5c3fd66b2b61470cf4849b9d8ed8c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-tools-settings.AgentToolsSettingsSection (cyclomatic 46): agent-tools-settings.AgentToolsSettingsSection has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 10 of the 46 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 361, 162, 470, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56661435f65cb0cc4181d7055f63d1003e67581b973e9acb3e3d3fa44f85528"}},{"ruleId":"D1","level":"warning","message":{"text":"web-service-settings.WebServiceSettings (cyclomatic 46): web-service-settings.WebServiceSettings has cyclomatic complexity 46 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 30 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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"809abf37345f12ad507720af138d11808774b74c96a053615313c47c8dbd2f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-context.TerminalProvider (cyclomatic 46): terminal-context.TerminalProvider has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 27 function literals inside it that branch (lines 619, 419, 247, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/terminal-context.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b1c89b6cb12a4480ef1ac9cb47331d7e1704948c305c19863e197cd6832c8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::grok::parse_updates (cyclomatic 45): codeg::parsers::grok::parse_updates has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c76c1ef65f43e6d8ef0cf679cda4521a5e4bd9344b61dd0c6f35657625b3bb3"}},{"ruleId":"D1","level":"warning","message":{"text":"unified-diff-preview.parseUnifiedDiff (cyclomatic 45): unified-diff-preview.parseUnifiedDiff has cyclomatic complexity 45 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e1a44aabf69e818e46dc01b9dddbc2673ca676ae12aa91d3810c05d45b8331"}},{"ruleId":"D1","level":"warning","message":{"text":"collab-agent-row.CollabAgentRow (cyclomatic 45): collab-agent-row.CollabAgentRow has cyclomatic complexity 45 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/collab-agent-row.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c51bfcb41790b3064f9f31117021b4da869051aa42214e657b59a99004d5322"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-visualize-card.CodexVisualizeCard (cyclomatic 45): codex-visualize-card.CodexVisualizeCard has cyclomatic complexity 45 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 14 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":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce45087c6d76bc155b7baca3c99bdda1d1c4a0632c9fd931ad3983a55a438f5e"}},{"ruleId":"D1","level":"warning","message":{"text":"completed-turn-content.CompletedTurnContent (cyclomatic 45): completed-turn-content.CompletedTurnContent has cyclomatic complexity 45 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 8 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":"src/components/message/completed-turn-content.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"71264b3f1e7810640da47f8c3733e29fa6cfc8dc62d97cc0f19bb096d1fec521"}},{"ruleId":"D1","level":"warning","message":{"text":"turn-stats.TurnStats (cyclomatic 45): turn-stats.TurnStats has cyclomatic complexity 45 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/turn-stats.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cb71134ee8807c298e5c2bea6c52f3879aa2b8a2bc189cfede509cf73fc9e3"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-agent-defaults.DelegationAgentDefaultsPanel (cyclomatic 45): delegation-agent-defaults.DelegationAgentDefaultsPanel has cyclomatic complexity 45 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 29 belong to 11 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-agent-defaults.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"95087c53d5c9a0888b03a7674a9e515d140f44f13fb31dce6c69166f6fb3de94"}},{"ruleId":"D1","level":"warning","message":{"text":"summarize.summarizeActivity (cyclomatic 45): summarize.summarizeActivity has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 109). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/summarize.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1120fb89f788bf1c4011d4068fc04b1d51931cdd8f0b31cec14c7e52de019cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"layout.WorkspaceContent (cyclomatic 44): layout.WorkspaceContent has cyclomatic complexity 44 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 15 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":"src/app/workspace/layout.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e58b54af6c2c000ec979860364b4645900bc7107e1ca99faeae863778db0ae"}},{"ruleId":"D1","level":"warning","message":{"text":"console.format (cyclomatic 44): console.format has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe9dd871a769194bc4367b6da9a915e5104d235396ef9dcea78d96999128743"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-screenshot-markup.ScreenshotMarkupDialog (cyclomatic 44): browser-screenshot-markup.ScreenshotMarkupDialog has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 5 of the 44 points are its own statements and the rest belongs to 18 function items inside it that branch (onKeyDown, a function literal at line 131, onPointerDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-screenshot-markup.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d19c0e206c3c4982f513043f699ffa6d361fa52b1d5c2bf2f19f1454048e4"}},{"ruleId":"D1","level":"warning","message":{"text":"office-preview.OfficePreview (cyclomatic 44): office-preview.OfficePreview has cyclomatic complexity 44 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 26 belong to 12 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/office-preview.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dec7517058b2b31c5246eed43c37affa638d8db586f853065c2e059b7b42a47"}},{"ruleId":"D1","level":"warning","message":{"text":"task-editor-dialog.TaskEditorBody (cyclomatic 44): task-editor-dialog.TaskEditorBody has cyclomatic complexity 44 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 24 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506bce9c7d9c6c10573300e67262ac33298952c9501d82f321219d96989239d"}},{"ruleId":"D1","level":"warning","message":{"text":"git-credential-context.GitCredentialProvider (cyclomatic 44): git-credential-context.GitCredentialProvider has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 15 of the 44 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 340, 260, 463, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/git-credential-context.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dab730d97f0c4ccf454a6da21f4c4530e5b419de1b199b7f6ed1ac690f6121d"}},{"ruleId":"D1","level":"warning","message":{"text":"use-connection-lifecycle.useConnectionLifecycle (cyclomatic 44): use-connection-lifecycle.useConnectionLifecycle has cyclomatic complexity 44 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 28 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a963e62fdabe48823fd783d653f017c3626db92d56b704e9280a9ed7e56f85"}},{"ruleId":"D1","level":"warning","message":{"text":"describe-tool-call.toolStepKind (cyclomatic 44): describe-tool-call.toolStepKind has cyclomatic complexity 44 (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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa61385cbbada478faa29ecf4c3d02b92d70c991b038ad63e8233e2cb81c3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"permission-dialog.PermissionDialog (cyclomatic 43): permission-dialog.PermissionDialog has cyclomatic complexity 43 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cd672a9f320a4c884c1faab27dba370db189954664ae52cc61dccc937c7e76"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg-mcp-tool-card.CodegMcpToolCard (cyclomatic 43): codeg-mcp-tool-card.CodegMcpToolCard has cyclomatic complexity 43 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"94849543cded32ac8e4a494aeb5778d7c3fe3c9c1b4e7232c597628779596e8e"}},{"ruleId":"D1","level":"warning","message":{"text":"live-tool-output.isJsonContainerPrefix (cyclomatic 43): live-tool-output.isJsonContainerPrefix has cyclomatic complexity 43 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/live-tool-output.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68620f19f85100e24ae4644bdb921599a2f55b1f2ed7710b2be8191d6a2d53c"}},{"ruleId":"D1","level":"warning","message":{"text":"act.defaultActionFor (cyclomatic 42): act.defaultActionFor 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":"browser-agent/src/act.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce4f63a8c9edfb1c6f12dc57a8ab4f7d5194df6de5fded78e4ce576c47ea66e"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList::renderRow (cyclomatic 42): sidebar-conversation-list.SidebarConversationList::renderRow 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. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList, sidebar-conversation-list.SidebarConversationList::folderHeaderElement) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e0ac4e77b485ac46ef39ddaed24fbe04defbca7a2422950f7f99d5c85270d"}},{"ruleId":"D1","level":"warning","message":{"text":"file-workspace-tab-bar.FileWorkspaceTabItem (cyclomatic 42): file-workspace-tab-bar.FileWorkspaceTabItem has cyclomatic complexity 42 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d9c01b842e330a6b527c774cb21f79f35723c960b12966a6954897ac7c63e1"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-manage-dialog.RemoteWorkspaceManageDialog (cyclomatic 42): remote-workspace-manage-dialog.RemoteWorkspaceManageDialog has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 15 of the 42 points are its own statements and the rest belongs to 20 function literals inside it that branch (lines 190, 328, 358, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c608a92f6cdb1d9e27313381e8a9642c79f51f0ff5870d7646f5869b336c6e53"}},{"ruleId":"D1","level":"warning","message":{"text":"describe-tool-call.describeUncached (cyclomatic 42): describe-tool-call.describeUncached has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b852cc3d02157c74cc20816bd83209c2e8236386a905e066bb01d824af053b0"}},{"ruleId":"D1","level":"warning","message":{"text":"task-detail-sheet.timelineDetail (cyclomatic 41): task-detail-sheet.timelineDetail has cyclomatic complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"310dc42ccda49e477ec38a34d46bca1d684331e2ed4f824039e3dcff92644a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"power._resolve (cyclomatic 40): power._resolve has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/statistical-power/scripts/power.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc63e73031f4b98eead3c55f0bad0e1247529e3e4fc7dd55db594af2fea910e"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-context-usage.ComposerContextUsage (cyclomatic 40): composer-context-usage.ComposerContextUsage has cyclomatic complexity 40 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 6 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":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"812f9a0d3088d6e42832b3607a2e53596ac6295c1f518cedf0b68fccb6df95e5"}},{"ruleId":"D1","level":"warning","message":{"text":"session-details-content.SessionDetailsContent (cyclomatic 40): session-details-content.SessionDetailsContent has cyclomatic complexity 40 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fc951fc198d984416cfb13076ad2a876b29c508798c79118fd11b5280903ae"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-catalog-source.CodexCatalogStatusLine (cyclomatic 40): codex-catalog-source.CodexCatalogStatusLine has cyclomatic complexity 40 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 6 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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"afece2e2b52d645bdf139517ff643fad147b1acbeead7c38fd70956a831cc647"}},{"ruleId":"D1","level":"warning","message":{"text":"task-settings-dialog.TaskSettingsBody (cyclomatic 40): task-settings-dialog.TaskSettingsBody has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 9 of the 40 points are its own statements and the rest belongs to 10 function items inside it that branch (save, a function literal at line 254, a function literal at line 600, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e450febf4f5bc0524c141c6c2b1125f3150af8c947445c0477dd78fbdafed167"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.templateLiteralTextEnd (cyclomatic 40): delegation-card.templateLiteralTextEnd has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"729079d19b20aa2864dad76c68d89b36ea13355e617af40b382922192dfd1f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegationListener::serve_one (cyclomatic 39): DelegationListener::serve_one has cyclomatic complexity 39 (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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9457f1b9910ce0cdd3cd49b57c0afbd185f85f0726182e35ce7dca8d87c5ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"automations-page.AutomationsPage (cyclomatic 39): automations-page.AutomationsPage has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 15 of the 39 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 286, a function literal at line 333, a function literal at line 243, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2556668f6346a811c768599a46c17f28c0b95249789db31304a292d8bbf6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"search-command-dialog.SearchCommandDialog (cyclomatic 39): search-command-dialog.SearchCommandDialog has cyclomatic complexity 39 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 14 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":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff0cc085237925bd5676a63ea1111869b284d7ff43180ab2b392387bec31cce"}},{"ruleId":"D1","level":"warning","message":{"text":"command-dropdown.CommandDropdown (cyclomatic 39): command-dropdown.CommandDropdown has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 8 of the 39 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 198, 152, 134, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde79bfaf0a3f4bc3c9ffc5e4c8442b383220f509b44c9fde273b2d0938e272c"}},{"ruleId":"D1","level":"warning","message":{"text":"task-card.TaskCard (cyclomatic 39): task-card.TaskCard has cyclomatic complexity 39 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-card.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"174a47e2192579b6ed132ab398b802de6f45cfeecfb7397dbd9f3adcd2b20179"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-model.deriveFlowGraph (cyclomatic 38): canvas-model.deriveFlowGraph has cyclomatic complexity 38 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b209b2698505e873ee38b0662e598dbc4834edabd2010c0c8f99b7ac428b17"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-config-panel.HeadlessSignIn (cyclomatic 38): antigravity-config-panel.HeadlessSignIn has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 15 of the 38 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 365, 317, 493, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89d47b483eae5f66f695625ac4129dde182a6670a3ce5d896c4bef7d66a08f0"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-config-panel.AntigravityConfigPanel (cyclomatic 38): antigravity-config-panel.AntigravityConfigPanel has cyclomatic complexity 38 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 15 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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ec707b103133dac5e1c641a9f5385fc81b32144947b979caebb525262c697"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-manager-section.PetManagerSection (cyclomatic 38): pet-manager-section.PetManagerSection has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 8 of the 38 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 87, 283, 107, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc983ccd142e89a4378809c213335353e3562d6feeec4eafb51038b0414b3bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"quick-messages-settings.QuickMessagesSettings (cyclomatic 38): quick-messages-settings.QuickMessagesSettings has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 13 of the 38 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 430, 200, 215, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bad5b08677d646ecc281b93f118aad8deedb5e97e9e5473be78cd8c4a7ee81"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.applyRemoteSnapshot (cyclomatic 38): tab-store.applyRemoteSnapshot has cyclomatic complexity 38 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 9 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":"src/stores/tab-store.ts"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b601c220cb6b2d21e43bd7600c81781ebe38bda091fafe88c7e91a87cb54338"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_review_intake.validate_intake (cyclomatic 37): validate_review_intake.validate_intake has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/validate_review_intake.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6146fb30d1f70099f52ff95889bf0d593701b474896341ef37bb052cd9420a9"}},{"ruleId":"D1","level":"warning","message":{"text":"region-node.RegionNode (cyclomatic 37): region-node.RegionNode has cyclomatic complexity 37 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec11114cd73a1e680a8bf6568097955f96f4794749b8c3dcde13ac337321124"}},{"ruleId":"D1","level":"warning","message":{"text":"doc-guest-preview.DocGuestPreview (cyclomatic 37): doc-guest-preview.DocGuestPreview has cyclomatic complexity 37 (threshold 15). Of this number, 30 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":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5890ef547d8af2b024c17034271da53ca4f6f60b9fca3b9b6323e923e20756"}},{"ruleId":"D1","level":"warning","message":{"text":"step-visuals.toolIcon (cyclomatic 37): step-visuals.toolIcon has cyclomatic complexity 37 (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":"src/components/message/activity/step-visuals.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eed4b95a567e3fbdfe295842133b22af2bd82ce913f5b90c918ae283f4e49b"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-settings.StopShortcutRow (cyclomatic 37): computer-settings.StopShortcutRow has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4c2febe157df548127b0dfda11ae646a6bd750d3286f630d671fcc2fe4dadc"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-permissions.globCovers (cyclomatic 37): opencode-permissions.globCovers has cyclomatic complexity 37 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-permissions.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b8307bd071762d2e458730b80f51f209d3c49308d434215f3e855c9b76fe32"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex::parse_codex_subagent_stats (cyclomatic 36): codeg::parsers::codex::parse_codex_subagent_stats has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ca75c592e7b9fcb3dc26003d889600ef7945950ce100460a816a009dc7333"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-connection-status.ComposerConnectionStatus (cyclomatic 36): composer-connection-status.ComposerConnectionStatus has cyclomatic complexity 36 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 5 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":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e657bc0383c6495faea524524c67d91b165f5b0beb86f6d1bd3e02da5df8ea"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-settings-dialog.ForgeSettingsScope (cyclomatic 36): forge-settings-dialog.ForgeSettingsScope has cyclomatic complexity 36 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"81445bd719b8d33a1173da4a3446d44b351e46bf49b9f336a57552c89367d843"}},{"ruleId":"D1","level":"warning","message":{"text":"status-bar-mcp.StatusBarMcp (cyclomatic 36): status-bar-mcp.StatusBarMcp has cyclomatic complexity 36 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 14 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":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a57269b6b2c83ac3dc456bbc11ebef95138bd9921054852c4c1a56fbfdc7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"merge-workspace.MergeWorkspace (cyclomatic 36): merge-workspace.MergeWorkspace has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b592859d9908f659f2da1dce422b19b3678c94a021df517e3f7777aa4d2a8632"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-timeline.ActivityTimeline (cyclomatic 36): activity-timeline.ActivityTimeline has cyclomatic complexity 36 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0728351d236fb35fb1f5a1cb772299201ba1ef199e66ca2a335a96cb1de7c95"}},{"ruleId":"D1","level":"warning","message":{"text":"version-control-settings.VersionControlSettings (cyclomatic 36): version-control-settings.VersionControlSettings has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 301, 366, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b91b9a6daec93c2fa3b6f7ddd8ae5b40e06b3f87ded922ac57c06b4518242e9"}},{"ruleId":"D1","level":"warning","message":{"text":"build-activity.collectSteps (cyclomatic 36): build-activity.collectSteps has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 261, note). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b5f12dcf82c4cf0ec7c91a18c2e772ff7283cc08a79ec0a55414139d6db31b"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.computeTimelinePrefix (cyclomatic 36): conversation-runtime-store.computeTimelinePrefix has cyclomatic complexity 36 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 5 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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3914}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ee37a289450eed9a77ecbe660e007d8284f61ade51c8c9b2ce2effbefc730c"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-tags-store.useConversationTagsStore (cyclomatic 36): conversation-tags-store.useConversationTagsStore has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 170, 271, 217, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-tags-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3b2c33f020360f56468d0cf388807b59fff238898a7117ba81609f7f28a01"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionManager::send_prompt_linked_full (cyclomatic 35): ConnectionManager::send_prompt_linked_full 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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"766179779ece00630823f23a4904c51d7b993c221a671a6e84c45f8cebad452f"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEngine::launch (cyclomatic 35): TaskEngine::launch 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"35edb949fbc04b9d5a72666cfc88bbe4f94254205ec1b3c729c6e6653e02355b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::deepseek_settings::splice_models (cyclomatic 35): codeg::commands::deepseek_settings::splice_models 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":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b50fce4e655e0e488c0d20a8640f103159b39d2e6d2500bc3b63ceebc2b2b7"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::helper::act::act_error (cyclomatic 35): codeg::computer::helper::act::act_error has cyclomatic complexity 35 (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":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf86a527204b7d58e40111a08a6100aa1e1fced360a5f03faaa83abbac6f15af"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::scan_body (cyclomatic 35): codeg::parsers::codex_code_mode::scan_body 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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c24dcee4e761c498634d81dc9630378fdd33dc16faee18b940241e8e1ada468"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::parse_citation_with (cyclomatic 35): codeg::parsers::codex_file_citations::parse_citation_with 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":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69030173d72d782b11eb9da4ae83fcfd0df4bd8ceed39908055c893c38d823e"}},{"ruleId":"D1","level":"warning","message":{"text":"image_metadata.screen_metadata (cyclomatic 35): image_metadata.screen_metadata 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":"src-tauri/science/skills/scientific-visualization/scripts/image_metadata.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b4e4c06e0febfdb30eedcd40e09c7235a304f3c0a066709302109a78aa47a5"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-file-tree-tab.RenderNode (cyclomatic 35): aux-panel-file-tree-tab.RenderNode has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"755fca99dda8a84bd144ca5f70d61da03680eca1213416be943903041f39c625"}},{"ruleId":"D1","level":"warning","message":{"text":"command-rows.CommandDetail (cyclomatic 35): command-rows.CommandDetail has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc18a3b520a04ae065a7677c109c16baa4e6f570f411e3c8e339b75211423c"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.buildVersionCheck (cyclomatic 35): acp-agent-settings.buildVersionCheck 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ec5d08bcd0cbc0720e2cf19d72ca26ac47b250106a1261099ee7d5c337c98"}},{"ruleId":"D1","level":"warning","message":{"text":"general-settings.GeneralSettings (cyclomatic 35): general-settings.GeneralSettings has cyclomatic complexity 35 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 19 belong to 9 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c630d8699400d999f61fe36f344914cc8e5896818a00ae154e5161ad8b67a6"}},{"ruleId":"D1","level":"warning","message":{"text":"html-preview-inline.inlineHtmlResources (cyclomatic 35): html-preview-inline.inlineHtmlResources has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 9 function items inside it that branch (stripActiveAttributes, a function literal at line 672, a function literal at line 644, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f709051a99cd58de2ac36614454701a89937390af7312238111a6727e7014d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::delegation::companion::computer_act_request (cyclomatic 34): codeg::acp::delegation::companion::computer_act_request has cyclomatic complexity 34 (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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2ba13c357c7c1f284a04261f06e0ec960da079e5fec93f961f9197a0a2ab8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::agent_turn_files::extract::scan_command (cyclomatic 34): codeg::agent_turn_files::extract::scan_command has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e4f515f141092ebcc4c38290ebf053820ba6a9ccd439a99861560ed727abaa"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::qoder::parse_transcript (cyclomatic 34): codeg::parsers::qoder::parse_transcript has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2f561cab850c06daafb9393a9e3d4a44caa7a55b11490be418fbc09ad56462"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_hypothesis_schema.validate_record (cyclomatic 34): validate_hypothesis_schema.validate_record 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":"src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e6d861505ea4b57aaf07cd5c6d606c259b5fcf3d192a4d7eccf441d058a19"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-toolbar.BrowserToolbar (cyclomatic 34): browser-toolbar.BrowserToolbar has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (submit, a function literal at line 388, onKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24680367d6dfc99b46bfcf5d2ed44f9b26cffee22e8f4778ccd41a7f8bf2323"}},{"ruleId":"D1","level":"warning","message":{"text":"status-bar-computer.ComputerPopover (cyclomatic 34): status-bar-computer.ComputerPopover has cyclomatic complexity 34 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 13 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c09994325e9ba70f488da00f4fe503d83a9f54048ad54f1667d9c7c1381a3"}},{"ruleId":"D1","level":"warning","message":{"text":"generic-row.GenericRow (cyclomatic 34): generic-row.GenericRow has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 86, 195, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9c0e0a25768f9f69f590bea0139179c21c69afe01b813f086d0a5cb7459f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"branch-picker.BranchPicker (cyclomatic 34): branch-picker.BranchPicker has cyclomatic complexity 34 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/branch-picker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"696c79ce18d6ca278ed6c5ec677ed26b75a4cb34cb0d4e64d7d32c413c58973c"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.applyGroupInvariants (cyclomatic 34): tab-store.applyGroupInvariants has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"371ae68a80990a033b121872fec42ae222a8c8249841abf9e9e7ea16f12c01e4"}},{"ruleId":"D1","level":"warning","message":{"text":"LockedHome::commit (cyclomatic 33): LockedHome::commit has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6604979132282d8f9e65544a0c4e87871f415662b28ba2d66ecf985919eedaf"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::acp_list_agents_core (cyclomatic 33): codeg::commands::acp::acp_list_agents_core has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc10eebab4f05e424f6598363561f26a309330f8f80ce909cab4f2ed2fb3b5a0"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::helper::handle_op (cyclomatic 33): codeg::computer::helper::handle_op has cyclomatic complexity 33 (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":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"434e92fb545d2e9186cb2250904391afbacb5011bbc8aea9b5edb2e00c810f87"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::kimi_code::parse_wire (cyclomatic 33): codeg::parsers::kimi_code::parse_wire has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7e3f7ed9e37ca7989cb67ced53292b395f7e1d78325bdf50e1099756cdb126"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-indicator.ComputerIndicator (cyclomatic 33): computer-indicator.ComputerIndicator has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 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":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"580cd797665ffddb6bdb6a68a415383b0b4a5a0fb6a9039a198af44be4a87df9"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-detail-header.ConversationDetailHeader (cyclomatic 33): conversation-detail-header.ConversationDetailHeader has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 200, 174, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2955f3bece2530ef849188c4d80339be7f7316ee27da1a5dbfcb990e61ff3b38"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.buildAgentDraft (cyclomatic 33): acp-agent-settings.buildAgentDraft has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3907}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d97bd356dbaf24626d2869ff72d4bcb103b0411d078531eb63b458cf8d1aa"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-permissions-section.OpenCodePermissionsSection (cyclomatic 33): opencode-permissions-section.OpenCodePermissionsSection has cyclomatic complexity 33 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 11 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6c648cc1399de7d41e69a7e12f1f63ec6bcb84929f92f3b6e2901b11511131"}},{"ruleId":"D1","level":"warning","message":{"text":"edit.describeEditFiles (cyclomatic 33): edit.describeEditFiles has cyclomatic complexity 33 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d666842597163184a695ad3fb68a0e8818901b2362f0aeaaaba59aa1990af"}},{"ruleId":"D1","level":"warning","message":{"text":"WeixinBackend::start (cyclomatic 32): WeixinBackend::start has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae6715844a184e0d41563d780e46916e272e0a9b62d4c7f2474003676a693a3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_call_site (cyclomatic 32): codeg::acp::lifecycle::code_mode_call_site has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"631ad8ae34d797607252b5a40f0842a9b476f66cf044730c354d183f576b952f"}},{"ruleId":"D1","level":"warning","message":{"text":"CitationValidator.validate_file (cyclomatic 32): CitationValidator.validate_file has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"97496247102ee6034bb2992abdadc6a15f698c56359e114d58d8ba10d481dcd3"}},{"ruleId":"D1","level":"warning","message":{"text":"figure_export.export_figure (cyclomatic 32): figure_export.export_figure has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88c6d96f8c75a6fe3cf509acf88ffb4d6fb8f33c2ee96e6bdd9d744ff0cae5"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-device-stage.BrowserDeviceStage (cyclomatic 32): browser-device-stage.BrowserDeviceStage has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 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":"src/components/browser/browser-device-stage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84657bdb629f70e608dcf906d47380f324b64d9ec03c28089d46aadb7f9b79"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-header.ActivityHeader (cyclomatic 32): activity-header.ActivityHeader has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8a3110cb816b57cc98a0e28112d593dcb923665695536a1836ec476ae1da4"}},{"ruleId":"D1","level":"warning","message":{"text":"channel-list-tab.ChannelListTab (cyclomatic 32): channel-list-tab.ChannelListTab has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 7 of the 32 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 248, 115, 131, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0d26af5ff92541d0848c0528020eb377f74a6ca3a8476f6734902eb225b825"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-settings.DelegationSettingsSection (cyclomatic 32): delegation-settings.DelegationSettingsSection has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 11 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d33c81c84c66cff094743826b55a30ffddb19c8c90fddb43bd44d5180146030"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-model-provider-dialog.EditModelProviderDialog (cyclomatic 32): edit-model-provider-dialog.EditModelProviderDialog has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 147, 77, 111, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6af8d31a530e0454c044bf5d477da45554418de3859640c3fcdb0bb3a672cac"}},{"ruleId":"D1","level":"warning","message":{"text":"server-file-browser-dialog.ServerFileBrowserDialog (cyclomatic 32): server-file-browser-dialog.ServerFileBrowserDialog has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 225, a function literal at line 187, renderEntries, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/server-file-browser-dialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9a7099976df87b75a6655a480c7e7b04b5e6151b86859cb9a448b38f43048c"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchState::account (cyclomatic 31): WatchState::account has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6bade4ba708eaf38bf160026f307ae7be658e1a399c3c4ce776ff9eae079b0"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::remote_proxy::run_ws_connection (cyclomatic 31): codeg::commands::remote_proxy::run_ws_connection has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f88c463dce3e79b983e5939e2ad4e2720c9abb572214c10c3f02f9dcb80b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::infer_context_window_max_tokens (cyclomatic 31): codeg::parsers::infer_context_window_max_tokens has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"3418d6e1d9fc77c8d0a75fe7a330282841b3393944b6e64c6cfddf57c537ef01"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::claude::parse_subagent_tool_calls (cyclomatic 31): codeg::parsers::claude::parse_subagent_tool_calls has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4582a7dbddcc098941829b910597149d9ddcbd4d8f0d0e6cd2c98e2d92b70442"}},{"ruleId":"D1","level":"warning","message":{"text":"usePetDrag.usePetDrag (cyclomatic 31): usePetDrag.usePetDrag has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 130, 97, 182, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetDrag.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb9105ef1a82a423a0baef90db4b9c61377ca38f946fbe6ffe20734a7bf326"}},{"ruleId":"D1","level":"warning","message":{"text":"message-thread.EscapeLockOnUserScroll (cyclomatic 31): message-thread.EscapeLockOnUserScroll has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 199, 176, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d5eeba13d009530ab1e8e8c8f7e8815ae5899b6ea8708e5e09981173626698"}},{"ruleId":"D1","level":"warning","message":{"text":"file-viewer-drawer.FileViewerBody (cyclomatic 31): file-viewer-drawer.FileViewerBody has cyclomatic complexity 31 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 15 belong to 9 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bc6775718fb50096c8c76e73b82360a136fe4af2953ec51cdd10d0302150d5"}},{"ruleId":"D1","level":"warning","message":{"text":"status-bar-web-service.StatusBarWebService (cyclomatic 31): status-bar-web-service.StatusBarWebService has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-web-service.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"55482cb4d0b2bc9835631c984728b235f1e9039230990b27bcaff95c5cc0fdcd"}},{"ruleId":"D1","level":"warning","message":{"text":"goal-tool-call.GoalCard (cyclomatic 31): goal-tool-call.GoalCard has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1410105e55b76457d3bcb940de3be31030ed8619e53b45a2bc55735463e993f"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.extractCodexTomlImportantValues (cyclomatic 31): acp-agent-settings.extractCodexTomlImportantValues has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf15f0e5dd7d678e5d1ed50810e7bebc09c9e2f79b5c53e4070c29f46e0de1"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant-editor-dialog.AssistantEditorBody (cyclomatic 31): assistant-editor-dialog.AssistantEditorBody has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (assistant-editor-dialog.AssistantEditorBody::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":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e42b87bd2874a7d3548ba736cd566ef4f450ceb47eccdbfc40f709d07cba1d"}},{"ruleId":"D1","level":"warning","message":{"text":"office-tools-settings.OfficeToolsBody (cyclomatic 31): office-tools-settings.OfficeToolsBody has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 242, 262, 283, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"139c162b8a70a1c223ebf93ccf2cb9bd5320502e9ef2b7fb855550fee762bb6f"}},{"ruleId":"D1","level":"warning","message":{"text":"cron-humanize.describeCron (cyclomatic 31): cron-humanize.describeCron has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cron-humanize.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dc5802030a6ce4e73b25b588bd6709556f52764d3865dcf46f3e636bc96b41"}},{"ruleId":"D1","level":"warning","message":{"text":"lint_causal_claims.lint (cyclomatic 30): lint_causal_claims.lint has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/lint_causal_claims.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc0677eebad842fa95b4e0199e68e2b20582c9dd568c0bd01ca2c60fc2780e7"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.validate_evaluation (cyclomatic 30): _common.validate_evaluation has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221b7e5d04e2aa667c6d7e987095ea0d4440d0f455a7fc844df0b9ea70813ee"}},{"ruleId":"D1","level":"warning","message":{"text":"html-code-preview.HtmlCodePreview (cyclomatic 30): html-code-preview.HtmlCodePreview has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 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":"src/components/ai-elements/html-code-preview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad497e668de0527ee5afd7f57d86d61378ff7d68267353698f557efa1682767"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-width-handles.WidthHandle (cyclomatic 30): chat-width-handles.WidthHandle has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 247, 197, 284, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/chat-width-handles.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23bb7852da47566f51b0c0ca962dc6c2f447a4788fdcd24b7598be9759ba325"}},{"ruleId":"D1","level":"warning","message":{"text":"image-preview.ImagePreview (cyclomatic 30): image-preview.ImagePreview has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 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":"src/components/files/image-preview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d0727a60844d01d91244948db76a3ba3f88df46aaa9845ecab852beb5c2b8"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-git-log-tab.AuthorFilter (cyclomatic 30): aux-panel-git-log-tab.AuthorFilter has cyclomatic complexity 30 (threshold 15). Of this number, 25 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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fbf1dbba39110b332ad0cef3fc8f114221e5f6878523d5d0a6059136502d9b"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-marketplace-dialog.PetMarketplaceDialog (cyclomatic 30): pet-marketplace-dialog.PetMarketplaceDialog has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 110, 185, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"20858f4ac775854ebbee8e635a6096464b341fe119e5bf92e2af7b1d9925e647"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-model-list-editor.CodexCustomRow (cyclomatic 30): codex-model-list-editor.CodexCustomRow has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4a8e80dec1a511cca90c3859e064981e432a3a04bd4bf1a453f4295cb8cbce"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-item.TabItem (cyclomatic 30): tab-item.TabItem has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 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":"src/components/tabs/tab-item.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a173a2c5aa766e4fa7929ac3aed9619aa72c402aef7b1fc6ec1743d879048b8"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-html-markdown.htmlEnd (cyclomatic 30): chat-html-markdown.htmlEnd has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623cd51457dd5a1e25c376ebcb3fc800e81f6ae2ff5838abb8b62819806f4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.parseToolOutput (cyclomatic 30): delegation-card.parseToolOutput has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770c0236beca9c2449773ef32bcf1b1b18446954cae770a781258d6070aa3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"session-files.computeLineDiff (cyclomatic 30): session-files.computeLineDiff has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4cf2e20dd561c86fa0f0e86bd2e22dcc890b90e4c2239e0e8dbb929bd692a"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegationBroker::start_delegation_inner (cyclomatic 29): DelegationBroker::start_delegation_inner has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e535abc396f317331b85b4d65c892cf902c59ee2559b7586f75b713d7773a16"}},{"ruleId":"D1","level":"warning","message":{"text":"LarkBackend::start_ws_receiver (cyclomatic 29): LarkBackend::start_ws_receiver has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"342abb4eee4d6da8f2ec742d59cb428a79b5c806bb2fff9db1baf2537fbf9d95"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::template_literal_text_end (cyclomatic 29): codeg::acp::lifecycle::template_literal_text_end has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47ede5b0cb71714b483cf75be12d8b2ba975c687972630c184be5f4f7ca73a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::question::parse_form_questions (cyclomatic 29): codeg::acp::question::parse_form_questions has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdcc53063025df3440f1fb32b2023ce9d2731fd79944fa5c18076c4c1740437"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::browser::channel::handle_message (cyclomatic 29): codeg::browser::channel::handle_message has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/channel.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c40666b9e2f561e04ba1d6c16ee0e58d171e52740f42ca931eb38a99983ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::browser::shim::windows::on_event (cyclomatic 29): codeg::browser::shim::windows::on_event has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf22e7f2887ccf8a216b8caae097984cf44040f5ce410cfd19104f9910bb77"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::build_report (cyclomatic 29): codeg::commands::acp::build_report has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9702a046a6675156cd13f8d050386ae0251af4781cf6ba84354dec7d5f41603d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::antigravity::project_steps (cyclomatic 29): codeg::parsers::antigravity::project_steps has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1ff3f10089374c1c1d0875ad5e8c3f52ccdb5150600e53a1c46a3348bb7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::antigravity::step_outcome (cyclomatic 29): codeg::parsers::antigravity::step_outcome has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77c24aef9473ffb0f3be49fa75c190a6291c22577a26917eea68b1724f5091a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::workspace_state::flush_watch_batch (cyclomatic 29): codeg::workspace_state::flush_watch_batch has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e84c9ac9ae0de884f5d7e7a71697b5a0e3ebcd0be084e5da5a5f9334850312"}},{"ruleId":"D1","level":"warning","message":{"text":"lint_review.lint (cyclomatic 29): lint_review.lint has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/lint_review.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ad0e07cc2262a544c69bd35a43a00e297b6767f8eb232eb81e6620f56ce174"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-events-bridge.BrowserEventsBridge (cyclomatic 29): browser-events-bridge.BrowserEventsBridge has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 170, 206, 301, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-events-bridge.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f89acedfbb5856227cfec3012842d58e97cfeef98959e974fa71e2e6d3802"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-page-handoff.BrowserSendToChatControl (cyclomatic 29): browser-page-handoff.BrowserSendToChatControl has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 118, 104, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-page-handoff.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f743643b0e8b914d4b3c8c504e5a8ce2c34984ca94c34aa38e9b07e00317b074"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel.AuxPanel (cyclomatic 29): aux-panel.AuxPanel has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8183aa728292f997ece65e40bdc609feb830b0d0fb98848eb7e5e55b1029aed0"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-rows.DelegationStepRow (cyclomatic 29): delegation-rows.DelegationStepRow has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/delegation-rows.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d655a41acea5cfcd4e25bbf0fc0698dfda9ad125be0d70455f7a52c3f438ec8"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-connections-context.sameConfigOptions (cyclomatic 29): acp-connections-context.sameConfigOptions has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b870d191c3d55916fbe62e0d5bfe821db903e6dc8fdb8a2b22918a71be1563e2"}},{"ruleId":"D1","level":"warning","message":{"text":"edit.editDiffText (cyclomatic 29): edit.editDiffText has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb46342d891a66631a71604937fdcde10f136c176e83911965f2cb5b5b8f819"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegationBroker::resume_with_context (cyclomatic 28): DelegationBroker::resume_with_context has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b20a92d03575059ccdc77f25980ae34db8a5636eb369ca1922d0ed7e23ebf2f"}},{"ruleId":"D1","level":"warning","message":{"text":"CliRunService::launch_steps (cyclomatic 28): CliRunService::launch_steps has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a68cff4026aeee5459a65688d9f0ee30bc8f15e8b30c3503ec51db49256a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::bin::codeg_server::async_main (cyclomatic 28): codeg::bin::codeg_server::async_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":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a37a3ab860809114843a6f147969ff92b6101a7ceb73bcd24e4fa9744890165"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::opencode::normalize_tool_call (cyclomatic 28): codeg::parsers::opencode::normalize_tool_call has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a2763edb96332c3f61000054c92a5bc3cffde687477e29e441e5d5be096852"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::workspace_state::start_workspace_state_stream_core (cyclomatic 28): codeg::workspace_state::start_workspace_state_stream_core 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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed40bb86d88d6dd2acb65708ee6c3973040064f06b6ee730f6aebc88a1cdf7b0"}},{"ruleId":"D1","level":"warning","message":{"text":"PetWindow.PetWindow (cyclomatic 28): PetWindow.PetWindow has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 214, a function literal at line 156, a function literal at line 160, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"43296b7bd5a31a342aef3727edf1f1ee7d753ed556f1ab29ab60ba2a64517217"}},{"ruleId":"D1","level":"warning","message":{"text":"model-option-list.ModelOptionList (cyclomatic 28): model-option-list.ModelOptionList has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 157, 293, 219, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de5bbe1942585826cc5664a1be978cd3cb3f2ed045265414523e5f9fae992e7"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-section-header.SidebarSectionHeader (cyclomatic 28): sidebar-section-header.SidebarSectionHeader has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-section-header.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de25f61c09ba7d81734396ecfda88004ab894eed1ae44307a5554925d299e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar.Sidebar (cyclomatic 28): sidebar.Sidebar has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 12 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411e8f7527011b0413a388c45fe31ff165e4ee2acccbb606345699f90314a35"}},{"ruleId":"D1","level":"warning","message":{"text":"use-rail-growth.useRailGrowth (cyclomatic 28): use-rail-growth.useRailGrowth has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 103, 74, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-rail-growth.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5118f54947479d09a51e6bebe0f7539b10e1753990ada8575e71e1a1fedd4a"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperframes-launcher.HyperframesLauncher (cyclomatic 28): hyperframes-launcher.HyperframesLauncher has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a09071d8396754ded37bd09c57e63e85b61b4fc71f8dfd3822c8f58f2fe0b50"}},{"ruleId":"D1","level":"warning","message":{"text":"channel-events-tab.ChannelEventsTab (cyclomatic 28): channel-events-tab.ChannelEventsTab has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 346, 241, 289, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"816383be8248f2f6c2f3b1a7f591ff4601686a193a436b4eb703ab8e1afc004c"}},{"ruleId":"D1","level":"warning","message":{"text":"file-tab-id.parseFileTabId (cyclomatic 28): file-tab-id.parseFileTabId has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tab-id.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"392e9081555427eee923bac0a9efcb44fddf5ed0362d554cc9fc144b015a8992"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchState::tick (cyclomatic 27): WatchState::tick has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"158d40f477ffdf00fe4be8c511c58680e719811a08fc6535ddcc71a8a7e38dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBuddyParser::parse_detail (cyclomatic 27): CodeBuddyParser::parse_detail has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbc370787a80aca5e1805b9cf0b7357c2d639c78d05b146803d5986ffae0cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeParser::load_v2_messages (cyclomatic 27): OpenCodeParser::load_v2_messages has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5da34ea6b9c31888603b265c4d99e7402e3a9d2d0bd0f86352fe7ca6682de"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::acp_update_agent_config_core (cyclomatic 27): codeg::commands::acp::acp_update_agent_config_core has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f205aaad1b90bf4b5cd4e8011bdac317078421881a54d81c45a44a2122e7daf8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::kiro::canonical_tool (cyclomatic 27): codeg::parsers::kiro::canonical_tool has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26301e4279c9bc0ce994838282a958fa062bceca98fc9d81bc82d7899e4925e"}},{"ruleId":"D1","level":"warning","message":{"text":"conflict-dialog.ConflictDialog (cyclomatic 27): conflict-dialog.ConflictDialog has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 61, a function literal at line 127, handleAbort, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c164da7f3e9d84e1c5ec85b1a66d024800acd678cd349477dfcd3d8770afb179"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list-view.mergeConsecutiveAssistantTurns (cyclomatic 27): message-list-view.mergeConsecutiveAssistantTurns has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 2 function items inside it that branch (flush, reuseCachedMergedRun). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadc9ccc11738938ebb78370af57d8b151f948c2ee022b76b334f7076660165d"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-plugins-modal.OpencodePluginsModal (cyclomatic 27): opencode-plugins-modal.OpencodePluginsModal has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-plugins-modal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"866554f777cf98dc76d85a1e346440b319f7be7ab38f98531a2f1e69928aa1f7"}},{"ruleId":"D1","level":"warning","message":{"text":"task-merge-dialog.TaskMergeDialog (cyclomatic 27): task-merge-dialog.TaskMergeDialog has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-merge-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ce8c43cb978f2218325d398c49907974de830009edc782598483d9eb91e98b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeParser::parse_jsonl_summary (cyclomatic 26): ClaudeParser::parse_jsonl_summary has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a9dfd29189518b34da2aed85a825c649a6c9895ffd8178bb301302adbf7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeParser::load_sqlite_parts (cyclomatic 26): OpenCodeParser::load_sqlite_parts has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b6c9ebfadd656387da2f59914905e014636eb5be6e2f6ba0dd63395679c184"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::apply_codex_sandbox_config (cyclomatic 26): codeg::commands::acp::apply_codex_sandbox_config has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b06e05f1cdc2adda87c9def241200ab7f7d55f2a3507f50bdb33377916bad39"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::mcp::codex_entry_to_canonical (cyclomatic 26): codeg::commands::mcp::codex_entry_to_canonical has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2357180a8d2eca1110d032aa5ed7197ed1e4af74eda2ef3d62ec11892e45b3a1"}},{"ruleId":"D1","level":"warning","message":{"text":"sequence_inspector.inspect_sequence_file (cyclomatic 26): sequence_inspector.inspect_sequence_file has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c2b2209b86951ec91be66eea89383cd4e3f2f54f97eeb56dfa864b29265134"}},{"ruleId":"D1","level":"warning","message":{"text":"office_watch_shim.held (cyclomatic 26): office_watch_shim.held has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 9 function items inside it that branch (relay, connect, a function literal at line 99, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/office_watch_shim.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f4b57e88fc4373e3502855a3ddf6e2a987582855cc4182da6af14dd1534a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-render.__codegEvalRender (cyclomatic 26): eval-render.__codegEvalRender has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/eval-render.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"52996aba623c8a10c86e62ec0bde79e768fa851e63ea2785d7aa5878f1d87cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"use-reference-search.useReferenceSearch (cyclomatic 26): use-reference-search.useReferenceSearch has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 318, 405, 411, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0af4f314b616e027d0090e6b30a1b64f06e28111d98e4ee301fbe4a8ad3977"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList::folderHeaderElement (cyclomatic 26): sidebar-conversation-list.SidebarConversationList::folderHeaderElement 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. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList, sidebar-conversation-list.SidebarConversationList::renderRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"047855a1e51990b247d08ea3588d35aa648d0a353ad99dbea31c00d136eefc01"}},{"ruleId":"D1","level":"warning","message":{"text":"merge-diff.computeMergeHunks (cyclomatic 26): merge-diff.computeMergeHunks has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"511df3ef771051889c503a1297669ed5abebdeea34558bed66bf2a2b69240a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"subagent-session-dialog.SubagentSessionDialog (cyclomatic 26): subagent-session-dialog.SubagentSessionDialog has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 151, 194, 189, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61c8c50931d5e6191f0381a8fe7c9d299bd4109469e0c895dfdf23e55c06513"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-style-section.CustomStyleSection (cyclomatic 26): custom-style-section.CustomStyleSection has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 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":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0b6a232de3791ebdd4e1851a58df1d79bd4a819e2e39b7f5b965640b2ccec6"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant-editor-dialog.AssistantEditorBody::save (cyclomatic 26): assistant-editor-dialog.AssistantEditorBody::save 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. This shape REPEATS in the file: one other method here (assistant-editor-dialog.AssistantEditorBody) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d5c5e2110d600754ecc2e5de6ea3ba4c126069567c529bcc4551614adc3568"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-use-settings.DriverSection (cyclomatic 26): computer-use-settings.DriverSection has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0dfa41a6b83e0fa259c45ebc6408671cfe08523227aeb29093898ce0dea035"}},{"ruleId":"D1","level":"warning","message":{"text":"task-actions.buildTaskActions (cyclomatic 26): task-actions.buildTaskActions has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-actions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0a6f505a977a95dde56ed2ef7a2ddfb1afd1e350650711c558b627ff9fe30b"}},{"ruleId":"D1","level":"warning","message":{"text":"task-row.TaskRow (cyclomatic 26): task-row.TaskRow 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"10194192f1c2cd05a16acd719b4703c31272aafcab934a3244ba3bbe85d2fcbf"}},{"ruleId":"D1","level":"warning","message":{"text":"exit-meaning.answerOf (cyclomatic 26): exit-meaning.answerOf has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"00294512fae946ab8da375eb367ed54c9b2573fb58d9bfffdee1343e42bd5cb2"}},{"ruleId":"D1","level":"warning","message":{"text":"branch-selector-rows.buildBranchRows (cyclomatic 26): branch-selector-rows.buildBranchRows has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"448929286753937ee1bc4eedda47a2fc1c63cb549d83665e5dcb9edda2060fec"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::compute_verdict (cyclomatic 25): codeg::commands::acp::compute_verdict has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0449fefc89219b74fb4583e278d0e07a60648304c426d4ee787c6474d0bbd60"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::skill_storage_spec (cyclomatic 25): codeg::commands::acp::skill_storage_spec has cyclomatic complexity 25 (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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9800}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2ea1a1650e6b2e03daa7ac8780671a07bff565e7c12a6e429a852b2c92ceb8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::conversations::import_selected_from_summaries (cyclomatic 25): codeg::commands::conversations::import_selected_from_summaries has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4107da39ffeaa0e3c0edc1b9086dd058feefe6951e7986660da0045b36d7e"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::keys::classify (cyclomatic 25): codeg::computer::keys::classify has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/keys.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6b95d7303a93af79707291ee09ea4263e8fbc82580767e71cfe923dc8d1331"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::keys::desktop_chord (cyclomatic 25): codeg::computer::keys::desktop_chord has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/keys.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdfd779efe0288ceaf806f2f67f12ec445e523d3449e2df66704dc60b13ebbc"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::pet_state_mapper::pet_state_subscriber_task (cyclomatic 25): codeg::pet_state_mapper::pet_state_subscriber_task has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42b03e2490362991b5c97538f4c699882123b08f7243bd122ce080723f87a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::web::browser_tunnel::pump::pump (cyclomatic 25): codeg::web::browser_tunnel::pump::pump has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_tunnel/pump.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba0d5ea8ea2b8d15da418a2dd0fe21aed8b18f0805076e03afe0c9dc715dbc"}},{"ruleId":"D1","level":"warning","message":{"text":"CitationValidator.validate_entry (cyclomatic 25): CitationValidator.validate_entry has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e1d5a312e9d543b70ec33f773143d872bd7d9f406ec0155ff0c71fe613106d"}},{"ruleId":"D1","level":"warning","message":{"text":"check_traceability.validate_manifest (cyclomatic 25): check_traceability.validate_manifest has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b63d3dbfc74a5795d93c95b3be16270506f5655e436b1ef6ab5f9ec978e52"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_matrix.load_scores (cyclomatic 25): evaluate_matrix.load_scores has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/evaluate_matrix.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"748bcb1ebcb01701feadec11dae326c10e024657aeee58c52737265889a074d1"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-status-layer.BrowserNoticeBar (cyclomatic 25): browser-status-layer.BrowserNoticeBar has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f884dc6a17b0a758274b9cca091ae038683662a31d702a7c8e1975cbbba6f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"reference-uri.parseCodegReferenceUri (cyclomatic 25): reference-uri.parseCodegReferenceUri has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/reference-uri.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa21bfc78419b80c6dbfd528a1af9974d265f413b4d897040d125e4af48a4b1"}},{"ruleId":"D1","level":"warning","message":{"text":"unstash-dialog.StashWorkspace (cyclomatic 25): unstash-dialog.StashWorkspace has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (handleSelectFile, handleToggleStash, handleDrop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec075cf05fb1e88410c37ea9619c7b2853c26376d362fe37dbc7a8af56eb88"}},{"ruleId":"D1","level":"warning","message":{"text":"live-turn-stats.extractEditStats (cyclomatic 25): live-turn-stats.extractEditStats has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6859aa86c7f170fcfb00b63cdacbba763f8099ccf3cc286ed0c45d3abb15073"}},{"ruleId":"D1","level":"warning","message":{"text":"assistants-panel.AssistantsPanel (cyclomatic 25): assistants-panel.AssistantsPanel has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 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":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c15fa1dfb8b9b69041549f820ff6ae10238ceed35e0b69acc77f4d4bf4f8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-settings.BrowserSettings (cyclomatic 25): browser-settings.BrowserSettings has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 562, a function literal at line 1013, a function literal at line 1049, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7a05019957011a7909e5c2e8dba332519ea0b4e59c1ba0fac7b18fa14e48c5"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-models.ModelPickerDialog (cyclomatic 25): provider-models.ModelPickerDialog has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64ac6b874fd73c86ce8a8ed34db2291b81b6c4446fadfef25b76c2e981cb54"}},{"ruleId":"D1","level":"warning","message":{"text":"use-long-press-drag.useLongPressDrag (cyclomatic 25): use-long-press-drag.useLongPressDrag has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 74, 164, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-long-press-drag.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"451e8db2ca1ce81df680de609405146d2b6a2bfdc73e37725d4370009439bf7d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-elements-adapter.createMessageTurnAdapter.adapt (cyclomatic 25): ai-elements-adapter.createMessageTurnAdapter.adapt has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fd912a9cde48d48ae41966caaa37612ee78af3b539c5ba877907339027c65"}},{"ruleId":"D1","level":"warning","message":{"text":"html-preview-inline.scanStartTags (cyclomatic 25): html-preview-inline.scanStartTags has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1bceb7b4cd70b5a7daeca4329e41551dab7612329b8426edbefef2ea36d10d"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.codeModeArgsTransparent (cyclomatic 25): delegation-card.codeModeArgsTransparent has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ead087193e9da4393f7ccc4635015b80e8407668afe41c8baf6867f846dc8db"}},{"ruleId":"D1","level":"warning","message":{"text":"file-tree-keyboard.resolveTreeKeyboardAction (cyclomatic 25): file-tree-keyboard.resolveTreeKeyboardAction has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tree-keyboard.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4c18841b1943ae17d93627955ebbb12959017a5b78c1949e74338a9b32807"}},{"ruleId":"D1","level":"warning","message":{"text":"session-files.buildDiffChunk (cyclomatic 25): session-files.buildDiffChunk has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbe07020565bf5496f3185a3111b82f2b6455ce225d9c899da6181612af39de"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClawParser::parse_conversation_detail (cyclomatic 24): OpenClawParser::parse_conversation_detail has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"568d9a61980449b530058d63d193b1d635cc1b3b28113f981c467eba8b47e46c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::deepseek_settings::validate_models (cyclomatic 24): codeg::commands::deepseek_settings::validate_models has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcf662b05a0c245c21f041a363444b05f0f05f305684da684aae97d43c862c6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::helper::act::act (cyclomatic 24): codeg::computer::helper::act::act has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9eba027957881cf594a90175c42ebade7b6d3755abf3ddbf8fa1195c9186c6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::web::ws::handle_ws_connection (cyclomatic 24): codeg::web::ws::handle_ws_connection has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d99bb7d4eb14b15e9024ccf1b07759eb0883557b02b7c2eb5e1473fec81eb"}},{"ruleId":"D1","level":"warning","message":{"text":"check_falsification_controls.audit (cyclomatic 24): check_falsification_controls.audit has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"818e64439f929823fc26fac5bc064b3fb2ebb879620a42edc1cba87f94ed6843"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_report_scaffold.generate_scaffold (cyclomatic 24): generate_report_scaffold.generate_scaffold has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/generate_report_scaffold.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e2d45a117f5f925b754b836ec496f8e73e127c2d9a5d76a9455b20181ac74"}},{"ruleId":"D1","level":"warning","message":{"text":"act.selectIn (cyclomatic 24): act.selectIn has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ebd3e0001835db55470e205c736032d7c3f5236b261bf616e7974085250da9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.act (cyclomatic 24): index.act has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"browser-agent/src/index.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ed126f022703753ff3d9597fc0263106ac8b6f417117c7882a83f76c23e072"}},{"ruleId":"D1","level":"warning","message":{"text":"inline-dollar-math.normalizeInlineDollarMath (cyclomatic 24): inline-dollar-math.normalizeInlineDollarMath has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/inline-dollar-math.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce817f3d05452a7e339b6b773d4cf008e781fcb909a126bdcda8b9c3e7f871d"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-model.computeAlignment (cyclomatic 24): canvas-model.computeAlignment has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a0750bc2ca7c562a483e023962e64cb3fb6780d4207e8f635842b895956c30"}},{"ruleId":"D1","level":"warning","message":{"text":"file-node.FileNode (cyclomatic 24): file-node.FileNode has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/file-node.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedf80fe8caa4b2a0fa9d7ba1cf37757db2c8dcd56f25f70258f1ac3ba1f593b"}},{"ruleId":"D1","level":"warning","message":{"text":"html-preview.InlineHtmlPreview (cyclomatic 24): html-preview.InlineHtmlPreview has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 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":"src/components/files/html-preview.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc930593eb9125fb9d739437ec1e79c9e4dbc40cda32ae7cdf71cefbe042211"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-row.ActivityRow (cyclomatic 24): activity-row.ActivityRow has cyclomatic complexity 24 (threshold 15). Of this number, 18 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":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43f83cc5bcc3ce68101a0c85fdd58cbe31288c8dcec5aa6e665b7efaf1ccc08"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-question-result-card.AskQuestionResultCard (cyclomatic 24): ask-question-result-card.AskQuestionResultCard has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20d99b9408ef051f7bdabb59c5745db6c87b6cebaf99fa27bb823dca5a28f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"reply-artifacts.ReplyArtifacts (cyclomatic 24): reply-artifacts.ReplyArtifacts has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"202a6c5657cc117657cad1b0a5d8ad8c7bdeaf9ea49c039a9c3d7691d289b823"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.upsertTomlSectionBooleanKey (cyclomatic 24): acp-agent-settings.upsertTomlSectionBooleanKey has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22bc5f0b568c4d8d73ae5d8f2bb6653a79fd22babfd4fcce483cd64a44f2360"}},{"ruleId":"D1","level":"warning","message":{"text":"add-chat-channel-dialog.AddChatChannelDialog (cyclomatic 24): add-chat-channel-dialog.AddChatChannelDialog has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"59071839dae64dba489a0d6c2921836c8960db400cdb6f43cd555b543fe146fe"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-chat-channel-dialog.EditChatChannelDialog (cyclomatic 24): edit-chat-channel-dialog.EditChatChannelDialog has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e53a3987dcf97454e4bd2fc87654000f61c61dc6c89f8451d12496dc52a4bee"}},{"ruleId":"D1","level":"warning","message":{"text":"science-settings.ScienceBody (cyclomatic 24): science-settings.ScienceBody has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 102, 124, 56, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/science-settings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2d8be8afa56303f3b7f79f80e04bf67e6107c0ce56d87c9959a34033e6507"}},{"ruleId":"D1","level":"warning","message":{"text":"close-request-dialog.CloseRequestDialog (cyclomatic 24): close-request-dialog.CloseRequestDialog 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 11 function literals inside it that branch (lines 107, 136, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/close-request-dialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d34c3837ab304702af3e923767a279b7af4361c0c7deb62f8143f0c1aea67"}},{"ruleId":"D1","level":"warning","message":{"text":"command.commandOutputFromJsonString (cyclomatic 24): command.commandOutputFromJsonString 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":"src/lib/activity/command.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab126a4a759ef8a38027acfb778d9e1268716362dad9ef019d8c599f92ae8c82"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.skipJsTemplate (cyclomatic 24): delegation-card.skipJsTemplate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"371c1810ae840ab539dac2e7616d29019424bd99efc34806f31d70819fdcd178"}},{"ruleId":"D1","level":"warning","message":{"text":"token-speed.isDense (cyclomatic 24): token-speed.isDense 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":"src/lib/token-speed.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0629d990927dbbb2e1ef41bd80f75edf9610a49d9db4eaf9c1e508e3617b0bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramBackend::start (cyclomatic 23): TelegramBackend::start has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7057755ae6ba5e06896365a0d64208799ca2877eb3e0c42d51a6e21fbc76e3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::browser::surface_child::configure_child (cyclomatic 23): codeg::browser::surface_child::configure_child has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b61c0daf88c1fdf7448b3ac1d4fbe67b19059451bd53f1beb69dcd8ec9271b5"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::event_subscriber::process_envelope (cyclomatic 23): codeg::chat_channel::event_subscriber::process_envelope has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/event_subscriber.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72cbe7c658f7dbde3d36d005feeb17c5c7e1aedc7db52736473a7795d37a15c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::folders::build_file_tree (cyclomatic 23): codeg::commands::folders::build_file_tree has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4891}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2f2399fca428f0a4e722e1a23299fb6861d9312dad5cc4e3b22897fc2a20d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::folders::git_log (cyclomatic 23): codeg::commands::folders::git_log has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a69d6d04bbd27c656edd78b6592450d25b1f680b8cfa09b3ba140f67528405"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.parse_bibtex (cyclomatic 23): _common.parse_bibtex has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/_common.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55b26f8995d0b7c2e6eaf940c69f04d16955b6f25097323107ba0926484be3b"}},{"ruleId":"D1","level":"warning","message":{"text":"weight_sensitivity.analyze (cyclomatic 23): weight_sensitivity.analyze has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/weight_sensitivity.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf77093d356543625102c174f574688e9648b62796d5a086d4da3513260ce28"}},{"ruleId":"D1","level":"warning","message":{"text":"ScientificSchematicGenerator.generate_iterative (cyclomatic 23): ScientificSchematicGenerator.generate_iterative has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19a55f41e20b474fec73845b18d905f35c2e207945fbd774f757c26ef767b81"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-config-section.AgentConfigSection (cyclomatic 23): agent-config-section.AgentConfigSection 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb092b99bf3861de7408feaf085e7ac89fd7ff2a5155efee27ec4a52b642b738"}},{"ruleId":"D1","level":"warning","message":{"text":"automation-editor.AutomationEditor::submit (cyclomatic 23): automation-editor.AutomationEditor::submit has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"23449f339fcc7fc35e66a276050db8d92bafee11266861e754c2f77ec4a98fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-tab-view.NativeBrowserTabView (cyclomatic 23): browser-tab-view.NativeBrowserTabView has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a463899d973f8133c97b75d669731be36cd3ac5d12bc292367e23387432a0c5"}},{"ruleId":"D1","level":"warning","message":{"text":"async-task-row.AsyncTaskRow (cyclomatic 23): async-task-row.AsyncTaskRow has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/async-task-row.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f125089119529df411bc45d8b06dc9b9d471d84e9016a6c63fb41e2bed6c16"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-add-menu.ComposerAddMenu (cyclomatic 23): composer-add-menu.ComposerAddMenu has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 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":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d21dd57c17f6e3f89fa88cebe6b9a0893f981e943d513ab88cf238e1f296c8"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-context-bar.ConversationFolderBranchPicker (cyclomatic 23): conversation-context-bar.ConversationFolderBranchPicker has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f542d3ba6fcdf480ea4cf70480d9b6b36fb0fb60a4acf2b7cda5e42cfcb6bda4"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-tag-picker.ConversationTagPickerPanel (cyclomatic 23): conversation-tag-picker.ConversationTagPickerPanel has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-picker.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7743eaa40e68e7ad2a01064b75f764e4f8bdb2416454b85798d509f5a0394a16"}},{"ruleId":"D1","level":"warning","message":{"text":"image-diff-view.ImageDiffView (cyclomatic 23): image-diff-view.ImageDiffView has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 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":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccae8ed0e3fcbb062ee0eba7cef45e8bcfc253ade1e9e7b58a97dba53fde3cb"}},{"ruleId":"D1","level":"warning","message":{"text":"file-workspace-panel.buildDiffOutline (cyclomatic 23): file-workspace-panel.buildDiffOutline has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"297ea36eb64e980823a1a399587d0e1a8d06515cdf2766184fec54086ca729d7"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-row.RowChecksMark (cyclomatic 23): forge-issue-row.RowChecksMark has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"560bc3b4582fc0880ea47f504726c51a646528ab4e80def2b5c9539d6412439d"}},{"ruleId":"D1","level":"warning","message":{"text":"command-rows.CommandLabel (cyclomatic 23): command-rows.CommandLabel has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516d6ace1fd438d7ceae99107252d3bfe0ace31ead983c4668e631e5c09fb80"}},{"ruleId":"D1","level":"warning","message":{"text":"use-row-pointing.useRowPointing (cyclomatic 23): use-row-pointing.useRowPointing has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 45, 88, 58, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-row-pointing.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"126208a143934ed0915a793fcf95e65b4e88a1a2c79f50eddfeca2ebcf383017"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list-view.HistoricalMessageGroup (cyclomatic 23): message-list-view.HistoricalMessageGroup has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fd3a9851496ed07556c0e09ab19821f6f32c802076b2790af57ccc7bf4b80d"}},{"ruleId":"D1","level":"warning","message":{"text":"experts-settings.ExpertsBody (cyclomatic 23): experts-settings.ExpertsBody has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 98, 122, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/experts-settings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b34ca053de77e5a9a858f24cad636e1ad9abc8c101ae4ce68eb8fa4741ea3ed"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-elements-adapter.groupGoalRuns (cyclomatic 23): ai-elements-adapter.groupGoalRuns has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37bfd5dbd2d09592b6884daf53a35085e187e41a9399b2a232097e2b87a6175"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-kind-classifier.isAgentLikeToolName (cyclomatic 23): tool-kind-classifier.isAgentLikeToolName has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/tool-kind-classifier.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade02304a4ca6a44483559f479ed4d89b4b8f51090617b0d8f59b77485a0b37"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-visualize.splitCodexVisualizeRefs (cyclomatic 23): codex-visualize.splitCodexVisualizeRefs 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":"src/lib/codex-visualize.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6931fcb926ccb05a41665a8c9585ac745eb79684d3c9ad47e6897f7fafbbd48"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-normalization.normalizeUncached (cyclomatic 23): tool-call-normalization.normalizeUncached has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b833b018b906c44d11c3851d9a36b5b3ec8e901ea12d70e2e0474831d5b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-normalization.inferLiveToolName (cyclomatic 23): tool-call-normalization.inferLiveToolName has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48b5fcc559e0dccf97eb06976246bb619e1e22a84324b9f562d19a0673403a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::tool_detail::format_tool_call_detail (cyclomatic 22): codeg::chat_channel::tool_detail::format_tool_call_detail has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/tool_detail.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa7cbca807f0bcde28dc584252e6348f03ea2c37a3638c85e50e234bd016c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::conversations::move_conversations_core (cyclomatic 22): codeg::commands::conversations::move_conversations_core has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36acd3864cb7bf6053e06e4ff638abb83a8a01512fedd4859125690d6d31a90"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::db::service::canvas_service::update_node (cyclomatic 22): codeg::db::service::canvas_service::update_node has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc9a4b745f43f95f28077fc428d0c31eb941253dd40c05022112a8528d21191"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::qoder::attach_subagent_tool_calls (cyclomatic 22): codeg::parsers::qoder::attach_subagent_tool_calls has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fcc37392fb1b35999c2ab815cdd2cc8ff211a668781042687fab7dbfa43562"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAlexSearcher.search (cyclomatic 22): OpenAlexSearcher.search has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_openalex.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6666352c43486b3c004d3c6fca8695cf081a9fbb0caeed81b6cd9f4f5d59c1f2"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_statistics_reproducibility.audit (cyclomatic 22): audit_statistics_reproducibility.audit has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/audit_statistics_reproducibility.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b41da02c2e26d2e218cea81857d7cb42914312639d788f2eba81b51f6e6073"}},{"ruleId":"D1","level":"warning","message":{"text":"helper.window.addEventListener(\u0022error\u0022) (cyclomatic 22): helper.window.addEventListener(\u0022error\u0022) has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e392d641544eea8d0374dad705596684e8e8c30ed31d4ee7a22c956b763de5"}},{"ruleId":"D1","level":"warning","message":{"text":"message.containerPrefixEnd (cyclomatic 22): message.containerPrefixEnd has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef73fb80833c046ed37e4054a6c13ea420031b23b4fa35b038923db02997bd0c"}},{"ruleId":"D1","level":"warning","message":{"text":"cron-builder-dialog.CronBuilderBody (cyclomatic 22): cron-builder-dialog.CronBuilderBody has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"src/components/automations/cron-builder-dialog.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fbc52a1f570606b55e4c6d3704c079e3d73ca72544f3709bbb4f1f0b42c351"}},{"ruleId":"D1","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments.appendImageAttachments (cyclomatic 22): use-composer-attachments.useComposerAttachments.appendImageAttachments has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 591, 606, 637, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4208476a8d5576c9f2c0e0201ec4fe764c9ba777eb36989461ff271a2dc7be10"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-detail-sheet.CommentThread (cyclomatic 22): forge-issue-detail-sheet.CommentThread has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc677c746f9ed5c23e4077fb14ad165a4d730707bbea439bbae81f6c71f1b54"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-manage-dialog.RemoteManageDialog::handleSave (cyclomatic 22): remote-manage-dialog.RemoteManageDialog::handleSave has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-manage-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77df433e3406a5f7c03b9923ad36f2ad40d2e5d50cd07987ee8170909a0825c"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-row.EditRow (cyclomatic 22): edit-row.EditRow has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabcfb3d1bea76205309ff8aaae19e5b7b8342bebb05396f3a2861030e06a39d"}},{"ruleId":"D1","level":"warning","message":{"text":"context-compaction-card.ContextCompactionCard (cyclomatic 22): context-compaction-card.ContextCompactionCard has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0b57debd271ff1ab2d04674a10f35c9ed1f34af3a3f43f09e67f9913adbc9e"}},{"ruleId":"D1","level":"warning","message":{"text":"message-nav-entries.buildMessageNavEntries (cyclomatic 22): message-nav-entries.buildMessageNavEntries has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-nav-entries.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8089b9e5b5579814c60b985a783b682dcb291ef9a051fbb68e4e28fe32e60c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"pet-editor.PetEditor (cyclomatic 22): pet-editor.PetEditor has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (handleSubmit, a function literal at line 47, a function literal at line 160, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-editor.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2725ef314475689f94411f854e8fd6807dce69fef50bd83ace0d420089fc10"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-css-dialog.CustomCssDialog (cyclomatic 22): custom-css-dialog.CustomCssDialog has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 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":"src/components/settings/custom-css-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39463767e1d95474ea17b47372ed3969e6e1b613e55d9542ded5de3b3193c663"}},{"ruleId":"D1","level":"warning","message":{"text":"required-agent-options.useRequiredOptionsGate (cyclomatic 22): required-agent-options.useRequiredOptionsGate has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"980f5819b1ddbd8bfa58d3ddee9ca0dcb4a5c36b6908e3929e461276496a2640"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-catalog-source.useCodexProviderList (cyclomatic 22): codex-catalog-source.useCodexProviderList 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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9583e9f42ca6fcaaa6d443ad0fc137a0b7e568d51fd2a7e932f3b89bc8eb82"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-permissions-section.PermissionRow (cyclomatic 22): opencode-permissions-section.PermissionRow has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14bef048e0183db929319e5efc89e59e9e537009d77d32385e5e79c5f3faed0"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-agent-matrix.MatrixCell (cyclomatic 22): skill-agent-matrix.MatrixCell has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b8a7efb4f8ac3d8c2ccbebbfdfee0bcb7da4d17d4dc58894ba6a52b19b18e2"}},{"ruleId":"D1","level":"warning","message":{"text":"charts.TrendChart (cyclomatic 22): charts.TrendChart has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 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":"src/components/token-usage/charts.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5449b92debb5936490f8e17b28b3254f0284901cf7a74deafb9c64b7bad2cac"}},{"ruleId":"D1","level":"warning","message":{"text":"chart.ChartTooltipContent (cyclomatic 22): chart.ChartTooltipContent has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 201, 148). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/chart.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"74efac1b42130ffbe431372778de6874e8cb4e4fd6d5e3cf9b8555f7617526d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-question.parseAskQuestionInput (cyclomatic 22): ask-question.parseAskQuestionInput has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b12cb3799aeee4441d66a25ec2d27aa2b78e150ef31b364dcd844637cc5b31"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.interpretReport (cyclomatic 22): delegation-card.interpretReport has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e951c033b190593b1f40c07f735b7fbc4a5595f4d4f9cb9d1b531fc79f4641f"}},{"ruleId":"D1","level":"warning","message":{"text":"file-open-target.normalizeAbsPath (cyclomatic 22): file-open-target.normalizeAbsPath has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-open-target.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"87548af0736944571a0ea616c073ff96aa2cf46cb45f4939c533cef2ddf943be"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-normalization.inferFromFreeformName (cyclomatic 22): tool-call-normalization.inferFromFreeformName has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe81979553457be0e49f1f8ae49cd32cebac304e1d4b8f86dd1beedb83939604"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.resolveLiveToolInput (cyclomatic 22): conversation-runtime-store.resolveLiveToolInput has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf514783eb8b76035b5223a64ff79cae33467df6f25c430152943801425ea5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.persistGroupState (cyclomatic 22): tab-store.persistGroupState has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fbce02a7ce9224151944fd7dd7f407e40e2984c7d8d2430929df4b1c14d19f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 22): (anonymous) has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d11a79da74a62996d165f9a46bc9392a87990249d4ea82d7e28597c9d95fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"Key::parse (cyclomatic 21): Key::parse has cyclomatic complexity 21 (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":"src-tauri/src/computer/keys.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f634befd4919eb5768900ca39c8646402a69b17d757c30b046147a51163ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::apply_kiro_preferred_options (cyclomatic 21): codeg::acp::connection::apply_kiro_preferred_options has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de243b613af1effb04602500252676f00239fc9a298a45de5ca97198dd9b61"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::map_grok_subagent_notification_inner (cyclomatic 21): codeg::acp::connection::map_grok_subagent_notification_inner has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":21702}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad27e5fd5aba8757b786d40435fd188fb63f328529ddb1ce93185d086a77bda"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::handle_event (cyclomatic 21): codeg::acp::lifecycle::handle_event has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"be44dea7dc3aa68a9afa22b42267928be2a7e92703cad58a99a1de6d949798f0"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::command_dispatcher::dispatch_command (cyclomatic 21): codeg::chat_channel::command_dispatcher::dispatch_command has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"992998a65164328f18b58c79cef9e346a0162d9ea35658b4e94f0e74bc166c87"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::mcp::canonical_to_codex_entry (cyclomatic 21): codeg::commands::mcp::canonical_to_codex_entry has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86077acd6e63b7fe296aa519a05cabfc64c73d5892a6c1c66d687634ff1522"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::cursor::apply_turn_timing_journal (cyclomatic 21): codeg::parsers::cursor::apply_turn_timing_journal 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. This is NOT this file\u0027s highest cyclomatic complexity: codeg::parsers::cursor::tool_name_for_field (cyclomatic 83) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"75989bd32a26378d95cf5ab8f3e294cf8e009db8b49a3fdd2c87acecfe4e2a81"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::qoder::active_branch (cyclomatic 21): codeg::parsers::qoder::active_branch has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"55612600d3034e45e61d3d5a07e651da0c3363c94cfd85b49f9a14ae6189c5c6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::supervise::run (cyclomatic 21): codeg::supervise::run has cyclomatic complexity 21 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c45938312d6e2afb7c17458a0f6daaaba5612c053c2bf2b202bbfb65095c405"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::update::install::swap_bundle (cyclomatic 21): codeg::update::install::swap_bundle has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ae7b9006ff5f5f54672c30290d58290db3a5ed604ad85ac2c4422d2acb5f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::web::handlers::workspace_files::upload_workspace_file (cyclomatic 21): codeg::web::handlers::workspace_files::upload_workspace_file has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e56575a2c6899cfb4c0be1e8c5605daf163fb886c58c45f0421830dd890dec"}},{"ruleId":"D1","level":"warning","message":{"text":"_capabilities.validate_magic (cyclomatic 21): _capabilities.validate_magic has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_capabilities.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395842206c516ca51d62275bb5b4d36a33b3fc541d0389f1e8bb4e9f75bcfc6"}},{"ruleId":"D1","level":"warning","message":{"text":"_structured.inspect_hdf5 (cyclomatic 21): _structured.inspect_hdf5 has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_structured.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee28e34e5ef7a84cd2454817111ec70f09afd14a46b327039703f46fe27c07"}},{"ruleId":"D1","level":"warning","message":{"text":"automations-page.RunHistory (cyclomatic 21): automations-page.RunHistory has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1396, a function literal at line 1309, viewConversation, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8e10a4e2ce5ab92a91c2b8daf9478c72d4a3aafebbd8a4d9fba23393c21f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"move-conversation-dialog.MoveConversationDialog (cyclomatic 21): move-conversation-dialog.MoveConversationDialog has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5e9463191f9d391b9d6e730b10c47d49bcd9983faff638198f302d6f4cdce3"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-tag-filter.TagFilterPanel (cyclomatic 21): sidebar-tag-filter.TagFilterPanel has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 190, 282, 178, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-tag-filter.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65992b395a8892a2e0f798f81ac43b44cd5f528c046bd0e25c017ef52d4a646"}},{"ruleId":"D1","level":"warning","message":{"text":"unified-diff-preview.DiffFileSection (cyclomatic 21): unified-diff-preview.DiffFileSection has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe46b5362cfa6cb716d431daa0669a6f0cd783ffc6268953776f574924135e"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-detail-sheet.ChangedFiles (cyclomatic 21): forge-issue-detail-sheet.ChangedFiles has cyclomatic complexity 21 (threshold 15). Of this number, 15 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":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fca22bcce67a10e9943a48c8fffbe825afcec3e55557fe1bf24d3631aaa7e5"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-tasks-tab.TasksAuxTab (cyclomatic 21): aux-panel-tasks-tab.TasksAuxTab has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"721c53dc0da0afd9bfb57a2b56ac8f436b9ded67575347b3dd9625075c12448d"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-row.ActivityMembers (cyclomatic 21): activity-row.ActivityMembers has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fd74090fbd5003d155a5996d97a091481c64465a6e148bab6c6f6bb18a62f9"}},{"ruleId":"D1","level":"warning","message":{"text":"use-agent-call-model.parseTaskOutcomeEnvelope (cyclomatic 21): use-agent-call-model.parseTaskOutcomeEnvelope has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea36951ea4f22f6b68c368964af18e3af01abb706c7b3e06beaa6cf40457be68"}},{"ruleId":"D1","level":"warning","message":{"text":"use-agent-call-model.useAgentCallModel (cyclomatic 21): use-agent-call-model.useAgentCallModel has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d27c3afe49cb2a88307485a9cbd0073733ab63626638bc28c978e0874cf365"}},{"ruleId":"D1","level":"warning","message":{"text":"slide-slot.SlideSlot (cyclomatic 21): slide-slot.SlideSlot has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 43, 51, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/slide-slot.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f485d35e8e71f0c7bcf06084cfe476424177a43160b673d3e52c1aefe0347c"}},{"ruleId":"D1","level":"warning","message":{"text":"command-rows.CommandRow (cyclomatic 21): command-rows.CommandRow has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"964ab1d94ac3e6225c48dc7595234d7a6458ebfb43a7b29fc28adac1c6ed182b"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-config-panel.LeakedTempSection (cyclomatic 21): antigravity-config-panel.LeakedTempSection has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcc737809d8ca857192369c8edb6f59a773fd2d2da886253c8c2513f1634c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"add-model-provider-dialog.AddModelProviderDialog (cyclomatic 21): add-model-provider-dialog.AddModelProviderDialog has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 131, 125, 86, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a92210df9a2b3e56f1a37072ed065cdab4f31527833bbcbc2b90506403767e9"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop-notification-settings.DesktopNotificationSettingsSection (cyclomatic 21): desktop-notification-settings.DesktopNotificationSettingsSection has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de2f58fe48ffc42309318e9e95388bf6c08b5a4a255a2ca0d01728408a2cad"}},{"ruleId":"D1","level":"warning","message":{"text":"deep-link-bootstrap.DeepLinkBootstrap (cyclomatic 21): deep-link-bootstrap.DeepLinkBootstrap has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 58, 36, 90, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/deep-link-bootstrap.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e91b8966d0539421568d6eb3f5d2d75effe82c4cd222c105a6dcc4218580004"}},{"ruleId":"D1","level":"warning","message":{"text":"use-subsession-sync.useSubsessionSync (cyclomatic 21): use-subsession-sync.useSubsessionSync has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 133, 79, 103, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-subsession-sync.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89de00a1304592860bbb391dcb8262330920069aec53e30fe1ae528fc6c9b58"}},{"ruleId":"D1","level":"warning","message":{"text":"exit-meaning.argv (cyclomatic 21): exit-meaning.argv has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3ce6d901dd1880fb2e05de7dcdf1a3000128293224ae55547b4625e4cd417"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.codeModeFindKey (cyclomatic 21): delegation-card.codeModeFindKey has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cac99f06e8fac14355dc1d82c2ff0d7298ffc25ce6ef4c707fe6f051ca89d63"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.applyLateToolCallReports (cyclomatic 21): conversation-runtime-store.applyLateToolCallReports has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2329, 2320, 2337). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6b1899f5d830011ccbff18df04e0f44eae6c1c9d87279c96d0ac53fead80e5"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.alignConversationTabFolders (cyclomatic 21): tab-store.alignConversationTabFolders has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"962abe5cc0c2c7d1d4a4cf23cc42844442d04210ff6557884ad63d5254215c32"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeParser::load_sqlite_messages (cyclomatic 20): OpenCodeParser::load_sqlite_messages has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01b58928c03b2517e17995b62ef1a4277c815d9c48158d526a289337f184446"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::codex_catalog_refresh::run_due (cyclomatic 20): codeg::acp::codex_catalog_refresh::run_due has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3a7e19afe5754f2e4d3dffbf9da2c6bf21b64f210cce991a410f546ce550b3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::handle_permission_request (cyclomatic 20): codeg::acp::connection::handle_permission_request has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11504}}}],"partialFingerprints":{"codehealthFindingId/v1":"faac97d7c55b2fa367959c002f6192c81df77de12dff3e1b11a0cb9eefd83fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::delegation::companion::browser_action_request (cyclomatic 20): codeg::acp::delegation::companion::browser_action_request has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aa5a049d3f1a8ff64e4141502938c204a2a6298ef1ed18ae5cc67dbce7fc9d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::codex_config_projection_from_toml (cyclomatic 20): codeg::commands::acp::codex_config_projection_from_toml 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. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::acp::cascade_update_agent_config (cyclomatic 22) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4252923b70cac6d8ff063edcd8661263e57100940087ffeb9f10cc0dedf3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::mcp::grok_entry_to_canonical (cyclomatic 20): codeg::commands::mcp::grok_entry_to_canonical 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. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::mcp::read_servers_for_agent_type (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d970a5963bdbcb219d770914b63142fcfdc64feba24b36f828c55d23a77af6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::decode_js_string (cyclomatic 20): codeg::parsers::codex_code_mode::decode_js_string has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7fa7427f71a2b261a9056272345dc5b95b78d6b7c696a56417755782925616"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::cursor::decode_state (cyclomatic 20): codeg::parsers::cursor::decode_state 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. This is NOT this file\u0027s highest cyclomatic complexity: codeg::parsers::cursor::tool_name_for_field (cyclomatic 83) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae223222feb1afcdd294a43affd50d4ca1553bafc200a21518d4599bdb8912"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::cursor::build_turns (cyclomatic 20): codeg::parsers::cursor::build_turns 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. This is NOT this file\u0027s highest cyclomatic complexity: codeg::parsers::cursor::tool_name_for_field (cyclomatic 83) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"d568bd65b48ef41c0527f2ca8667cef51ddb07761085beae02bf0b03ff8590bb"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAlexSearcher._normalise (cyclomatic 20): OpenAlexSearcher._normalise has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_openalex.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"906c34a090cc79c767bbaa0b859e83c90090fc1cea9dd6e88b865026f9b359a6"}},{"ruleId":"D1","level":"warning","message":{"text":"paginate._rxiv_parse (cyclomatic 20): paginate._rxiv_parse has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/paginate.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"195e02b973673f769c73d1108c6f8e0e73c9517e1f02c379f52db0986cdf5410"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-model.computeDropHint (cyclomatic 20): canvas-model.computeDropHint has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec49ca43b22daa173007b9778c591be3b466557f001cbbd077411ae24f6a0aa"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-tag-list-editor.ConversationTagListEditor (cyclomatic 20): conversation-tag-list-editor.ConversationTagListEditor has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (submitForm, a function literal at line 169, confirmDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-list-editor.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9e18f1b1c4535e1cdfcf22c367e47a595a28c5c796a763558521eb0a8865b1"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-grouping.reconcileLayout (cyclomatic 20): sidebar-conversation-grouping.reconcileLayout has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013f3df138f1fcb12bc89b7f16db9a6b4dc4809d248ac1559f893b6a3dcfeab"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-detail-sheet.MergeBox (cyclomatic 20): forge-issue-detail-sheet.MergeBox has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca0c8b383b957a64198a7f9b48c2f685d83bab7679d8da7a8e6cf1b45e6426c"}},{"ruleId":"D1","level":"warning","message":{"text":"background-task-rows.BackgroundTaskRowView (cyclomatic 20): background-task-rows.BackgroundTaskRowView has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fddb025de5bf856e9544a9ef357b72a34a61cabd8a1f5bb12399eeefa8eecf5"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-code-config-panel.validateKimiDraft (cyclomatic 20): kimi-code-config-panel.validateKimiDraft has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6a0335e1f4501791fd3cbc8fb6408ca87c04be258cdf67fe7fe0032d8b82d2"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.buildGrokStructuredConfig (cyclomatic 20): acp-agent-settings.buildGrokStructuredConfig has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3660bc5dd9ebf3478578b72fd74968735c3fb23e87fc9397133f6e3cfa3281a"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.AcpAgentSettings::renderFixButton (cyclomatic 20): acp-agent-settings.AcpAgentSettings::renderFixButton 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. This shape REPEATS in the file: 2 other methods here (acp-agent-settings.AcpAgentSettings, acp-agent-settings.AcpAgentSettings::handleFixAction) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6319}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b36ebd623651a10ad975cc87511ed781da294bf9e297e1d059499fbb2528fd"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-background-market-dialog.WorkspaceBackgroundMarketDialog (cyclomatic 20): workspace-background-market-dialog.WorkspaceBackgroundMarketDialog 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11967008c02d2462e8621439821f2ccff45b1e8985ed807849f6337eb84729d"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant-avatar-picker.AssistantAvatarPicker (cyclomatic 20): assistant-avatar-picker.AssistantAvatarPicker has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (onFile, a function literal at line 315, a function literal at line 238, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-avatar-picker.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b8eb0911e37ae6beeb7fb1941b03c2bf0f902d3a7b76dad217b658808ff136"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-connection-context.RemoteConnectionGate (cyclomatic 20): remote-connection-context.RemoteConnectionGate has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/remote-connection-context.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dceed7a16d3f13a026f2ea3f2b6dee659072cf743bbd5da4703b6812fb3cb9a"}},{"ruleId":"D1","level":"warning","message":{"text":"summarize.retrySignature (cyclomatic 20): summarize.retrySignature has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/summarize.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"be487882db75da1bbfd5030862c24626dea724dffb93af5aa16ad8458f1b5957"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-device.fitDeviceFrame (cyclomatic 20): browser-device.fitDeviceFrame has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-device.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4034e23c897aa7cb1f33c5702d0c2a092caa846a0ee3d3c01ebe90e6030ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"collab-collapse.rewriteExecutionBlock (cyclomatic 20): collab-collapse.rewriteExecutionBlock has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/collab-collapse.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"060076a395d2c201a9651ef41df9d3f0bbfae2ed0cdf36e1cc8a9c09aafdc590"}},{"ruleId":"D1","level":"warning","message":{"text":"permission-request.extractCommandFromUnknownValue (cyclomatic 20): permission-request.extractCommandFromUnknownValue has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61f4fdd0c9f9e287f9424a1f5eb96a83ced20bebc3c2918d31b2c7edce45ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteDesktopTransport.handleWsEvent (cyclomatic 20): RemoteDesktopTransport.handleWsEvent has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a3697da64cec278373c55c3c797fea7131f42fb93210da2eed5ee5913fe0c7"}},{"ruleId":"D1","level":"warning","message":{"text":"window-attention.requestWindowAttention (cyclomatic 20): window-attention.requestWindowAttention has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/window-attention.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25e7682b841af37917d4632fb969fe8f6d4bb28f7297f48c68e6785829d394f"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-store.useCanvasStore (cyclomatic 20): canvas-store.useCanvasStore has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 199, 234, 249, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/canvas-store.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ade35887ef1e55936973db09e5224b2da7b16262aee6dd868ebac13dc9a44"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchState::classify_and_feed (cyclomatic 19): WatchState::classify_and_feed has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c079ce74d9f4654e8aae6e296ba7e8df54edbfb41f05df6c5b07921bbc77d29"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEngine::deliver_pr_closing (cyclomatic 19): TaskEngine::deliver_pr_closing has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4739}}}],"partialFingerprints":{"codehealthFindingId/v1":"8140b39064660328b32b12cab732442d2131b99f5d7126de2599695e4a2edb77"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::codex_catalog_commit::txn::commit_files (cyclomatic 19): codeg::acp::codex_catalog_commit::txn::commit_files has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8d4c048c1d72900aa0e8c4887105087b00f9bb30cc7a0056a1c6a67ac51535"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::cursor_acp_retry_compat::maybe_apply (cyclomatic 19): codeg::acp::cursor_acp_retry_compat::maybe_apply has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d8d55df8882d2e147bfb184078ff2731e7f62d9675ace1ce3ecfc40e5ac595"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_args_transparent (cyclomatic 19): codeg::acp::lifecycle::code_mode_args_transparent has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abd5263fff4d8a0f24a5867e52461817b4b91118ebe7f6f4a1653891db6f5e7"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::browser::open_tab_core (cyclomatic 19): codeg::commands::browser::open_tab_core has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8da0f95637cf2bd7bc2e550814e4f76e5a468ea70e96f9af4dadb784ce6281"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::folders::get_unpushed_hashes (cyclomatic 19): codeg::commands::folders::get_unpushed_hashes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6a5b930f0486db0ce9cf4a9efa0905dce3b79e752cca29c7f67d3b96c5dab2"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex::fold_shell_session_polls (cyclomatic 19): codeg::parsers::codex::fold_shell_session_polls has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e216a744310b1464a5233ec49225adceda5f2d149e4bf75f350f4db5f4998e34"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex::infer_output_value_is_error (cyclomatic 19): codeg::parsers::codex::infer_output_value_is_error has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35fdd0a86645a42c79aaba3689c19751e4ac2b66ec99ce93238f49b203ac27"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::normalize_string (cyclomatic 19): codeg::parsers::codex_file_citations::normalize_string has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"95994f5e8377564b424375075a6142554f86d551599dc14696a7e8f31b71d302"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::kiro::parse_transcript (cyclomatic 19): codeg::parsers::kiro::parse_transcript has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f3d4b54eb437ec5503476261c1d9732e90c3f57cc54a823175d330bf02e685"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::trae_usage::scan_rollout (cyclomatic 19): codeg::parsers::trae_usage::scan_rollout has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/trae_usage.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6191c040ffd9c3572ddcb817dfe9795fee83b1e29a95c9c8b9b46340c0d232"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::web::handlers::folders::open_settings_window (cyclomatic 19): codeg::web::handlers::folders::open_settings_window has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/folders.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8319894e77f1e24eca192832162a47185171f120faaa17c1076ac79879f87c06"}},{"ruleId":"D1","level":"warning","message":{"text":"check_operationalization.audit (cyclomatic 19): check_operationalization.audit has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd22f133c2d209175f304eac7495731931d1850ba606ace081c286fd3a5c3e6"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.read_csv_records (cyclomatic 19): _common.read_csv_records has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/_common.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad2668d1a2d827c0ead37d1453bde214b0a1c5cb55893cc9a4bdc815cfd7d1"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_claim_evidence.validate_matrix (cyclomatic 19): validate_claim_evidence.validate_matrix has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/validate_claim_evidence.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c90c2cc7f7b58998459ca5547e4e57be492f2363207857d8ab600db0f2c493b"}},{"ruleId":"D1","level":"warning","message":{"text":"image_metadata.inspect_svg (cyclomatic 19): image_metadata.inspect_svg has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/image_metadata.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd79160b9755622174c9d08c3089b596be94774aec3554983f9880050f142e5d"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-agent-access.BrowserAgentShareControl (cyclomatic 19): browser-agent-access.BrowserAgentShareControl has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b280ab3ba4d142ec599bd460e6e337e48af601113d100ba890675ef57c4fd0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"add-node-menu.AddFileSubmenu (cyclomatic 19): add-node-menu.AddFileSubmenu has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b858d82bd8a82a9997f466dd1c18b54dcb47bf353c428b63878dc871bf716a68"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-status-strips.useRetryLineText (cyclomatic 19): composer-status-strips.useRetryLineText has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 84). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-status-strips.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"306fea9c4fe4f56ae6cd26c4ecce0fe48814a619ddafbe1a4a3ab104c76eb23d"}},{"ruleId":"D1","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments (cyclomatic 19): use-composer-attachments.useComposerAttachments has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 1184, 1223, 1161, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26438d26c34d307114eb3abeb2df1bea795e84b3ffdea6c807bdc0417802954"}},{"ruleId":"D1","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments.uploadPathsToRemote (cyclomatic 19): use-composer-attachments.useComposerAttachments.uploadPathsToRemote has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 791, 775). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45625bfcf66ddb6c9cabce680e082c51dc2cc8be9c096f9e05abe7aca20540c"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-tags-manager.ConversationTagsManagerDialog (cyclomatic 19): conversation-tags-manager.ConversationTagsManagerDialog has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 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":"src/components/conversations/conversation-tags-manager.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2863688ee3b75b72b211bed357321ecc061776e0ea9bb47a9ffb6d9e83e5b74"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-manage-dialog.BranchFilterSelect (cyclomatic 19): conversation-manage-dialog.BranchFilterSelect has cyclomatic complexity 19 (threshold 15). Of this number, 13 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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b007a03d9966ad0f4d4ebeea976af48b4dcf07c8bd1982dbfbf7299f07678"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList (cyclomatic 19): sidebar-conversation-list.SidebarConversationList has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList::folderHeaderElement, sidebar-conversation-list.SidebarConversationList::renderRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea9161503bc7e29c655f97f65af91d2e653184b83ff2c268001e5c34063363"}},{"ruleId":"D1","level":"warning","message":{"text":"diff-viewer.DiffViewer (cyclomatic 19): diff-viewer.DiffViewer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 80, 134, 193, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/diff-viewer.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec197f4baf93223b8fc0f108e239e00be2346476568c6657b101fe01ef133b3"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-combine-dialog.ForgeCombineDialog (cyclomatic 19): forge-combine-dialog.ForgeCombineDialog has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (submit, a function literal at line 168, a function literal at line 186, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-combine-dialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f18b169de296916b33fbf74058dc514230413e5f89bad761869edafa19e2686"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-issue-row.ForgeIssueRowItem (cyclomatic 19): forge-issue-row.ForgeIssueRowItem has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70300f076fd4ffaf3ba6c42da4714fcef007cdf1869ec7500b6b6ce3af09e6"}},{"ruleId":"D1","level":"warning","message":{"text":"i18n-provider.AppI18nProvider (cyclomatic 19): i18n-provider.AppI18nProvider 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 11 function literals inside it that branch (lines 137, 218, 121, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/i18n-provider.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1298ac553b43e030ed6c619ed36ab7cf3e0bad76a3c4c6e76ea361c95c35f3de"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-section-order-control.SidebarSectionOrderControl (cyclomatic 19): sidebar-section-order-control.SidebarSectionOrderControl has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 107, label, 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":"src/components/layout/sidebar-section-order-control.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5411f09fb73bde06f132be3c4b5faf6832a0da6fe15885e8de292c880347515"}},{"ruleId":"D1","level":"warning","message":{"text":"reply-motion.play (cyclomatic 19): reply-motion.play has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-motion.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795aa5711a7e8478c06db05598dc0aa132335ab7e039e1310009cec2f508c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-row.McpRow (cyclomatic 19): mcp-row.McpRow has cyclomatic complexity 19 (threshold 15). Of this number, 13 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":"src/components/message/activity/rows/mcp-row.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaeaeef5a8d60cf093ee7833214dc4950b680c38b53a10870498e2f7591c62a"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-message-nav.VirtualRows (cyclomatic 19): conversation-message-nav.VirtualRows has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 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 385, a function literal at line 411, a function literal at line 409, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c4b0fce9b790c0bbf07126e449dd058f1a9bc028d3e2844a58c80c6947f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.tomlLinesInsideMultilineString (cyclomatic 19): acp-agent-settings.tomlLinesInsideMultilineString has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"511cd4e47a4c030f6740715a53dd4d0476664df229c5b7b11a6bfef92f2b1456"}},{"ruleId":"D1","level":"warning","message":{"text":"assistants-panel.AssistantRow (cyclomatic 19): assistants-panel.AssistantRow has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"deee583f172ed5931ef14d93c9c81b2e399297a41f0dc5c9a4efbff6eb32c3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"office-tools-settings.DetectionCard (cyclomatic 19): office-tools-settings.DetectionCard has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c471b32e5dcfde39441fb11922327a3a2701d453b8934ed2d16c50073e41800"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-connect-dialog.OpenCodeCustomProviderDialog (cyclomatic 19): opencode-connect-dialog.OpenCodeCustomProviderDialog has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 542, a function literal at line 555, handleSubmit, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5988fde0b9769fc7537b851b027a3f58c45cfe68d2e623702a0cdd0f0bbc978"}},{"ruleId":"D1","level":"warning","message":{"text":"task-message-composer.TaskMessageComposer (cyclomatic 19): task-message-composer.TaskMessageComposer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 211, 261, 200, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-message-composer.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5be4f3a27cdccaa6cf94726be3b29cfe7ff138ffebb941f4a3fb731265f0745"}},{"ruleId":"D1","level":"warning","message":{"text":"command.parseCliExecutionEnvelope (cyclomatic 19): command.parseCliExecutionEnvelope has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2574ff13e34f4ec7be34b21199020beeb175b6e02af25169a4abe3611409a0"}},{"ruleId":"D1","level":"warning","message":{"text":"describe-tool-call.describeCommand (cyclomatic 19): describe-tool-call.describeCommand has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ef230638cae3d9af7f73307ab4959cd42003b0b177ad1df010c009248e7097"}},{"ruleId":"D1","level":"warning","message":{"text":"host-rules.parseHostRulePattern (cyclomatic 19): host-rules.parseHostRulePattern has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/host-rules.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a77ea8c70c9c440f14daad74fc1d0e496d27d1ec69fbd0359b93ea3ab043d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"code-highlighter.requestHighlight (cyclomatic 19): code-highlighter.requestHighlight has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 179, 206, 188). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/code-highlighter.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"23553cb387cd21cb962fae4c178dc3afe83b98041d323da4922f27c7dc0f8d2e"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg-mcp-tool.parseCodegMcpToolCall (cyclomatic 19): codeg-mcp-tool.parseCodegMcpToolCall has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"483011dac02c73798d4951fbd36af2e435662d5a00e922e7f87f64b57f8ed3ec"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.parseDelegationMeta (cyclomatic 19): delegation-card.parseDelegationMeta has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf381cd7de2bef6844c7eaff34692a8707cf75e2b0045c448eabbe17552d706"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-card.parseDelegateTaskId (cyclomatic 19): delegation-card.parseDelegateTaskId 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":"src/lib/delegation-card.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb5640c600fc52c9ac5b94105035bb90aec77497d0577ef29dd834bad8505c4"}},{"ruleId":"D1","level":"warning","message":{"text":"keyboard-shortcuts.parseShortcut (cyclomatic 19): keyboard-shortcuts.parseShortcut has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ce634aa0d464a310afbcadbd3fb47328c8bc651e416e91a7a5035a66882337"}},{"ruleId":"D1","level":"warning","message":{"text":"release-notes.splitBilingualReleaseNotes (cyclomatic 19): release-notes.splitBilingualReleaseNotes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/release-notes.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93770d4e615e7c7ead1ef52f1fa5f462ea12bd6e2ba19be366a69f84c41017a"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-store.applyChange (cyclomatic 19): canvas-store.applyChange has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/canvas-store.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"96db57f025bf0552ac3183bb9474817feddd8f37a33fdaf1f6f79fd618657433"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.cleanAgentOutput (cyclomatic 19): conversation-runtime-store.cleanAgentOutput has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"67894cb80d5e4cea03a2aa4b216b0190a00c073f4e4da12b9de4d6865f3e0961"}},{"ruleId":"D1","level":"warning","message":{"text":"tab-store.sanitizeDrafts (cyclomatic 19): tab-store.sanitizeDrafts has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a527b7efc636e3fc99c016abd347ff78fc949ebc08c3e3019f8a3c76751c090"}},{"ruleId":"D1","level":"warning","message":{"text":"Cli::parse_from (cyclomatic 18): Cli::parse_from has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/args.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9330349ff71aae4b6889bea80b8a2ed1e334f7ed40081306e3fc98873e9b32f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiParser::parse_jsonl_chat_value (cyclomatic 18): GeminiParser::parse_jsonl_chat_value has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9249c9cabc8cbbc2bba1b15168b3a75d7e79bb899a361870344635eb8dc7e4a2"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::companion_features_arg (cyclomatic 18): codeg::acp::connection::companion_features_arg 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8182}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a9cef3373e66bce1a63f81c7ba36c19a078c26e3f5471d45963520b0469f0a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::handle_elicitation_request (cyclomatic 18): codeg::acp::connection::handle_elicitation_request has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05ff0c19253a8039f20c1433990e99fe9e6d2a3ad2d40a2640f453ce25ed25a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::poll_terminal_tool_call_output (cyclomatic 18): codeg::acp::connection::poll_terminal_tool_call_output has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13013}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b36584d079fc730ccbf611cdda55761485019f970d741879df47cff93a8c5"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::delegation::companion::render_computer_windows_result (cyclomatic 18): codeg::acp::delegation::companion::render_computer_windows_result has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65d11fe1a9c06201b10e06fa7f8d381d7afbb8e82e5f3713ffe71638ecfd59"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::bin::codeg_server::main (cyclomatic 18): codeg::bin::codeg_server::main 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":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c285bc4befee1a8505253a47c010fc1f68d8f93a5f6fe907a5c7fb7363df88"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::chat_channel::session_commands::handle_task (cyclomatic 18): codeg::chat_channel::session_commands::handle_task has cyclomatic complexity 18 (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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139af041f57accf82c3def4c6fc656eb2397863e4916ed7b9b6c19a0f7125c5"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::cli::run::drive_loop (cyclomatic 18): codeg::cli::run::drive_loop has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"debd4e7dfa49a8f7e93acc9eee008a1b5efa979e63ff0a71ae0508c569f6b7fb"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::apply_kimi_managed_block (cyclomatic 18): codeg::commands::acp::apply_kimi_managed_block has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::acp::cascade_update_agent_config (cyclomatic 22) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5fae2c93756d8b6897643752a05c9177aedb63309c9f580189da98dd06c4b6"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::folder_commands::load_package_scripts_as_commands (cyclomatic 18): codeg::commands::folder_commands::load_package_scripts_as_commands has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_commands.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb08e3859bdbd94212dd7f87258451d4b5767d76f5aac7e98b03d954e85071b5"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::folders::git_remove_worktree_core (cyclomatic 18): codeg::commands::folders::git_remove_worktree_core has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81d1c8a9113cb1a7370565d41e0f4c6c64af24b8aed2ee905c01b7be894793"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::mcp::canonicalize_spec (cyclomatic 18): codeg::commands::mcp::canonicalize_spec has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::mcp::read_servers_for_agent_type (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a334db402bea60e5c52c225b5dbec77457e796a9d14054c79ac7afa33e4153"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::mcp::canonical_to_grok_entry (cyclomatic 18): codeg::commands::mcp::canonical_to_grok_entry has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::mcp::read_servers_for_agent_type (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b208ec22a418e9c8b93db8047944de7298a6d18f2f119343cd0caaf138f67e7"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex::decode_json_string_prefix (cyclomatic 18): codeg::parsers::codex::decode_json_string_prefix has cyclomatic complexity 18 (threshold 15). Of this number, 17 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2c337cdbddd2932271f5e77c769f0036aaacff41328f59ed48a421ce5ab731"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::pi::parse_session (cyclomatic 18): codeg::parsers::pi::parse_session has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c13f6f54e9e45cd58ca85edbc08a65fe5a441e0d46c6d6ff8d0c92cc3fe3247"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::work_task::engine::compose_prompt (cyclomatic 18): codeg::work_task::engine::compose_prompt has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":7738}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f227c442db8b583f475c6d484af371cb6c38a6819b497ecf6c21de0e4976c16"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::workspace_state::get_workspace_snapshot_core (cyclomatic 18): codeg::workspace_state::get_workspace_snapshot_core 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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feee0723919d72f50cf55a04cb25528206da47b0c8a3c63dadb2a4dcfdd754e"}},{"ruleId":"D1","level":"warning","message":{"text":"jats_to_text.main (cyclomatic 18): jats_to_text.main has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/jats_to_text.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bbe11ce9b7bd5ed0c04541f3357253678767e511dd69bae1f4aeb48f91c1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"_common._scan_structure (cyclomatic 18): _common._scan_structure has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b61fe2d3fe7106dcf3b61865a39d8a6a3386a065a8f7ac20b4791562d8dca3a"}},{"ruleId":"D1","level":"warning","message":{"text":"_common._validate_scale (cyclomatic 18): _common._validate_scale has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8481eae546dde51d9925d59deefc239d798137be9b7ca1e0a0a51acd7305c7"}},{"ruleId":"D1","level":"warning","message":{"text":"summarize_agreement.read_rows (cyclomatic 18): summarize_agreement.read_rows has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c9e095c748971d067ee9b39d3a3e5e2c7ee4ede10284ec6e543ab787e494d4"}},{"ruleId":"D1","level":"warning","message":{"text":"summarize_agreement.summarize (cyclomatic 18): summarize_agreement.summarize has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab984bfd0a680cc616436ce2833b33b6f8f0659abe47fe856a4679a95e3414ab"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_matrix.load_criteria (cyclomatic 18): evaluate_matrix.load_criteria has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/evaluate_matrix.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413886c0ba97863acfea343c73999a222a0981812bbd04cc11e14570a6002fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ScientificSchematicGenerator.review_image (cyclomatic 18): ScientificSchematicGenerator.review_image 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":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ddbc02d59d5cdd9c35f0a400b281665c1cd70100258c9528c4b20e0bf95906"}},{"ruleId":"D1","level":"warning","message":{"text":"figure_export.save_for_journal (cyclomatic 18): figure_export.save_for_journal 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":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"994a9ad77534f7bb9079082007b8fbdf2117d5229a1374240a553310e8b8b063"}},{"ruleId":"D1","level":"warning","message":{"text":"assumption_checks.check_regression_diagnostics (cyclomatic 18): assumption_checks.check_regression_diagnostics 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":"src-tauri/science/skills/statistical-analysis/scripts/assumption_checks.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a917f177b816ec99fdbc4410c2206e8bc175256058000854fa15429e95f9d8"}},{"ruleId":"D1","level":"warning","message":{"text":"usePetSessions.usePetSessions (cyclomatic 18): usePetSessions.usePetSessions 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 83, 64, 73, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetSessions.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"068544940283d2770b7518d4bf1e1cd914a6972dc499a64b0522b2ad640b2cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"automations-page.AutomationDetail (cyclomatic 18): automations-page.AutomationDetail has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e52fe2bce3f13e97031bf3f234b4c1b98933a148989a932ac0f78bccd94282f"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-bridge-view.BrowserBridgeView (cyclomatic 18): browser-bridge-view.BrowserBridgeView has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 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":"src/components/browser/browser-bridge-view.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57ce547bff3aaebf08a8d5f5e3f1998505e7de615d619258119bd7f7d73d7df"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-model.computeRegionMembers (cyclomatic 18): canvas-model.computeRegionMembers has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21a0f8c73e02cb5fbb7f5fbcea56d23b8ae5358645a7a2567ae726128a7bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-start-dialog.ForgeStartDialog (cyclomatic 18): forge-start-dialog.ForgeStartDialog has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (submit, a function literal at line 120, a function literal at line 198, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-start-dialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4753ed32e60b84a0d84d8b3573de845e50731bd678cb3585e697251a979b02"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-new-issue-dialog.ForgeNewIssueDialog (cyclomatic 18): forge-new-issue-dialog.ForgeNewIssueDialog has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 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":"src/components/forge/forge-new-issue-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2169fca453b6329aaab68fb95d26efabda39e823398565389559a0ef03f7d338"}},{"ruleId":"D1","level":"warning","message":{"text":"git-log-branch-filter-list.GitLogBranchFilterList::renderRow (cyclomatic 18): git-log-branch-filter-list.GitLogBranchFilterList::renderRow has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8353cdfe26fd860e82b767e0b83ae7c9b383ba4d993256de42553dd508a0c2"}},{"ruleId":"D1","level":"warning","message":{"text":"command-rows.CommandGroupRow (cyclomatic 18): command-rows.CommandGroupRow has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"093791aab2d85b9d417d8c2f3066ab56717ad13a1df0b991677774a03d578717"}},{"ruleId":"D1","level":"warning","message":{"text":"create-project-dialog.CreateProjectDialog (cyclomatic 18): create-project-dialog.CreateProjectDialog has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea7c3a56471a537e304aa6159b29c54323e8b43903580830dd7fcdda24b6b9"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.patchCodexConfigTomlText (cyclomatic 18): acp-agent-settings.patchCodexConfigTomlText 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3123663a7e11412028f9968444ad36fc5a905c0009756152f48105ea446211c"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-background-market-dialog.MarketCard (cyclomatic 18): workspace-background-market-dialog.MarketCard 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":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa90c70b22dda42d512e249553a59b47467bb098ee33be1980dbd83597179d80"}},{"ruleId":"D1","level":"warning","message":{"text":"computer-settings.BlocklistRow (cyclomatic 18): computer-settings.BlocklistRow has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (add, a function literal at line 699, a function literal at line 812, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa2d0f49ca1e10a224fd6cc6701c1ba85dafb9bc8476ea5fb47709082cdec63"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-models.ModelIdInputWithFetch (cyclomatic 18): provider-models.ModelIdInputWithFetch has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d20acb0a966facb8e4acffa202298a1fe3c224f6e4604abb2d3abba854f468"}},{"ruleId":"D1","level":"warning","message":{"text":"task-schedule-dialog.TaskScheduleDialog (cyclomatic 18): task-schedule-dialog.TaskScheduleDialog has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 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":"src/components/tasks/task-schedule-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a885172783aa8e1744f87edcc315193a26922b5ba66cdb3ba7192f0f7215d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"app-workspace-context.AppWorkspaceProvider (cyclomatic 18): app-workspace-context.AppWorkspaceProvider 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 10 function literals inside it that branch (lines 233, 143, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/app-workspace-context.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"680cdca650fbc6971fe4377d043f2f9f883f6ae612762e624fb3985e6ab05d14"}},{"ruleId":"D1","level":"warning","message":{"text":"use-open-url-target.useOpenUrlTarget (cyclomatic 18): use-open-url-target.useOpenUrlTarget 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 2 function literals inside it that branch (lines 137, 200). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-url-target.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5897868ed91fadf9ce0a05f590273e4b032f49d6753c29328352451c2dcf254"}},{"ruleId":"D1","level":"warning","message":{"text":"types.parseCodexModelConfig (cyclomatic 18): types.parseCodexModelConfig has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdabb6ccc098b26c5d33f1cbafaf1add4c8d0b41c9cae06e926af73a1a9c4e65"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg-mcp-tool.readTaskAck (cyclomatic 18): codeg-mcp-tool.readTaskAck has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c7714e994f13f799387ab62e92a63359e17df006beca22021417eb35e3f09d"}},{"ruleId":"D1","level":"warning","message":{"text":"permission-request.extractContentText (cyclomatic 18): permission-request.extractContentText has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"822a89506190f29ff9526482be0ac2e863d1d84ceb916f68e51c3efa13325ecb"}},{"ruleId":"D1","level":"warning","message":{"text":"reference-link.destinationEnd (cyclomatic 18): reference-link.destinationEnd has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/reference-link.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee1d24a6b61299aae0e5b0e0c1a43fd3f4e2d8fa695a53e034267a3ca14eee"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-link-action.resolveLinkAction (cyclomatic 18): resolve-link-action.resolveLinkAction 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":"src/lib/resolve-link-action.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4dc3c6cb080320e6f5ccb9b3c750c81ea02275c3e721cecd0a6d11d8b5984f"}},{"ruleId":"D1","level":"warning","message":{"text":"session-files.parseUnifiedDiffSections (cyclomatic 18): session-files.parseUnifiedDiffSections has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c3e7f85728363e6844e4b0c7aafc72473bf30fa899aca5c28a3762b0ae65c"}},{"ruleId":"D1","level":"warning","message":{"text":"CliRunService::apply_selections (cyclomatic 17): CliRunService::apply_selections has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18045e83eb95ba73e20cc631b877a39fb14c41629f90cab511db68aa05f66c2"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEngine::recover_merging (cyclomatic 17): TaskEngine::recover_merging has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c09b0790a3f1838137d024375666124d1d5fb3e03270c37d385c2dc673e3dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEngine::reconcile_once (cyclomatic 17): TaskEngine::reconcile_once has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6703}}}],"partialFingerprints":{"codehealthFindingId/v1":"62782fd639b5666434935b6eb5c2bfa6ea1ed7af1a111b4cfbbaec2b98ffde38"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::delegation::companion::render_session_summary_text (cyclomatic 17): codeg::acp::delegation::companion::render_session_summary_text has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9606ba1e0ba52b278af97d0bb26a30cc5fab352b90ac2be562d072394d0f1"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::question::build_elicitation_response (cyclomatic 17): codeg::acp::question::build_elicitation_response has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949889b9a29063394feef778296b4c2199251a7b31bf5d129a78b4533e7c2d8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::build_kimi_managed_spec (cyclomatic 17): codeg::commands::acp::build_kimi_managed_spec 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 is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::acp::cascade_update_agent_config (cyclomatic 22) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5887}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ee2a601f0a116a6bd1cea5b77cdacd3e09da2bfe81b2a6af773d90a98731c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::project_boot::create_hyperframes_project (cyclomatic 17): codeg::commands::project_boot::create_hyperframes_project has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a90bf1ca3c82599b22ecf3d3edbb73e94b6fcfb96f5bf77950348b1be864f"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::computer::targets::resolve (cyclomatic 17): codeg::computer::targets::resolve has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73f4e976d5340295814bc7bf7144ee69252cfebe03850a5ea7f1098f4150371"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::span_is_inert (cyclomatic 17): codeg::parsers::codex_code_mode::span_is_inert has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d55db8d9f45a6e7299ca39cfa07831e8314c37a2e34cf99030e57a815ab54c8"}},{"ruleId":"D1","level":"warning","message":{"text":"_tabular.profile_json_structure (cyclomatic 17): _tabular.profile_json_structure has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_tabular.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a229ac9d0729718b4b8ed82855f079fc511dd543fb7546091a94d9bee12c050"}},{"ruleId":"D1","level":"warning","message":{"text":"select_reporting_guidelines.assess (cyclomatic 17): select_reporting_guidelines.assess has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/select_reporting_guidelines.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e6246d42e0d995b921ff22fc9abf123744320fc7bc2eb565058e1e347af3da"}},{"ruleId":"D1","level":"warning","message":{"text":"page.PushPageInner (cyclomatic 17): page.PushPageInner has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"src/app/push/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad50c02d59bd51f95ef043f9d6020495a1c75ac2dd56e6c76969b0ad1796bb64"}},{"ruleId":"D1","level":"warning","message":{"text":"picker.owns (cyclomatic 17): picker.owns has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e492eb933222f713939e250a424406267f30d50a8f5b941172bb03331dfa00"}},{"ruleId":"D1","level":"warning","message":{"text":"picker.fitOverlay (cyclomatic 17): picker.fitOverlay has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac02a3c70cfc63a971ee6133dc1376d68bb1b01228323cce3d09eed944c0e154"}},{"ruleId":"D1","level":"warning","message":{"text":"picker.scrollableFrom (cyclomatic 17): picker.scrollableFrom has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa6cd9243e80a98431816818cfab2a834640b8ae8b1b9a33cc6ef50211d8125"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-local-image.LocalMarkdownImage (cyclomatic 17): markdown-local-image.LocalMarkdownImage has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/markdown-local-image.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"55479c685b4c00d99e51a6af707e446f548743c08a8370f946f9c9dd905cf9ed"}},{"ruleId":"D1","level":"warning","message":{"text":"remark-windows-paths.destinationRange (cyclomatic 17): remark-windows-paths.destinationRange has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cbc005b422683c1a47697bf8d276735df3fd494d7d8c8211f6229facbab4ae"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-invocations.ComposerInvocationsPopup (cyclomatic 17): composer-invocations.ComposerInvocationsPopup has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 365, 324, 322, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f943bce4e56856a7d4e209d2b10145dc6d30efc62749bb2025b0dd42dedec3"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-context-bar.ConversationHeaderFolderPicker (cyclomatic 17): conversation-context-bar.ConversationHeaderFolderPicker 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b005fa402911b3c02067012bd9640ec204a5868608d8602d4e7647375760d89a"}},{"ruleId":"D1","level":"warning","message":{"text":"quick-actions.QuickActions (cyclomatic 17): quick-actions.QuickActions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 387, 421, 463, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ee92aa8398460284051fbd41da1e6854f4b1c2a03a82e5278560854701fef"}},{"ruleId":"D1","level":"warning","message":{"text":"session-settings-picker.SessionSettingsPicker (cyclomatic 17): session-settings-picker.SessionSettingsPicker has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 188, 92, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/session-settings-picker.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1204f1cc588e091bd9fdb905d15de570666b56f28875c80aed19bac92b6a37e8"}},{"ruleId":"D1","level":"warning","message":{"text":"group-split-handle.GroupSplitHandle (cyclomatic 17): group-split-handle.GroupSplitHandle has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 35, 54, 65, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/group-split-handle.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"08621f4f4234634693f3da33078322c08c65105a03d17d8acb4316770821399c"}},{"ruleId":"D1","level":"warning","message":{"text":"file-path-breadcrumb.DirectoryTree (cyclomatic 17): file-path-breadcrumb.DirectoryTree has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 241, 297, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-path-breadcrumb.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e96f54fa54b143c9f02b6366e2ead1fa840c841b7904ac29b97b5168f1fcef"}},{"ruleId":"D1","level":"warning","message":{"text":"forge-auto-settings.ForgeAutoActivity (cyclomatic 17): forge-auto-settings.ForgeAutoActivity has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d85a90a98f6dce36f388f247176ff123acb56f845c64ce896c6fd53da81e90e"}},{"ruleId":"D1","level":"warning","message":{"text":"branch-selector-list.BranchSelectorList::renderRow (cyclomatic 17): branch-selector-list.BranchSelectorList::renderRow has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cf13f68bc6e9c551678da672ff57f4a2f8f35505efc851fa96876f06289e2a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-timeline-window.useTimelineWindow.update (cyclomatic 17): use-timeline-window.useTimelineWindow.update has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b329284214ea89ca5a31fe875fd6605996ab6d2a8c7ad6f38c821e9fb30004"}},{"ruleId":"D1","level":"warning","message":{"text":"add-forge-account-dialog.AddForgeAccountDialog (cyclomatic 17): add-forge-account-dialog.AddForgeAccountDialog has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9384736d78507ee7e030cd5beeb1db4e4d3c00a87364cd6988325e5124ea4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-diagnostics-dialog.AgentDiagnosticsDialog (cyclomatic 17): agent-diagnostics-dialog.AgentDiagnosticsDialog has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-diagnostics-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f40f091d3aca24e4b6a0356cbea8fdcfd5eba083d18a488e201d1c388c78d"}},{"ruleId":"D1","level":"warning","message":{"text":"required-agent-options.useRequiredOptionsGate.gate (cyclomatic 17): required-agent-options.useRequiredOptionsGate.gate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a960ee787b6259f09df75779dcc3341637de66da96603f7addeb3e19de0abb1b"}},{"ruleId":"D1","level":"warning","message":{"text":"weixin-qrcode-dialog.WeixinQrcodeContent (cyclomatic 17): weixin-qrcode-dialog.WeixinQrcodeContent has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 68, 113, 57, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/weixin-qrcode-dialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c2dae5fef1888b39d6b799d67ca336c256be23d4a6237324ab2692194fd29a"}},{"ruleId":"D1","level":"warning","message":{"text":"generative-ui-settings.GenerativeUiBody (cyclomatic 17): generative-ui-settings.GenerativeUiBody has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 104, 56, 128, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/generative-ui-settings.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f65a2c76ae090d67476bd2c280a2271fedbf79fd508c86abe6f3d9d10a38716"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-settings.parseParameterValues (cyclomatic 17): mcp-settings.parseParameterValues has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b399f3bdb3a41077dfd307bc14998f429bdb95f0f6fcc2c30b1110b2cf518"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-connections-context.applyStreamingAction (cyclomatic 17): acp-connections-context.applyStreamingAction has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13eb4d9622db5d1aab5a419b1c2ea0147d1accd992f342d0fc030d771e77ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.mcpResultPayload (cyclomatic 17): mcp.mcpResultPayload has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/mcp.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"187e383748fe5f00c14b38ce08b2b0ab9298cfb2a7a47f2840dbe0f80290d06a"}},{"ruleId":"D1","level":"warning","message":{"text":"types.serializeCodexModelConfig (cyclomatic 17): types.serializeCodexModelConfig has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5903}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d8e3d96a684962b15670b8194f366dc7a3d030bafbef4f97cf0d18762699e"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-view-storage.parseDraft (cyclomatic 17): canvas-view-storage.parseDraft has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/canvas-view-storage.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccad34f00d51bb1ec90c60eba44aefd60aaf0d74da2f117e074a6888b4af0ba"}},{"ruleId":"D1","level":"warning","message":{"text":"html-preview-inline.parseSrcset (cyclomatic 17): html-preview-inline.parseSrcset has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cd15acc30130ee9229cd7c0315ca965b804ace95baeebca46df52536400231"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-visualize.findHtmlFileMentions (cyclomatic 17): codex-visualize.findHtmlFileMentions has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d97ed082f045b866019817171c80a51b6c83b32ed14f43f2902b11a8d001e"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-mcp-oauth.updateKimiMcpOAuth (cyclomatic 17): kimi-mcp-oauth.updateKimiMcpOAuth has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-mcp-oauth.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a07944f57a03c1b49ce5d2af1eb8dee24e7af114961c474e9b693e9749b88"}},{"ruleId":"D1","level":"warning","message":{"text":"line-change-stats.countUnifiedDiffLineChanges (cyclomatic 17): line-change-stats.countUnifiedDiffLineChanges has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/line-change-stats.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cf9f7d3a7d51eb62b396e6582517fc95ac9a9e18204af89491f83f30d2a1de"}},{"ruleId":"D1","level":"warning","message":{"text":"live-runs.collectLiveRuns (cyclomatic 17): live-runs.collectLiveRuns has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/live-runs.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d74f3553b7f80a5d6322d51b952c0dabef46624544884b09e0b1a5d84db151"}},{"ruleId":"D1","level":"warning","message":{"text":"unified-diff-generator.generateUnifiedDiff (cyclomatic 17): unified-diff-generator.generateUnifiedDiff has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/unified-diff-generator.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f81856058b65a330fbcf3bc1a7423d4b3178376293f04ea44d9c38d84b2d07"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-runtime-store.sameBuiltValue (cyclomatic 17): conversation-runtime-store.sameBuiltValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"557b3436a4494eaaca24a7c1a453cd025489445ff737a4d844f9cd5604eabcb1"}},{"ruleId":"D1","level":"warning","message":{"text":"folder-tabs-store.useFolderTabsStore (cyclomatic 17): folder-tabs-store.useFolderTabsStore has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 106, 90, 119, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/folder-tabs-store.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e5251fa8c6f0cba22996506ba2995677f5a77863bd873015aa627f54c40fa"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexService::start_build (cyclomatic 16): IndexService::start_build has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ff7ac2cd14b7f87faeb3e3a7623f3cba0635a831ffeedefa1a16fc736e5597"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoProcessor::scan_into (cyclomatic 16): AutoProcessor::scan_into has cyclomatic complexity 16 (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":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3546f4c0a637384005edf28a21510f5bd9e630f5895a0839a985771666caef4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBuddyParser::parse_summary (cyclomatic 16): CodeBuddyParser::parse_summary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b6d3afb2597d15c2bbf9c84e5db4b37817e5abc80ff7aee45ce4a019a26c5"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskEngine::run_preflight (cyclomatic 16): TaskEngine::run_preflight has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0ba4fef62d86932c1d41318097a544b62ab67d567c3acb5bada50431f6228"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::codex_catalog_refresh::assess (cyclomatic 16): codeg::acp::codex_catalog_refresh::assess has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8390d82dd0017daa228081eeabd03da31bb1defb0af0c08d44c5f67c3b4a561d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::connection::c_unquote (cyclomatic 16): codeg::acp::connection::c_unquote has cyclomatic complexity 16 (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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4b1861e2f02f3cadc2d545c2b300a5a73fea6c63fb4cca015a585999d1ef22"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::skip_js_template (cyclomatic 16): codeg::acp::lifecycle::skip_js_template 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"199a7079c03e24fada7619ce8f9820638b6eff2f1f91ebece285f59a97e120a3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_find_key (cyclomatic 16): codeg::acp::lifecycle::code_mode_find_key has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f718110182384ded1ed35e1874909e36559854ef2cad0d6b931078feb1a971b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::acp::question::validate_specs (cyclomatic 16): codeg::acp::question::validate_specs has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b259b89e891dc3b7bee2b9acac8adec08b14473f371d5975c98e4ab4187f61"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::browser::capture::fit_within (cyclomatic 16): codeg::browser::capture::fit_within has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/capture.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686feb5a4048450f5b53701e2e3e6dd6abdfc1ae8f1e9ddf7eb727146180b03"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::cli::render::describe (cyclomatic 16): codeg::cli::render::describe has cyclomatic complexity 16 (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":"src-tauri/src/cli/render.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5164e6749a81ad4588a01048dda399712b66ff196c9e32f9e73356e2f65304d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::project_kimi_managed_config (cyclomatic 16): codeg::commands::acp::project_kimi_managed_config has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::acp::cascade_update_agent_config (cyclomatic 22) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ecd050e8cba23dc63c07f6b6e2de386042c2c2b4f00cd77ffdf1dd929ec7a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::acp::plan_hermes_write (cyclomatic 16): codeg::commands::acp::plan_hermes_write has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::commands::acp::cascade_update_agent_config (cyclomatic 22) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7981db4ea2a71d9b476cd1b271452cca02e075e11c5dd86cec3c541c93a8a26f"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::office_tools::officecli_uninstall (cyclomatic 16): codeg::commands::office_tools::officecli_uninstall has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c667edb661d5a700659bf63275f663819d008cbf8a71e7cbba86b716acdda3"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::commands::project_boot::create_shadcn_project (cyclomatic 16): codeg::commands::project_boot::create_shadcn_project has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"547bf39dc3bb4a6c0c6c7368ffab1b77a1dc6f00a4f3a4b21d4fbfec861267fd"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::db::service::canvas_service::create_node (cyclomatic 16): codeg::db::service::canvas_service::create_node has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f50201f8a726577b14d997eb06a0ac75e68f8030e92a21f4121559a97cb245c"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::db::service::canvas_service::group_into_region (cyclomatic 16): codeg::db::service::canvas_service::group_into_region has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c074ac3ba7f95dde5540ab4f0c81a9a3f9ba58d45eeb6f1bfce18e086a2d299e"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::relocate_orphaned_tool_results (cyclomatic 16): codeg::parsers::relocate_orphaned_tool_results has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: codeg::parsers::build_agent_parser (cyclomatic 17) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"702a2d1c788fe3037283a25884da8c640c4934ed99fb7d01dce072333e4b6561"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::acp_native::apply_update (cyclomatic 16): codeg::parsers::acp_native::apply_update has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3757616e7ec14dacf2366324a9cc93e14b41dd0ef81a369f75053afd5e50a8"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::claude::pending_command_verdict (cyclomatic 16): codeg::parsers::claude::pending_command_verdict has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2076d4a04a84567a5f657424fd659f2a5d8ecb816b2df3fad8ff37856322dd4"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::claude::user_content_blocks (cyclomatic 16): codeg::parsers::claude::user_content_blocks has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"b127133f561460ea435739e6f2c36056cd2f01aa540a8406a0131082b2153c90"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::expand_table_fanout (cyclomatic 16): codeg::parsers::codex_code_mode::expand_table_fanout has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee03562f86b900ab8b940870105b3a218d0b6a0eac4ec62f93f6a03bb7093eac"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::win32::join (cyclomatic 16): codeg::parsers::codex_file_citations::win32::join has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"08896051da11b3eab94265facc29d953272099ae744286713a8eba73c7ba957b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeg::web::browser_tunnel::session (cyclomatic 16): codeg::web::browser_tunnel::session has cyclomatic complexity 16 (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":"src-tauri/src/web/browser_tunnel/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9636d7c93955c114810209e46121a5b44b99b6da994ec64f706c6c7d5d176c5"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataExtractor.metadata_to_bibtex (cyclomatic 16): MetadataExtractor.metadata_to_bibtex has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ea42d862c4072f5efa42473d13c8b82ec1959b08c7b9deb7088390775d87a"}},{"ruleId":"D1","level":"warning","message":{"text":"extract_metadata.main (cyclomatic 16): extract_metadata.main has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273e013164bd910411a0873ab696628e9575e68eb3b35842d32cf0793a5f4c6"}},{"ruleId":"D1","level":"warning","message":{"text":"_common.read_csv_records (cyclomatic 16): _common.read_csv_records has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a4c74724874196bbe36454323d2b9d4e3b8eada7f9432f0108c1567dfc241f"}},{"ruleId":"D1","level":"warning","message":{"text":"page.CommitPageInner (cyclomatic 16): page.CommitPageInner has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"src/app/commit/page.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d059c15d101ca91e85bba0be3f90cf54c5aaebf880b3f0f4ff77f837d15fa"}},{"ruleId":"D1","level":"warning","message":{"text":"page.MergePageInner (cyclomatic 16): page.MergePageInner has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"src/app/merge/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c3c6067598a72dcdb1e4df93f262a72b86a269a39883b1b24e0f29db117d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"picker.ensureOverlay (cyclomatic 16): picker.ensureOverlay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f280edf079f712b00f6e33999ac426a5900dc7e71166cf4f50ba4f1b436666fd"}},{"ruleId":"D1","level":"warning","message":{"text":"reference-text.referenceToMarkdown (cyclomatic 16): reference-text.referenceToMarkdown has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/reference-text.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac87ded66e388e19352f134412c0fc3aefb4f19fa895bb05112666be2e0ec99"}},{"ruleId":"D1","level":"warning","message":{"text":"web-connection-guard.WebConnectionGuard (cyclomatic 16): web-connection-guard.WebConnectionGuard has cyclomatic complexity 16 (threshold 15). Of this number, 13 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":"src/components/connection/web-connection-guard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"45718d2662911806711123939c014b64136b625acd5c409b8e0dd0540ac04a93"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-detail-panel.ConversationDetailPanel::renderTabWrapper (cyclomatic 16): conversation-detail-panel.ConversationDetailPanel::renderTabWrapper has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"a281de47e013215db15c9e43222d364336147d8a7781ce33e17780a07b9ec0bf"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar-folder-group-header.SidebarFolderGroupHeader (cyclomatic 16): sidebar-folder-group-header.SidebarFolderGroupHeader has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b86851621bb40fed2d0c96555cbd7d08f441c2fd91e43ff6851e4771f1d189"}},{"ruleId":"D1","level":"warning","message":{"text":"unified-diff-preview.classifyRows (cyclomatic 16): unified-diff-preview.classifyRows has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"13721c816e5f35acb2f68a8b4608ab35c7932a7ab1bfcc92b1a76e24295ee9db"}},{"ruleId":"D1","level":"warning","message":{"text":"file-workspace-tab-bar.FileWorkspaceTabBar (cyclomatic 16): file-workspace-tab-bar.FileWorkspaceTabBar has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4dae96bb297e0b237c622a1f0c49a80f1006efaf17d84915c9f05ebb934848"}},{"ruleId":"D1","level":"warning","message":{"text":"pattern-list-input.PatternListInput (cyclomatic 16): pattern-list-input.PatternListInput has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 125, commit, a function literal at line 104, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/pattern-list-input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e7cfb71eb1fff79e0863786ceff9d19e68fcce9d5da5b3ab7b0264505ed192"}},{"ruleId":"D1","level":"warning","message":{"text":"aux-panel-file-tree-tab.buildDirectoryGitTree (cyclomatic 16): aux-panel-file-tree-tab.buildDirectoryGitTree has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bba1a923b3b1154f50d2498aa925724a5ebf661a0279d7ae98f5c0eae5cc33f"}},{"ruleId":"D1","level":"warning","message":{"text":"commit-untracked-files-dialog.CommitUntrackedFilesDialog (cyclomatic 16): commit-untracked-files-dialog.CommitUntrackedFilesDialog has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 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":"src/components/layout/commit-untracked-files-dialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7441087e9c9d25615e377f5653babc0de2cbea800c6592494e1a0b0d9b00d0de"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-row.EditDiff (cyclomatic 16): edit-row.EditDiff has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df2a3b55b32e10a89d389b4bfc10e0b7d8c5ace67da318d8a43c8107fefd4e7"}},{"ruleId":"D1","level":"warning","message":{"text":"file-reference-actions.FileReferenceActionsMenu (cyclomatic 16): file-reference-actions.FileReferenceActionsMenu has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 152, handleDownload, a function literal at line 123, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/file-reference-actions.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2fbdf19325f0b645ec109b1caaa9efb9ef7654af6e9b214b3cccd80ba4774a"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-message-nav.MessageNavRow (cyclomatic 16): conversation-message-nav.MessageNavRow has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaeb2fb80a2d70da23cbdb2fb63b02a4ad6b975f9266243f18fe7b4e24b415b"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-agent-settings.AcpAgentSettings::handleFixAction (cyclomatic 16): acp-agent-settings.AcpAgentSettings::handleFixAction 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: 2 other methods here (acp-agent-settings.AcpAgentSettings, acp-agent-settings.AcpAgentSettings::renderFixButton) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa56d292de3ec8e411ec6e716adc37182a1c9229f30d0e2f56b3b02f4a592f"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-agent-skills-toggle.CustomAgentSkillsToggle (cyclomatic 16): custom-agent-skills-toggle.CustomAgentSkillsToggle has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 100, 80, 56). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-agent-skills-toggle.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbf4e69a045e05c825b6d27e269b44595daa43b36e54bf7aeca17bc18226301"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-tab-bar.TerminalTabBar (cyclomatic 16): terminal-tab-bar.TerminalTabBar has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 112, commitRename, a function literal at line 88, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6d6556b5c71c17eeb48d2dcf8c666fcf67b73cb8bcc8938ec36d413bce2112"}},{"ruleId":"D1","level":"warning","message":{"text":"deep-link-bootstrap.PetFocusBridge (cyclomatic 16): deep-link-bootstrap.PetFocusBridge has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 160, 173, 232, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/deep-link-bootstrap.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6cd6849ee76452d08fa68ef5302ad58577f76330d026ca75097cf543fa6a84"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-connections-context.mergePermissionToolCallWithLiveInfo (cyclomatic 16): acp-connections-context.mergePermissionToolCallWithLiveInfo has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda8e7ecaa106650b271a0d1ad1555e5d9fdf28662f6b803439587bd25527967"}},{"ruleId":"D1","level":"warning","message":{"text":"use-file-tree.useFileTree (cyclomatic 16): use-file-tree.useFileTree has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 85, 64). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-file-tree.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3afeab76acd43aa5b5c535f784ec7dab55ae97a9b8c6250d0d6f9a977744c2"}},{"ruleId":"D1","level":"warning","message":{"text":"exit-meaning.gitAnswer (cyclomatic 16): exit-meaning.gitAnswer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ff5154fb0f02492f1789e68194e32ad1477716321ef2eb4409395270ef800"}},{"ruleId":"D1","level":"warning","message":{"text":"exit-meaning.readCommandExit (cyclomatic 16): exit-meaning.readCommandExit has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6361c6edf7c0ce5f5dda69a09cdefaea43eb1695728ff9eacf212060f9526395"}},{"ruleId":"D1","level":"warning","message":{"text":"code-mode.codeModeCalls (cyclomatic 16): code-mode.codeModeCalls has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/code-mode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f5d6599de38c19d4f96d80dc86972dbd1e5178b83cc7639d66cbdfbf80b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"describe-tool-call.describeMonitor (cyclomatic 16): describe-tool-call.describeMonitor has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"107781c1bb3c76a002bf0b989a28eb19dc699874654525ae4e17068149c71596"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-elements-adapter.expandGoalUpdateText (cyclomatic 16): ai-elements-adapter.expandGoalUpdateText has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4adc4fdecf9374722ee38519ce4a60100e51106d28cf9a96a70a90d472da26"}},{"ruleId":"D1","level":"warning","message":{"text":"background-task.buildBackgroundTaskRows (cyclomatic 16): background-task.buildBackgroundTaskRows has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 759, record). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"8181e9e6afcf00710f8b2eac408c3d95b4115cf1e91a89cec82bb8780aa26545"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-agent-grant.applyDefaultAgentGrant (cyclomatic 16): browser-agent-grant.applyDefaultAgentGrant has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-agent-grant.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b9861f0910b319682781bd20b2c1730a9446ab8b80940731f76d686c7c633f"}},{"ruleId":"D1","level":"warning","message":{"text":"delegation-status.findTaskIds (cyclomatic 16): delegation-status.findTaskIds has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc2ebfbeccd1dc568450b6b1bd2d9050439849d0ff11918f787e169f32ccca"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop-notification.notifyDesktop (cyclomatic 16): desktop-notification.notifyDesktop has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/desktop-notification.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"caad3733f71ffe4f0cecdb0866d2dfd565983d55b666ca51ba6f478b1d2d2ccd"}},{"ruleId":"D1","level":"warning","message":{"text":"export-conversation.blocksToHtml (cyclomatic 16): export-conversation.blocksToHtml has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 236). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08ea5410234faa6df8485ff26bf33be9762d51eed103caae5b1b4c403ba81b"}},{"ruleId":"D1","level":"warning","message":{"text":"model-api-rates.resolveRate (cyclomatic 16): model-api-rates.resolveRate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/model-api-rates.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128a1b0f3c629cbb6f7b87675790fc9434fa79d921c0a5bac16f5847bed49ce"}},{"ruleId":"D1","level":"warning","message":{"text":"permission-request.buildDiffPreviewFromChanges (cyclomatic 16): permission-request.buildDiffPreviewFromChanges has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e167a0ae9413decc7565199e5cabbd7efd6783560862f6417e726abf4b6f2ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"update-check-storage.readLastCheck (cyclomatic 16): update-check-storage.readLastCheck has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/update-check-storage.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb0b2d23d66fb0990352a94e46eaf01f8966477b68809afda74cfc28c82029"}},{"ruleId":"D1","level":"warning","message":{"text":"updater.normalizeAppUpdateError (cyclomatic 16): updater.normalizeAppUpdateError has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/updater.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89c161bd37f6076b9e14e1449ec6fe9a84e585cf62fe54947b17a74372253db"}},{"ruleId":"D1","level":"warning","message":{"text":"codegConsoleShim (cyclomatic 16): codegConsoleShim has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"360a36c4e595ab7b8afec3ef54136d96be7342212beeb1aeaf3af0c98f354045"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.AcpAgentSettings (cognitive 971): acp-agent-settings.AcpAgentSettings has cognitive complexity 971 (threshold 15). Drivers by points: ternaries 226 (1267 pts), if/else 243 (521 pts), boolean chains 217, error handling 28 (73 pts), loops 8 (11 pts) (nesting depth added 1367). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (acp-agent-settings.AcpAgentSettings::renderFixButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4973}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c1bbd309991446a0ae3f68600acf578777e05c209d8d3d712fac6944a2e97e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexParser::parse_conversation_detail (cognitive 873): CodexParser::parse_conversation_detail has cognitive complexity 873 (threshold 15). Drivers by points: if/else 158 (729 pts), match/switch 20 (94 pts), loops 8 (34 pts), boolean chains 16 (nesting depth added 671). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3241}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dd5a0bb02a16d6e5c27e11c21d53cd70e207d1855e862f596d0381d045df1e"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-connections-context.AcpConnectionsProvider (cognitive 610): acp-connections-context.AcpConnectionsProvider has cognitive complexity 610 (threshold 15). Drivers by points: if/else 252 (384 pts), boolean chains 71, ternaries 30 (64 pts), loops 44 (62 pts), error handling 18 (25 pts), match/switch 3 (4 pts) (nesting depth added 192). None of this is in the body itself: all 610 points belong to 98 function literals inside it that branch (lines 5279, 7316, 4344, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a977830359948acc4a2d16dbf0eec3eabf4860f51d09e62225875eef984aab9"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-context.WorkspaceProvider (cognitive 538): workspace-context.WorkspaceProvider has cognitive complexity 538 (threshold 15). Drivers by points: if/else 233 (308 pts), ternaries 81 (106 pts), boolean chains 88, error handling 15 (22 pts), loops 14 (nesting depth added 107). Most of this is not in the body itself: 6 of the 538 points are its own statements and the rest belongs to 128 function literals inside it that branch (lines 2364, 2668, 1126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"699ed5bb4c200e2c00deabd9b5ef4806e54f40accf4f19b310752412512db816"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.useTabStore (cognitive 378): tab-store.useTabStore has cognitive complexity 378 (threshold 15). Drivers by points: if/else 160 (224 pts), ternaries 42 (68 pts), boolean chains 64, loops 13 (16 pts), error handling 4 (6 pts) (nesting depth added 95). None of this is in the body itself: all 378 points belong to 74 function literals inside it that branch (lines 1757, 2257, 2407, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"960d0a3dee67cb296701540f761fddedca938560ff789b70f210f1bb18570cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-file-tree-tab.FileTreeTab (cognitive 345): aux-panel-file-tree-tab.FileTreeTab has cognitive complexity 345 (threshold 15). Drivers by points: if/else 147 (185 pts), ternaries 44 (71 pts), boolean chains 41, loops 25 (33 pts), error handling 13 (14 pts), match/switch 1 (nesting depth added 74). Of this number, 51 points are the body\u0027s own statements and 294 belong to 83 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a4d34d5ab1fe2e5382c2521fa9aa65ebe607c21e7fc4df3b82cb7f01b581c"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-connections-context.connectionsReducer (cognitive 308): acp-connections-context.connectionsReducer has cognitive complexity 308 (threshold 15). Drivers by points: if/else 110 (228 pts), ternaries 15 (37 pts), boolean chains 33, loops 4 (9 pts), match/switch 1 (nesting depth added 145). Of this number, 305 points are the body\u0027s own statements and 3 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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"8101469e579aa63006614c75265e489fd0f2009d5fd16bb46e66bb5b5948602c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::run_conversation_loop (cognitive 302): codeg::acp::connection::run_conversation_loop has cognitive complexity 302 (threshold 15). Drivers by points: if/else 56 (228 pts), match/switch 18 (65 pts), loops 4 (9 pts) (nesting depth added 224). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":14805}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5cd00ba5cf41543ab3de82c4f5e1261e83b3850640e8e0a85943ca54674548"}},{"ruleId":"D2","level":"warning","message":{"text":"message-input.MessageInput (cognitive 293): message-input.MessageInput has cognitive complexity 293 (threshold 15). Drivers by points: if/else 145 (165 pts), boolean chains 68, ternaries 34 (57 pts), error handling 3 (nesting depth added 43). Of this number, 54 points are the body\u0027s own statements and 239 belong to 60 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e09a769bcb2db8f8d178ad86d1db9e7dee7100072f5618b2b3a0dde56923d0"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-view.CanvasFlow (cognitive 278): canvas-view.CanvasFlow has cognitive complexity 278 (threshold 15). Drivers by points: if/else 114 (152 pts), boolean chains 51, ternaries 38 (47 pts), loops 18 (19 pts), error handling 9 (nesting depth added 48). Most of this is not in the body itself: 13 of the 278 points are its own statements and the rest belongs to 82 function literals inside it that branch (lines 1914, 1229, 1769, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f61dde0649f4ab9df4af41cacc2750dff9849037f465bbebeeacd92ba5904a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::emit_conversation_update (cognitive 263): codeg::acp::connection::emit_conversation_update has cognitive complexity 263 (threshold 15). Drivers by points: if/else 93 (189 pts), match/switch 22 (54 pts), boolean chains 20 (nesting depth added 128). 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":25481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9642c5f8e87f1b7d85c60387e2541bb5adb332134c72ce25841dc882af526"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-page.ForgePage (cognitive 239): forge-page.ForgePage has cognitive complexity 239 (threshold 15). Drivers by points: ternaries 55 (113 pts), if/else 63 (73 pts), boolean chains 42, loops 7, error handling 4 (nesting depth added 68). Of this number, 98 points are the body\u0027s own statements and 141 belong to 47 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef433d9d98bf007d7a319b4f1ad31ddc34fa94229ba23235ff2e20b1d80d280"}},{"ruleId":"D2","level":"warning","message":{"text":"task-detail-sheet.TaskDetailSheet (cognitive 238): task-detail-sheet.TaskDetailSheet has cognitive complexity 238 (threshold 15). Drivers by points: ternaries 71 (137 pts), if/else 36 (53 pts), boolean chains 42, error handling 3, match/switch 1 (3 pts) (nesting depth added 85). Of this number, 186 points are the body\u0027s own statements and 52 belong to 21 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f059434d650799f2d603b89a00f381891621684cd7b8efe2df4e3ca223b03e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::agent_turn_files::extract::tokenize (cognitive 217): codeg::agent_turn_files::extract::tokenize has cognitive complexity 217 (threshold 15). Drivers by points: if/else 65 (150 pts), boolean chains 35, loops 8 (23 pts), match/switch 3 (9 pts) (nesting depth added 106). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7afd203fde3bf557f669d6137f55a5c99785b99b9683a532ec73bc0a8875705"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexParser::parse_jsonl_summary (cognitive 212): CodexParser::parse_jsonl_summary has cognitive complexity 212 (threshold 15). Drivers by points: if/else 44 (191 pts), match/switch 5 (14 pts), boolean chains 6, loops 1 (nesting depth added 156). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae895d104ac4d04028b86265e7fb2087313c07c7a441772b4e095cb1ed7532"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-detail-panel.ConversationTabView (cognitive 205): conversation-detail-panel.ConversationTabView has cognitive complexity 205 (threshold 15). Drivers by points: if/else 83 (89 pts), ternaries 39 (61 pts), boolean chains 48, error handling 5, loops 1, match/switch 1 (nesting depth added 28). Of this number, 74 points are the body\u0027s own statements and 131 belong to 51 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad36542c28be0cb9eb058ecf8d02eddaec5f366b0b931179c97ab423254a10b1"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-settings.McpSettings (cognitive 202): mcp-settings.McpSettings has cognitive complexity 202 (threshold 15). Drivers by points: ternaries 52 (138 pts), if/else 35 (39 pts), boolean chains 15, error handling 9 (10 pts) (nesting depth added 91). Of this number, 103 points are the body\u0027s own statements and 99 belong to 27 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2122ed6284a255b0b30ac5543d30832c1a32f50ddb0441f8cc761ccdf8a53f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.buildStreamingTurnsFromLiveMessage (cognitive 200): conversation-runtime-store.buildStreamingTurnsFromLiveMessage has cognitive complexity 200 (threshold 15). Drivers by points: if/else 37 (116 pts), ternaries 16 (55 pts), boolean chains 18, loops 5 (9 pts), match/switch 1 (2 pts) (nesting depth added 123). Of this number, 189 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06ca71a2316d4547b177bfeab2d87e71a7cec42f5d6a478c284f69ba9228b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeRecordAccumulator::feed_value (cognitive 197): ClaudeRecordAccumulator::feed_value has cognitive complexity 197 (threshold 15). Drivers by points: if/else 66 (166 pts), loops 3 (13 pts), match/switch 5 (12 pts), boolean chains 6 (nesting depth added 117). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cd3b7985a3d0da44a243f3beb16833063feaf1fa3dddc8b8b3d2ab5fcfd38a"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-git-changes-tab.GitChangesTab (cognitive 184): aux-panel-git-changes-tab.GitChangesTab has cognitive complexity 184 (threshold 15). Drivers by points: if/else 58 (66 pts), ternaries 32 (59 pts), boolean chains 44, loops 7 (9 pts), error handling 6 (nesting depth added 37). Of this number, 66 points are the body\u0027s own statements and 118 belong to 43 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef0b85a7619f6e20fb83a9692fa0f174968ed497c5272bd45aad022d10606c7"}},{"ruleId":"D2","level":"warning","message":{"text":"file-workspace-panel.FileWorkspacePanelBody (cognitive 183): file-workspace-panel.FileWorkspacePanelBody has cognitive complexity 183 (threshold 15). Drivers by points: if/else 68 (73 pts), ternaries 29 (54 pts), boolean chains 53, loops 2 (3 pts) (nesting depth added 31). Of this number, 88 points are the body\u0027s own statements and 95 belong to 44 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb03746908fb89dd96a82320c6be5306dc1c1a0dca83d7dbe8881e3d5c6ea88"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.reducer (cognitive 176): conversation-runtime-store.reducer has cognitive complexity 176 (threshold 15). Drivers by points: if/else 43 (92 pts), ternaries 19 (41 pts), boolean chains 33, loops 4 (9 pts), match/switch 1 (nesting depth added 76). Of this number, 151 points are the body\u0027s own statements and 25 belong to 6 function items 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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be5db34e0a84d0f4e2ee478ce97dffca9f8e5c072f1a2a8180d905467709a61"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-git-log-tab.GitLogTab (cognitive 167): aux-panel-git-log-tab.GitLogTab has cognitive complexity 167 (threshold 15). Drivers by points: if/else 58 (72 pts), ternaries 18 (55 pts), boolean chains 32, error handling 8 (nesting depth added 51). Of this number, 24 points are the body\u0027s own statements and 143 belong to 31 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12a328c34b9dc5b9a32baf11eb66bcea807b12df17d070bdd8528ee0671fb65"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-view.TerminalView (cognitive 167): terminal-view.TerminalView has cognitive complexity 167 (threshold 15). Drivers by points: if/else 82 (105 pts), boolean chains 43, ternaries 11 (15 pts), error handling 1 (2 pts), loops 2 (nesting depth added 28). Most of this is not in the body itself: 9 of the 167 points are its own statements and the rest belongs to 40 function items inside it that branch (a function literal at line 284, a function literal at line 353, a function literal at line 654, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f009478581ce6d1634d5df7326391a3994ee794f8ecbac292106499ec98fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-config-panel.PiConfigPanel (cognitive 158): pi-config-panel.PiConfigPanel has cognitive complexity 158 (threshold 15). Drivers by points: boolean chains 73, ternaries 34 (45 pts), if/else 28 (30 pts), error handling 8, loops 1 (2 pts) (nesting depth added 14). Of this number, 85 points are the body\u0027s own statements and 73 belong to 29 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"532721aa02971072124c1ecb2e512f8d0a71401d5c4b68c50995b36a8f6ac6b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.adaptMessageTurn (cognitive 150): ai-elements-adapter.adaptMessageTurn has cognitive complexity 150 (threshold 15). Drivers by points: ternaries 21 (76 pts), if/else 20 (54 pts), boolean chains 19, loops 1 (nesting depth added 89). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6a382123d35ad631f044eb814c1f2b60e74180f730d55f3769c7d5ac76949"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::run_connection (cognitive 145): codeg::acp::connection::run_connection has cognitive complexity 145 (threshold 15). Drivers by points: if/else 61 (117 pts), match/switch 10 (17 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8555}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c68f0e417222e787d0c2417bbc5f6193761d946951ccb455e50978016fb54e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::process::node_bin_dir_candidates (cognitive 145): codeg::process::node_bin_dir_candidates has cognitive complexity 145 (threshold 15). Drivers by points: if/else 45 (116 pts), loops 8 (29 pts) (nesting depth added 92). Of this number, 142 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3f4e475411bd89f969c842425054d3dc9e243563f197d5a80072bf94f9b54"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-upload-dialog.WorkspaceUploadDialog (cognitive 145): workspace-upload-dialog.WorkspaceUploadDialog has cognitive complexity 145 (threshold 15). Drivers by points: if/else 47 (59 pts), ternaries 21 (39 pts), boolean chains 31, error handling 3 (8 pts), loops 3 (6 pts), match/switch 2 (nesting depth added 38). Of this number, 21 points are the body\u0027s own statements and 124 belong to 44 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"401854e01d7805156ad6428efdef4d4bcb7b5222315f33b83029f2f1719f229b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::session_event_subscriber::handle_acp_envelope (cognitive 144): codeg::chat_channel::session_event_subscriber::handle_acp_envelope has cognitive complexity 144 (threshold 15). Drivers by points: if/else 43 (119 pts), match/switch 12 (23 pts), boolean chains 2 (nesting depth added 87). 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":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57048fdc70f0e732ed1ff4f162e1a86f75f2b2fc7b8207e3f0025edf0d3ccb0"}},{"ruleId":"D2","level":"warning","message":{"text":"skills-settings.SkillsSettings (cognitive 138): skills-settings.SkillsSettings has cognitive complexity 138 (threshold 15). Drivers by points: ternaries 27 (64 pts), if/else 30 (34 pts), boolean chains 33, error handling 6, loops 1 (nesting depth added 41). Of this number, 79 points are the body\u0027s own statements and 59 belong to 29 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aed2f032fea52b3765d44e9eb57116aa818eb6e872aefdabaa1f7d762c5420"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::decode_tool_variant (cognitive 135): codeg::parsers::cursor::decode_tool_variant has cognitive complexity 135 (threshold 15). Drivers by points: if/else 37 (105 pts), match/switch 5 (15 pts), loops 4 (13 pts), boolean chains 2 (nesting depth added 87). 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ac67606ea32dba948e786de2eb78ca0639a0d0cc5ac046c919f7e3cd7a106"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinBackend::start (cognitive 134): WeixinBackend::start has cognitive complexity 134 (threshold 15). Drivers by points: if/else 23 (102 pts), match/switch 4 (16 pts), loops 3 (15 pts), boolean chains 1 (nesting depth added 103). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab559858c6fd0190943e614bbe4a9ff43d350b06fd43c996aa43417da2f66015"}},{"ruleId":"D2","level":"warning","message":{"text":"import-sessions-window.ImportSessionsWindow (cognitive 134): import-sessions-window.ImportSessionsWindow has cognitive complexity 134 (threshold 15). Drivers by points: if/else 40 (69 pts), loops 16 (24 pts), boolean chains 21, ternaries 13 (18 pts), error handling 2 (nesting depth added 42). Of this number, 31 points are the body\u0027s own statements and 103 belong to 24 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e8b8e9dd7ce9fd786d2a7207ebabf7759962c5ee230e4e533e2f2272b70e20"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::deepseek::parse_session_events (cognitive 133): codeg::parsers::deepseek::parse_session_events has cognitive complexity 133 (threshold 15). Drivers by points: if/else 36 (112 pts), match/switch 4 (13 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 87). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0974fc17fb0e00b049f6c0878da71f65b64954311de72bea328dab30646e829"}},{"ruleId":"D2","level":"warning","message":{"text":"LarkBackend::start_ws_receiver (cognitive 128): LarkBackend::start_ws_receiver has cognitive complexity 128 (threshold 15). Drivers by points: if/else 16 (91 pts), match/switch 8 (24 pts), loops 3 (12 pts), boolean chains 1 (nesting depth added 100). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d16aeb4ee6a30fbe5f4e7c6410d8f145f97f7e4e4fe7c227c83c80545fbf2c5"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-config-panel.CursorConfigPanel (cognitive 128): cursor-config-panel.CursorConfigPanel has cognitive complexity 128 (threshold 15). Drivers by points: ternaries 47 (86 pts), boolean chains 21, if/else 14 (15 pts), error handling 6 (nesting depth added 40). Of this number, 82 points are the body\u0027s own statements and 46 belong to 15 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"597033a5810545b61940120e32d2b880e62159c60150f09ceece27cfcfe3d1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list-view.MessageListView (cognitive 124): message-list-view.MessageListView has cognitive complexity 124 (threshold 15). Drivers by points: if/else 32 (47 pts), ternaries 32 (37 pts), boolean chains 32, loops 7, match/switch 1 (nesting depth added 20). Of this number, 37 points are the body\u0027s own statements and 87 belong to 23 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"353737e96b2cb49cf331463165c144f8643b04434f0c2bf739db687dc1dce8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_register.validate_register (cognitive 117): validate_register.validate_register has cognitive complexity 117 (threshold 15). Drivers by points: if/else 40 (86 pts), loops 10 (17 pts), boolean chains 7, error handling 2 (7 pts) (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5c46e276155b299524e5b951f82a49cd1d78d63db79acd9c0cf7be7c5ffd90"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks-page.TasksPage (cognitive 116): tasks-page.TasksPage has cognitive complexity 116 (threshold 15). Drivers by points: ternaries 18 (61 pts), if/else 16 (26 pts), boolean chains 25, error handling 1 (2 pts), loops 2 (nesting depth added 54). Of this number, 25 points are the body\u0027s own statements and 91 belong to 22 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad77cba7f82979bb13437ffa04710abf4561a94256cab7073cf6e17ae96b868b"}},{"ruleId":"D2","level":"warning","message":{"text":"update-provider.UpdateProvider (cognitive 114): update-provider.UpdateProvider has cognitive complexity 114 (threshold 15). Drivers by points: if/else 59 (72 pts), boolean chains 20, error handling 11 (15 pts), loops 4 (6 pts), ternaries 1 (nesting depth added 19). Most of this is not in the body itself: 4 of the 114 points are its own statements and the rest belongs to 24 function literals inside it that branch (lines 734, 544, 856, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27201df6ef3e643181a36108254f9efee1bc1422eeae21d4a73012af94dea94"}},{"ruleId":"D2","level":"warning","message":{"text":"token-usage-page.TokenUsagePage (cognitive 114): token-usage-page.TokenUsagePage has cognitive complexity 114 (threshold 15). Drivers by points: boolean chains 42, if/else 34 (38 pts), ternaries 26 (31 pts), error handling 3 (nesting depth added 9). Of this number, 45 points are the body\u0027s own statements and 69 belong to 26 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b58203511b19127c92d9082edb6909a3243e67dbb8961948627cd784f1a0763"}},{"ruleId":"D2","level":"warning","message":{"text":"config-sync-settings.ConfigSyncSettings (cognitive 113): config-sync-settings.ConfigSyncSettings has cognitive complexity 113 (threshold 15). Drivers by points: if/else 41 (45 pts), ternaries 27 (44 pts), error handling 13, boolean chains 11 (nesting depth added 21). Of this number, 48 points are the body\u0027s own statements and 65 belong to 22 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e20bfbeaee1aa51bd43a667698abd29aadbd49c51eae5e7236d09ae4136c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-row.AgentRow (cognitive 112): agent-row.AgentRow has cognitive complexity 112 (threshold 15). Drivers by points: ternaries 40 (73 pts), boolean chains 26, if/else 8 (13 pts) (nesting depth added 38). Of this number, 71 points are the body\u0027s own statements and 41 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":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbece4d066453746b27a0b050decf9b188028305f150cda03ebff97bdf1f6f76"}},{"ruleId":"D2","level":"warning","message":{"text":"task-deliver-pr-dialog.TaskDeliverPrDialog (cognitive 112): task-deliver-pr-dialog.TaskDeliverPrDialog has cognitive complexity 112 (threshold 15). Drivers by points: ternaries 48 (113 pts), boolean chains 21, if/else 7 (9 pts), error handling 1 (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (task-deliver-pr-dialog.TaskDeliverPrDialog::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46bdcb1f5a2e29b1f40b554def0080d55fd9491c7909895f7f561db3077823f"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramBackend::start (cognitive 109): TelegramBackend::start has cognitive complexity 109 (threshold 15). Drivers by points: if/else 21 (99 pts), loops 2 (6 pts), match/switch 2 (4 pts) (nesting depth added 84). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8012d467ae015ab682c3dd0c2c5c0f091df34bba197b252602dc4177761e73"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::build_agent (cognitive 108): codeg::acp::connection::build_agent has cognitive complexity 108 (threshold 15). Drivers by points: if/else 41 (81 pts), loops 6 (15 pts), boolean chains 6, match/switch 3 (6 pts) (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f91e57dd3b17e7cbe05e4e941cad06e2541998d84aa0c4a2de57f0d19608f2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-model-list-editor.CodexModelListEditor (cognitive 108): codex-model-list-editor.CodexModelListEditor has cognitive complexity 108 (threshold 15). Drivers by points: ternaries 36 (50 pts), boolean chains 39, if/else 11 (13 pts), loops 4 (6 pts) (nesting depth added 18). Of this number, 49 points are the body\u0027s own statements and 59 belong to 24 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a53c1da488a61f771b90d895b5ace190e0c3ce51649fae380f125a4ae9d0dd"}},{"ruleId":"D2","level":"warning","message":{"text":"exit-meaning.splitCommandLine (cognitive 107): exit-meaning.splitCommandLine has cognitive complexity 107 (threshold 15). Drivers by points: if/else 35 (86 pts), boolean chains 16, loops 2 (4 pts), ternaries 1 (nesting depth added 53). Of this number, 104 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":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e8ca68444518512311b22036fc20f12811f616ea298bf03315beb1f4ae76e"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.useConversationRuntimeStore (cognitive 104): conversation-runtime-store.useConversationRuntimeStore has cognitive complexity 104 (threshold 15). Drivers by points: if/else 59 (69 pts), boolean chains 32, loops 3 (nesting depth added 10). None of this is in the body itself: all 104 points belong to 31 function items inside it that branch (loadOlderTurnsThrough, syncTurnMetadata::trySync, a function literal at line 4744, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7a982588961d017fcfcbedc2ed80d22d416617d0f441a97108ef21d41454b1"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.validate_rubric (cognitive 103): _common.validate_rubric has cognitive complexity 103 (threshold 15). Drivers by points: if/else 37 (77 pts), loops 6 (14 pts), boolean chains 9, ternaries 2 (3 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4deed5145738aa662429b31ed29c7ebe45c6794f152228d3a24c2e47452769a"}},{"ruleId":"D2","level":"warning","message":{"text":"commit-dialog.CommitWorkspace (cognitive 101): commit-dialog.CommitWorkspace has cognitive complexity 101 (threshold 15). Drivers by points: if/else 37 (39 pts), boolean chains 28, ternaries 19 (23 pts), error handling 10 (11 pts) (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 72 belong to 29 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84c0bc6e20a588d493673c128089c12d5441a94cb6654c049b8723612c96b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::win32::normalize (cognitive 97): codeg::parsers::codex_file_citations::win32::normalize has cognitive complexity 97 (threshold 15). Drivers by points: if/else 30 (68 pts), boolean chains 14, loops 4 (14 pts), match/switch 1 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f889c5236f7a3e480f11507461578b2f3f9239e421910d44b66ff53a02abda"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_list_agents_core (cognitive 95): codeg::commands::acp::acp_list_agents_core has cognitive complexity 95 (threshold 15). Drivers by points: if/else 34 (82 pts), match/switch 3 (7 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee2bf383903af231fea4fa16ad63aca4e0133c6998922c5fda9c0353c4945bd"}},{"ruleId":"D2","level":"warning","message":{"text":"command-manage-dialog.CommandManageDialog (cognitive 94): command-manage-dialog.CommandManageDialog has cognitive complexity 94 (threshold 15). Drivers by points: if/else 33 (47 pts), ternaries 17 (33 pts), boolean chains 10, error handling 4 (nesting depth added 30). Of this number, 18 points are the body\u0027s own statements and 76 belong to 22 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5596ee69f7276b01259afa8a4b0fe478232b21e9ae287cb349565d86af78c94"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-chrome-controller.WorkspaceChromeController (cognitive 94): workspace-chrome-controller.WorkspaceChromeController has cognitive complexity 94 (threshold 15). Drivers by points: if/else 44 (74 pts), ternaries 5 (13 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 39). None of this is in the body itself: all 94 points belong to 6 function literals inside it that branch (lines 211, 135, 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":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee5b3f1c6af78deda98e268fecc8cefb11d893b052ba0c05cc7cd2015048968"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.templateLiteralTextEnd (cognitive 93): delegation-card.templateLiteralTextEnd has cognitive complexity 93 (threshold 15). Drivers by points: if/else 36 (84 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 52). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad1fd6ceaeda7e0b6681f6ee6d883c1a72d5cf5bbbf921d5f801a112024dceb"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-manage-dialog.ConversationManageDialog (cognitive 92): conversation-manage-dialog.ConversationManageDialog has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 17 (47 pts), if/else 18 (21 pts), boolean chains 10, loops 7 (10 pts), error handling 3, match/switch 1 (nesting depth added 36). Of this number, 22 points are the body\u0027s own statements and 70 belong to 20 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4f7e94e91acd74f24b619d836b99d438823ff87d225c9f6bbfed16e91ac582"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchState::account (cognitive 91): WatchState::account has cognitive complexity 91 (threshold 15). Drivers by points: if/else 25 (84 pts), match/switch 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 62). 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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"57376c66b2f93e61096f10f38c312eeef7f452d0a5fa0fb23376cc50eacaccbf"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::parse_codex_subagent_stats (cognitive 91): codeg::parsers::codex::parse_codex_subagent_stats has cognitive complexity 91 (threshold 15). Drivers by points: if/else 31 (68 pts), match/switch 5 (11 pts), boolean chains 6, loops 2 (6 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fdcb211480ecfd84f46aca807e2b3c417ef4a2f6bd1ff6154829ffd3cd582e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::tauri_app::run (cognitive 90): codeg::tauri_app::run has cognitive complexity 90 (threshold 15). Drivers by points: if/else 54 (75 pts), boolean chains 9, match/switch 5 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c097928f96db5f98503fa6580f7a88a71c2e09e6d1e7f4a239d24591758127"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::parse_subagent_tool_calls (cognitive 89): codeg::parsers::claude::parse_subagent_tool_calls has cognitive complexity 89 (threshold 15). Drivers by points: if/else 19 (67 pts), match/switch 5 (11 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 60). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fcf8962a30aaeb3978192fa5720ff94de42018320af6ba7f143aa1164baefd"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-detail-sheet.ForgeIssueDetailSheet (cognitive 89): forge-issue-detail-sheet.ForgeIssueDetailSheet has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 34 (52 pts), if/else 17 (18 pts), boolean chains 16, error handling 3 (nesting depth added 19). Of this number, 64 points are the body\u0027s own statements and 25 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9e58d60fe3406322b015ff08504d266b9653b4ff4dfc75d4a030918ab807ed"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-skills-settings.CustomSkillsBody (cognitive 89): custom-skills-settings.CustomSkillsBody has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 17 (32 pts), if/else 26 (29 pts), boolean chains 15, error handling 9 (10 pts), loops 2, match/switch 1 (nesting depth added 19). Of this number, 27 points are the body\u0027s own statements and 62 belong to 21 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a0619cef8b0ab2e09a9da1172f3458d59cc39fd48343db5f20d129da9d32a"}},{"ruleId":"D2","level":"warning","message":{"text":"backup-settings.BackupSettings (cognitive 88): backup-settings.BackupSettings has cognitive complexity 88 (threshold 15). Drivers by points: boolean chains 40, if/else 26 (29 pts), error handling 10, ternaries 7 (9 pts) (nesting depth added 5). Of this number, 39 points are the body\u0027s own statements and 49 belong to 21 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c01a10e78e3e89d5fbcb1fad9a9bfc5ed14e670d5e20a11cc03ecdb27c504d"}},{"ruleId":"D2","level":"warning","message":{"text":"system-network-settings.SystemNetworkSettings (cognitive 88): system-network-settings.SystemNetworkSettings has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 20 (33 pts), boolean chains 31, if/else 20, error handling 4 (nesting depth added 13). Of this number, 54 points are the body\u0027s own statements and 34 belong to 16 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dfbe58413da1742b609c9c056fcc0761145bb7d416f0006689c20c021f4b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.codeModeCallSite (cognitive 88): delegation-card.codeModeCallSite has cognitive complexity 88 (threshold 15). Drivers by points: if/else 26 (65 pts), boolean chains 16, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f6c46451d5a377078334c7d2cc2a64930ac5fd3aa56e5ac21634ecf00155f"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-folder-dialog.WorkspaceFolderDialog (cognitive 87): workspace-folder-dialog.WorkspaceFolderDialog has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 28 (45 pts), if/else 18 (19 pts), boolean chains 15, error handling 7, loops 1 (nesting depth added 18). Of this number, 42 points are the body\u0027s own statements and 45 belong to 19 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb117ee88639972c5c34949eee5d1c0c64f26a2018520ca97fe67d1c09b7875"}},{"ruleId":"D2","level":"warning","message":{"text":"grep-no-match.pipelineStages (cognitive 86): grep-no-match.pipelineStages has cognitive complexity 86 (threshold 15). Drivers by points: if/else 26 (67 pts), boolean chains 13, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 44). Of this number, 81 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grep-no-match.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee3a9cc32f7dd948fcf575003de522a4b1fdba20b54756111650786b9cd8739"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_catalog_commit::prepare (cognitive 85): codeg::acp::codex_catalog_commit::prepare has cognitive complexity 85 (threshold 15). Drivers by points: if/else 36 (62 pts), match/switch 5 (10 pts), boolean chains 9, loops 4 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe26148e42212bd9d86b1896b83c513111c7636f7040031c5955ed14a28e1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"three-pane-merge-editor.ThreePaneMergeEditor (cognitive 85): three-pane-merge-editor.ThreePaneMergeEditor has cognitive complexity 85 (threshold 15). Drivers by points: if/else 32 (50 pts), ternaries 6 (14 pts), boolean chains 13, loops 8 (nesting depth added 26). Most of this is not in the body itself: 4 of the 85 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 251, 181, 216, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6f34e354e6284bd4fc84d3a193f1b63a295ccf7d65a9c69ac34e2050fa22de"}},{"ruleId":"D2","level":"warning","message":{"text":"unified-diff-preview.parseUnifiedDiff (cognitive 84): unified-diff-preview.parseUnifiedDiff has cognitive complexity 84 (threshold 15). Drivers by points: if/else 32 (73 pts), boolean chains 10, loops 1 (nesting depth added 41). Of this number, 79 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265be85df74d1c6d5b7a11af7eb1b47b2727d56f145313108289bdc6156d577"}},{"ruleId":"D2","level":"warning","message":{"text":"use-open-file-tabs-watch.useOpenFileTabsWatch (cognitive 84): use-open-file-tabs-watch.useOpenFileTabsWatch has cognitive complexity 84 (threshold 15). Drivers by points: if/else 44 (65 pts), boolean chains 13, loops 5 (6 pts) (nesting depth added 22). None of this is in the body itself: all 84 points belong to 14 function literals inside it that branch (lines 238, 426, 206, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98e9ac53a63354719520909a4ac2c15c2ffc1b651ceb77fa3ea03b4d60631c4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E (cognitive 84): chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E has cognitive complexity 84 (threshold 15). Drivers by points: if/else 23 (44 pts), boolean chains 24, loops 5 (12 pts), ternaries 2 (4 pts) (nesting depth added 30). Of this number, 77 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8504fee5681fe5f0d33b1e9739bc82d2d6ff79eda6c16763875c8d91809a9f46"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::grok::parse_updates (cognitive 83): codeg::parsers::grok::parse_updates has cognitive complexity 83 (threshold 15). Drivers by points: if/else 25 (65 pts), match/switch 4 (11 pts), boolean chains 5, loops 2 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7821ddf45a89303ba58008f306a4278815787bb60ff3ec3b414dc70a45249b"}},{"ruleId":"D2","level":"warning","message":{"text":"commit-message-settings-dialog.CommitMessageSettingsBody (cognitive 83): commit-message-settings-dialog.CommitMessageSettingsBody has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 30 (49 pts), boolean chains 18, if/else 14 (15 pts), error handling 1 (nesting depth added 20). Of this number, 41 points are the body\u0027s own statements and 42 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"26234d80b71f2633a1c948765943b6290e9765d14e008bd530e0f30539400638"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kimi_code::parse_wire (cognitive 81): codeg::parsers::kimi_code::parse_wire has cognitive complexity 81 (threshold 15). Drivers by points: if/else 21 (65 pts), match/switch 4 (13 pts), boolean chains 2, loops 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1ab9eb6ede503635780d0089bf9c3264efdda8c21237b055b2dd2c3de85a96"}},{"ruleId":"D2","level":"warning","message":{"text":"suggestion-popup.SuggestionPopup (cognitive 81): suggestion-popup.SuggestionPopup has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 24 (30 pts), if/else 19 (27 pts), boolean chains 20, loops 1 (3 pts), match/switch 1 (nesting depth added 16). Of this number, 26 points are the body\u0027s own statements and 55 belong to 16 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a20414d60731159e5170af26f69f4a9dc3dc0cab388ae7e3132f1b3404a05"}},{"ruleId":"D2","level":"warning","message":{"text":"appearance-provider.AppearanceProvider (cognitive 80): appearance-provider.AppearanceProvider has cognitive complexity 80 (threshold 15). Drivers by points: if/else 44 (46 pts), ternaries 19 (20 pts), boolean chains 9, error handling 5 (nesting depth added 3). Most of this is not in the body itself: 1 of the 80 points is its own statement and the rest belongs to 30 function literals inside it that branch (lines 1039, 894, 943, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a44d226578a80ed3d9f4d33e16a33607a2ac2fb5f4384312d7dbf445d6b904"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-surface-host.NativeSurfaceHost (cognitive 79): browser-surface-host.NativeSurfaceHost has cognitive complexity 79 (threshold 15). Drivers by points: if/else 33 (52 pts), boolean chains 21, ternaries 5 (6 pts) (nesting depth added 20). Of this number, 22 points are the body\u0027s own statements and 57 belong to 12 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0d87d068541f4be13ef25d0b683e87706d251747cfaea29973c3e98adf679a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionState::apply_event_inner (cognitive 78): SessionState::apply_event_inner has cognitive complexity 78 (threshold 15). Drivers by points: if/else 28 (61 pts), loops 3 (7 pts), match/switch 3 (6 pts), boolean chains 4 (nesting depth added 40). 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":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b313fd50099289836c953325e636208ece6e31782e6f0c8a0c0c348865b29c73"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::qoder::parse_transcript (cognitive 76): codeg::parsers::qoder::parse_transcript has cognitive complexity 76 (threshold 15). Drivers by points: if/else 25 (63 pts), match/switch 3 (7 pts), boolean chains 4, loops 2 (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":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"262649745a41a57518a3ca93493f18e585600448ce0ff31ca1396e348ee2c220"}},{"ruleId":"D2","level":"warning","message":{"text":"export_plan.validate_against_plan (cognitive 75): export_plan.validate_against_plan has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 16 (38 pts), if/else 21 (24 pts), boolean chains 10, loops 1 (2 pts), error handling 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/export_plan.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ab9962c6ef9a1c3b8d7aaba10a720c78f9d265513ee59fbfbc8da7c411348"}},{"ruleId":"D2","level":"warning","message":{"text":"qoder-config-panel.QoderConfigPanel (cognitive 75): qoder-config-panel.QoderConfigPanel has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 26 (47 pts), if/else 11 (13 pts), boolean chains 11, error handling 4 (nesting depth added 23). Of this number, 54 points are the body\u0027s own statements and 21 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":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63b1dff9f2ef4406b4d346d6150be79b56f008b8ef482c3886873f4f7a3968f"}},{"ruleId":"D2","level":"warning","message":{"text":"directory-browser.DirectoryBrowser (cognitive 75): directory-browser.DirectoryBrowser has cognitive complexity 75 (threshold 15). Drivers by points: if/else 34 (39 pts), boolean chains 22, ternaries 8 (10 pts), error handling 4 (nesting depth added 7). Most of this is not in the body itself: 5 of the 75 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 473, a function literal at line 302, a function literal at line 398, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba3db3ef2496c23158b3e6bbbb771eef572153d63ffdd8298ec669620e02f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.FolderWorkspaceShell (cognitive 74): layout.FolderWorkspaceShell has cognitive complexity 74 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 22, ternaries 20, error handling 2 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 55 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d8cb080c428331045f80f7d0b64e2b4209a1e638bb6e7be5f3a756ea02819"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-model.deriveFlowGraph (cognitive 73): canvas-model.deriveFlowGraph has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 18 (47 pts), if/else 7 (14 pts), boolean chains 7, loops 3 (5 pts) (nesting depth added 38). Of this number, 70 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdc38f3847e3538a4b44d378309c364eda8b99ee58b2f9adb6c7a6a686c9d02"}},{"ruleId":"D2","level":"warning","message":{"text":"actJson (cognitive 73): actJson has cognitive complexity 73 (threshold 15). Drivers by points: loops 23 (26 pts), ternaries 12 (21 pts), if/else 10 (16 pts), boolean chains 9, other 1 (nesting depth added 18). Of this number, 69 points are the body\u0027s own statements and 4 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":"browser-agent/probe.mjs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c45fdf950fa7279f6942cf6896047b1b627af485c33e4794f5af4b0f54f3db0"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-selector.AgentSelector (cognitive 72): agent-selector.AgentSelector has cognitive complexity 72 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 21, ternaries 17 (21 pts), loops 3 (nesting depth added 7). Most of this is not in the body itself: 8 of the 72 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 165, 376, 131, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-selector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba263846c1c093ff9f123f365f9d6dd3668ad91e32d68d83bdd4c88be1b2f3e5"}},{"ruleId":"D2","level":"warning","message":{"text":"app-workspace-store.useAppWorkspaceStore (cognitive 72): app-workspace-store.useAppWorkspaceStore has cognitive complexity 72 (threshold 15). Drivers by points: if/else 40 (49 pts), ternaries 8 (9 pts), error handling 7, boolean chains 5, loops 2 (nesting depth added 10). None of this is in the body itself: all 72 points belong to 29 function literals inside it that branch (lines 665, 344, 822, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/app-workspace-store.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85d2ce25e4f69b3bfa0e7755dec938256388d99c4bb0fe76c7739cbd2d3bcb2"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::remote_proxy::run_ws_connection (cognitive 70): codeg::commands::remote_proxy::run_ws_connection has cognitive complexity 70 (threshold 15). Drivers by points: if/else 11 (39 pts), match/switch 7 (23 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a842edf9e55523d8b067c84b966998cf1409233703ea45bb44678151e7c1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"add-custom-agent-dialog.AddCustomAgentDialog (cognitive 70): add-custom-agent-dialog.AddCustomAgentDialog has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 32, ternaries 18 (22 pts), if/else 13, error handling 3 (nesting depth added 4). Of this number, 30 points are the body\u0027s own statements and 40 belong to 17 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"115668407420dbf8baae08da31128ce1398f5447f44edcad20907b02e933cc19"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-viewer.PdfViewer (cognitive 69): pdf-viewer.PdfViewer has cognitive complexity 69 (threshold 15). Drivers by points: if/else 33, boolean chains 24, ternaries 8 (12 pts) (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 44 belong to 21 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eedf5a3006d61e2531cc0a01271a5e8f4c8eb305f191801cd6ab7cf4b8c0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"live-tool-output.isJsonContainerPrefix (cognitive 69): live-tool-output.isJsonContainerPrefix has cognitive complexity 69 (threshold 15). Drivers by points: if/else 23 (51 pts), boolean chains 13, loops 2 (4 pts), ternaries 1 (nesting depth added 30). Of this number, 68 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/live-tool-output.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3898f12744835344667eb9cec5e5e642666d9c67cf6582ded8b6da2261bfeaee"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-permissions.globCovers (cognitive 68): opencode-permissions.globCovers has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (45 pts), loops 11 (19 pts), boolean chains 4 (nesting depth added 34). Of this number, 50 points are the body\u0027s own statements and 18 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-permissions.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e385c3bbc8295f6e405e8ed434d99549fdea1dc763a9f6f8762c114155bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"branch-dropdown.BranchDropdown (cognitive 67): branch-dropdown.BranchDropdown has cognitive complexity 67 (threshold 15). Drivers by points: if/else 35 (41 pts), boolean chains 10, ternaries 8 (10 pts), match/switch 4, error handling 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 11 of the 67 points are its own statements and the rest belongs to 27 function items inside it that branch (runLeafAction, a function literal at line 299, handleConfirm, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4edc5aa9f64d1d88fa11ebaaae065729cfd29966afa9e00dc6971dd105d1d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList::renderRow (cognitive 66): sidebar-conversation-list.SidebarConversationList::renderRow has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 19 (45 pts), if/else 12 (13 pts), boolean chains 8 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList, sidebar-conversation-list.SidebarConversationList::folderHeaderElement) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd3bb7ca75926ac3055121a9927ea259897fd7f8f6e2dd76af7211479bf902a"}},{"ruleId":"D2","level":"warning","message":{"text":"git-credential-context.GitCredentialProvider (cognitive 66): git-credential-context.GitCredentialProvider has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (28 pts), ternaries 13 (19 pts), boolean chains 10, error handling 5 (7 pts), loops 1 (2 pts) (nesting depth added 22). Of this number, 19 points are the body\u0027s own statements and 47 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/git-credential-context.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0632114552999b6daa0944e40e9bf857fbfaf3ffdeca54adb084939cc439c0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"use-session-feedback.useSessionFeedback (cognitive 66): use-session-feedback.useSessionFeedback has cognitive complexity 66 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 20, ternaries 9 (13 pts), loops 1 (2 pts), error handling 1, match/switch 1 (nesting depth added 7). Most of this is not in the body itself: 8 of the 66 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 375, 272, 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":"src/hooks/use-session-feedback.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b42e4f57268ca962a182e26b61daa09d8c184f59c1932c1d8cc6aa2594dd0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionManager::send_prompt_linked_full (cognitive 65): ConnectionManager::send_prompt_linked_full has cognitive complexity 65 (threshold 15). Drivers by points: if/else 29 (47 pts), match/switch 6 (15 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1ae4e093ad4c721ce013a4fa3da0680d97d0818f0703a2f0c2e80c64f75c21"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek-model-list-editor.DeepSeekModelListEditor (cognitive 65): deepseek-model-list-editor.DeepSeekModelListEditor has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 12 (34 pts), boolean chains 25, if/else 3, error handling 2, match/switch 1 (nesting depth added 22). Of this number, 30 points are the body\u0027s own statements and 35 belong to 10 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab9c336f58db11eac4ca0720c2261a4de0fe8c4531c38866add06a83681139b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-html-markdown.htmlEnd (cognitive 65): chat-html-markdown.htmlEnd has cognitive complexity 65 (threshold 15). Drivers by points: if/else 22 (56 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d158c2e0e3640406043cbea4734bdc5ac46ee42df12e6d322a3363f1a4a6d33d"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.describeEditFiles (cognitive 64): edit.describeEditFiles has cognitive complexity 64 (threshold 15). Drivers by points: if/else 13 (31 pts), ternaries 9 (23 pts), boolean chains 8, loops 2 (nesting depth added 32). Of this number, 49 points are the body\u0027s own statements and 15 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":"src/lib/activity/edit.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a6ec088f6d07a2e09ea846e484aa474f8ca0715a1d2bbc1715b7409e32d43"}},{"ruleId":"D2","level":"warning","message":{"text":"branch-selector-rows.buildBranchRows (cognitive 64): branch-selector-rows.buildBranchRows has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (45 pts), loops 5 (14 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e4bccc5525fbfd21fe5c9c5971d6b7afcc3687ea2360d813763e1fb63b3d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBuddyParser::parse_detail (cognitive 63): CodeBuddyParser::parse_detail has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (56 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0af9e3207cdb3a7298c62864b5bff51d672b2472aece2de2a7f3ab0a4b7e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::antigravity::project_steps (cognitive 63): codeg::parsers::antigravity::project_steps has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (54 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"116baf69ddbb5346311a7afa10494b40cde220de7cbbfee92a714413f3f26b83"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::parse_citation_with (cognitive 63): codeg::parsers::codex_file_citations::parse_citation_with has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (45 pts), loops 6 (11 pts), boolean chains 7 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb64f6f05472958e33d01696982f4d3e00ccb36e2ace1341a133e091841ed9f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::build_report (cognitive 61): codeg::commands::acp::build_report has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (51 pts), match/switch 4 (9 pts), loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a4f3cd87b148679b57defe6ec891b7ab6a562aa3e388bd634d548daec84f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::pet_state_mapper::pet_state_subscriber_task (cognitive 61): codeg::pet_state_mapper::pet_state_subscriber_task has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (46 pts), match/switch 4 (12 pts), boolean chains 2, loops 1 (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":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7940330aa826ba384866320df2a4ada75ad5a840131dc3a6eb818433d01216"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::agent_turn_files::extract::scan_command (cognitive 60): codeg::agent_turn_files::extract::scan_command has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (44 pts), match/switch 3 (9 pts), boolean chains 6, loops 1 (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":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d757078baa2252403345bf9f183884c153a803fa1784a4360541249c44803"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-window-picker.ComputerWindowPicker (cognitive 60): computer-window-picker.ComputerWindowPicker has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 23, ternaries 9 (16 pts), if/else 10 (13 pts), error handling 6, loops 2 (nesting depth added 10). Of this number, 31 points are the body\u0027s own statements and 29 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c0f9285a2fabe89492ac690496b7cdf61937ee0d7ed9fca01c6f1e5b1fa6b"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-manager-section.PetManagerSection (cognitive 60): pet-manager-section.PetManagerSection has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 14 (32 pts), if/else 10 (15 pts), boolean chains 9, error handling 4 (nesting depth added 23). Most of this is not in the body itself: 9 of the 60 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 87, 283, 107, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b01f709e082758e2b82ca470e4b7017f56a33e31387cfe7dcb1f8440b6b3009"}},{"ruleId":"D2","level":"warning","message":{"text":"status-bar-update.StatusBarUpdate (cognitive 59): status-bar-update.StatusBarUpdate has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 18 (26 pts), boolean chains 25, if/else 8 (nesting depth added 8). Of this number, 57 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bded05c7e42729ae07683a94f6610230acb22f7f7590c05d46ab4999eb54fc00"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-code-config-panel.KimiCodeConfigPanel (cognitive 59): kimi-code-config-panel.KimiCodeConfigPanel has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 27, ternaries 22 (26 pts), if/else 5, error handling 1 (nesting depth added 4). Of this number, 37 points are the body\u0027s own statements and 22 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbce59ef957fdaaf98ff22802d15a140e4b5864ec8de876665fb2ccc63235d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-agent-matrix.SkillAgentMatrix (cognitive 59): skill-agent-matrix.SkillAgentMatrix has cognitive complexity 59 (threshold 15). Drivers by points: if/else 22 (23 pts), ternaries 10 (19 pts), boolean chains 10, loops 4 (5 pts), error handling 2 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 42 belong to 22 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"86033818c18f6aa586e5ecf5e01eb83b5ad6b50b78ba0293253b511e49c1f486"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-conversation-surface.CanvasConversationSurface (cognitive 58): canvas-conversation-surface.CanvasConversationSurface has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23, boolean chains 20, ternaries 11 (12 pts), error handling 3 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 40 belong to 17 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2898d9e8a9bcacc8f80afc91407a0781de13096c5411998d76343f7f756dd67"}},{"ruleId":"D2","level":"warning","message":{"text":"lint_causal_claims.lint (cognitive 57): lint_causal_claims.lint has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 4 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/lint_causal_claims.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c3709d956c612157d94b4e8ed6ebd8f61ece7194ad42a16648e2c952f8d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.computeLineDiff (cognitive 57): session-files.computeLineDiff has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (38 pts), ternaries 5 (10 pts), boolean chains 5, loops 1 (4 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a536b2e3751f6917a70df4b31603299c4b7cefb7a6961788da11fd0e4d49e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawParser::parse_conversation_detail (cognitive 56): OpenClawParser::parse_conversation_detail has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (46 pts), match/switch 3 (6 pts), loops 2 (4 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d35ffdcc08157356263e1c64f69177126ae6d150840cb978ff6297917411f5"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.validate_evaluation (cognitive 56): _common.validate_evaluation has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (47 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"540567b43d2c11f584d1e7755085c82b67d133c6290cb0d14d033baf6ebd9238"}},{"ruleId":"D2","level":"warning","message":{"text":"power._resolve (cognitive 56): power._resolve has cognitive complexity 56 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 9, ternaries 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/statistical-power/scripts/power.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b09ea3ff1ea9968bfb5efa0c73c1fc425b96408e5dd6e457daa62ca2b7d82"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-question-card.AskQuestionCard (cognitive 56): ask-question-card.AskQuestionCard has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 26, ternaries 13 (16 pts), if/else 12 (13 pts), error handling 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 36 belong to 14 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0ee9ca5f6cb0a77fc9b776b700fcfdebac450a2c6ba8f1ab4c707c903d7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::import_selected_from_summaries (cognitive 55): codeg::commands::conversations::import_selected_from_summaries has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (42 pts), match/switch 3 (6 pts), boolean chains 4, loops 3 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a874d758e1f8d880944c4d6c1f7af606856a070c11d18d496739c69ec36fa85c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::scan_body (cognitive 55): codeg::parsers::codex_code_mode::scan_body has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (36 pts), boolean chains 10, loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25e47eb2b10498fd319d5cfc9c8eb7bfff911de57c11ad8a5847d2d15728a05"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::build_turns (cognitive 55): codeg::parsers::cursor::build_turns has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"397533d241df2bff81c338ccdb4cc00b493c9cc58007848a346dd4c6dbe23ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"push-workspace.PushWorkspace (cognitive 55): push-workspace.PushWorkspace has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 17 (20 pts), boolean chains 10, error handling 3 (nesting depth added 15). Of this number, 25 points are the body\u0027s own statements and 30 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b3315f3241555bc2cc342de39dee30b9590e74c3d9143bfc64c165ce5089c"}},{"ruleId":"D2","level":"warning","message":{"text":"use-timeline-window.useTimelineWindow (cognitive 55): use-timeline-window.useTimelineWindow has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 11, loops 5 (7 pts), ternaries 1 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 36 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":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9950e713f5c4dcd3c945958a7a0cf2932349eb5f9cd25df490a855184a79181"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-bar.TabBar (cognitive 55): tab-bar.TabBar has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 18, if/else 15 (17 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 11 of the 55 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 235, 353, 161, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44af687294485592eb2003e91f487177a6de97be5fab518bfc34c2394694b18"}},{"ruleId":"D2","level":"warning","message":{"text":"format (cognitive 55): format has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 7 (12 pts), boolean chains 8, loops 4 (7 pts), error handling 3 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ec0dd09b49fe9fc75583701c1b6175f3387063c4bc33776a1e254eafbd0e46"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::normalize_string (cognitive 54): codeg::parsers::codex_file_citations::normalize_string has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (43 pts), match/switch 1 (7 pts), boolean chains 3, loops 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ec4608dda372d395474f80acc9405dbe88e46f82699c569d075106760c102"}},{"ruleId":"D2","level":"warning","message":{"text":"check_falsification_controls.audit (cognitive 54): check_falsification_controls.audit has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 4 (8 pts), ternaries 2, boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"428d7e847f028cb96b427a17fbb9148a2ce1499aed7f38598a5c52bc9228fa4c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::air_contract::merge_state (cognitive 53): codeg::acp::air_contract::merge_state has cognitive complexity 53 (threshold 15). Drivers by points: if/else 9 (35 pts), loops 4 (18 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/air_contract.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce1b6cfa005ae505f423926ad47ebd63dd93ef906ae16eab30a59718905fb61"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::apply_codex_sandbox_config (cognitive 53): codeg::commands::acp::apply_codex_sandbox_config has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (33 pts), match/switch 4 (9 pts), loops 2 (8 pts), boolean chains 3 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bcd139102ac1abe6ee8ab2e08b49bca1a749559d04dba8b1e911415d1abc62"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::ws::handle_ws_connection (cognitive 53): codeg::web::ws::handle_ws_connection has cognitive complexity 53 (threshold 15). Drivers by points: if/else 8 (28 pts), match/switch 7 (20 pts), loops 3 (5 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2205c5c296bbe46c59ddce6217c81fd66038ab15b44edba87d9fb6818d1e1bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"merge-diff.computeMergeHunks (cognitive 53): merge-diff.computeMergeHunks has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 7 (23 pts), if/else 9 (21 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 29). Of this number, 52 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a4949fda3310c915437c0b55eb760e60f59326735dcac3190ad97f05d40ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-status-row.DelegationStatusRow (cognitive 53): delegation-status-row.DelegationStatusRow has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 20 (25 pts), boolean chains 23, if/else 5 (nesting depth added 5). Of this number, 40 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/delegation-status-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b9a4bd10c91b7881813a7b160cc0653fdc7cc5b0e8126a9e08404fa905fdb8"}},{"ruleId":"D2","level":"warning","message":{"text":"selection-action-bubble.SelectionActionBubble (cognitive 53): selection-action-bubble.SelectionActionBubble has cognitive complexity 53 (threshold 15). Drivers by points: if/else 27 (31 pts), boolean chains 16, ternaries 6 (nesting depth added 4). Most of this is not in the body itself: 7 of the 53 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 147, 217, 446, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8537a72dac09ed969afb216f3ab7fccfb7dc215dfe48b3b49a471bba7c3ac703"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::codex_entry_to_canonical (cognitive 52): codeg::commands::mcp::codex_entry_to_canonical has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (40 pts), loops 3 (7 pts), boolean chains 3, match/switch 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84b0928c57188dc73c55f8472d2480027dd1c02b2bf96dca1d78e7ab4d573cd"}},{"ruleId":"D2","level":"warning","message":{"text":"_structured.inspect_hdf5 (cognitive 52): _structured.inspect_hdf5 has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (30 pts), ternaries 4 (15 pts), error handling 3, loops 2 (3 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_structured.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef0ca1bcc901c5c964d50105d27aa38e6fd5e2c4cc2c440f46075f5b883018b"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-page.AutomationsPage (cognitive 52): automations-page.AutomationsPage has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 18 (31 pts), boolean chains 10, if/else 6 (8 pts), loops 2, error handling 1 (nesting depth added 15). Of this number, 25 points are the body\u0027s own statements and 27 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f1d0712b714f6b55e1e636c916909d7da7e536c77fa5dd77654ca778a5feb8"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.extractCodexTomlImportantValues (cognitive 52): acp-agent-settings.extractCodexTomlImportantValues has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 9, loops 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c0dfd2bc42b04813a1fae6963f88c540f9ae54b90b626625622199d8ffaba"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationBroker::start_delegation_inner (cognitive 51): DelegationBroker::start_delegation_inner has cognitive complexity 51 (threshold 15). Drivers by points: if/else 24 (41 pts), match/switch 7 (10 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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da80b2d9a2b801bbcd8bebed1e05853e528247aafb54ea2a7ec0043ccc9b659"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::build_tools_call_spawn (cognitive 51): codeg::acp::delegation::companion::build_tools_call_spawn has cognitive complexity 51 (threshold 15). Drivers by points: match/switch 21 (42 pts), if/else 5 (9 pts) (nesting depth added 25). 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3632e9ff91af3fff1419b386ad57924612d13fc3b51f3cbf7ee2a10842d64"}},{"ruleId":"D2","level":"warning","message":{"text":"rich-composer.RichComposer (cognitive 51): rich-composer.RichComposer has cognitive complexity 51 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 10, ternaries 4 (6 pts) (nesting depth added 6). Most of this is not in the body itself: 4 of the 51 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 412, 533, 607, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"564175fd3af20b9cad67c2688b12b7ef1098147980c660048330f1159c5272e6"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-list.FolderHeader (cognitive 51): sidebar-conversation-list.FolderHeader has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 19 (25 pts), boolean chains 18, if/else 6 (8 pts) (nesting depth added 8). Of this number, 35 points are the body\u0027s own statements and 16 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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed064ff08666fc0f742353b6a6bef90ac03cdaa87a3d06408ce7f4a5688d29ea"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-config-panel.HeadlessSignIn (cognitive 51): antigravity-config-panel.HeadlessSignIn has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 11 (20 pts), boolean chains 5, error handling 2 (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 28 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee803addc639ca9a6597c1db0efb9330888926d93fe628ee6c6008e9b9b530"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.upsertTomlSectionBooleanKey (cognitive 51): acp-agent-settings.upsertTomlSectionBooleanKey has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (13 pts), ternaries 5 (10 pts), boolean chains 6 (nesting depth added 27). Of this number, 50 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba889019a6815f4ecc1bdd0ca8dcbacdd6bf988f766f465253bc004165eee6e"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.editDiffText (cognitive 51): edit.editDiffText has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 8, ternaries 5 (8 pts), loops 1 (3 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbacc8dfe3e7c49aaefc91dff14d37a565bcec5d07e6127506083864cd318ef"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeParser::load_v2_messages (cognitive 50): OpenCodeParser::load_v2_messages has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (35 pts), match/switch 4 (8 pts), loops 5 (7 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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f566ba847f15f863e6650397e44859b24ce04f6925be00aae260f9add76cf"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::deepseek_settings::splice_models (cognitive 50): codeg::commands::deepseek_settings::splice_models has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 11, loops 5 (8 pts), match/switch 4 (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":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43a5f6e8f27d93ff37287d3616d1fc889be0331cdffdf6b329e8b2cefeedbf"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-context.TerminalProvider (cognitive 50): terminal-context.TerminalProvider has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 6, loops 5, ternaries 4 (5 pts), error handling 1 (nesting depth added 5). None of this is in the body itself: all 50 points belong to 27 function literals inside it that branch (lines 619, 419, 247, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/terminal-context.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5b63675474b1d9eff78f4c3fc3ee0e86e843599bc427445eca24c378feb7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.applyGroupInvariants (cognitive 50): tab-store.applyGroupInvariants has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 5 (10 pts), boolean chains 8, ternaries 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"def5e5b014fe31977b59893a5ce3030518230fd930a9d0fd95cd2aadc5328f99"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::launch (cognitive 49): TaskEngine::launch has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (35 pts), match/switch 9 (13 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"652827924a59e93a96b620d65059a41e4e4383c05c5879dbc1957aa5b3e17941"}},{"ruleId":"D2","level":"warning","message":{"text":"act.defaultActionFor (cognitive 49): act.defaultActionFor has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 11, error handling 2 (5 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 19). 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":"browser-agent/src/act.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e19ab585fcfe026c9e4cca9dda1b834a32768a9c164223911ff6ee009831d6"}},{"ruleId":"D2","level":"warning","message":{"text":"file-workspace-tab-bar.FileWorkspaceTabItem (cognitive 49): file-workspace-tab-bar.FileWorkspaceTabItem has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 24 (34 pts), boolean chains 15 (nesting depth added 10). Of this number, 47 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"308159ccab55c69ad8f7481bc99401e12ba9709f0d1c7a33ae2f43f9ac9169e3"}},{"ruleId":"D2","level":"warning","message":{"text":"command-dropdown.CommandDropdown (cognitive 49): command-dropdown.CommandDropdown has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (21 pts), ternaries 11 (20 pts), error handling 4 (5 pts), boolean chains 3 (nesting depth added 11). Most of this is not in the body itself: 11 of the 49 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 198, 152, 134, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b8a022e2428e3e579a5f3c5c3f015abb28023c63b1489dbc214f749bf8020"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-manage-dialog.RemoteWorkspaceManageDialog (cognitive 49): remote-workspace-manage-dialog.RemoteWorkspaceManageDialog has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 16 (23 pts), if/else 12 (15 pts), boolean chains 7, error handling 4 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 30 belong to 20 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"249757f56f1af7b4c0849ae66290196ceafb33a555b4cc827e012282f7d1f780"}},{"ruleId":"D2","level":"warning","message":{"text":"virtualized-message-thread.VirtualizedMessageThreadImpl (cognitive 49): virtualized-message-thread.VirtualizedMessageThreadImpl has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (27 pts), ternaries 9 (11 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 6 of the 49 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 393, renderRow, a function literal at line 346, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/virtualized-message-thread.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e482023f8789cc9bc4ab849dca72636f61ce49cf7e2e8eb36ed306a0fffb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.buildAgentDraft (cognitive 49): acp-agent-settings.buildAgentDraft has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 24 (41 pts), boolean chains 8 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3907}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b22a276e801b7087193dd1712c7527cffd2628e000e65b659cc9bbaa00779e9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-catalog-source.CodexCatalogStatusLine (cognitive 49): codex-catalog-source.CodexCatalogStatusLine has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 15, ternaries 5 (10 pts), error handling 1 (nesting depth added 9). Of this number, 42 points are the body\u0027s own statements and 7 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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"291b2149b8137828f0e2c57de337c4e77ffb43821818108d2eb36743a84ab806"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-agent-defaults.DelegationAgentDefaultsPanel (cognitive 49): delegation-agent-defaults.DelegationAgentDefaultsPanel has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 16 (19 pts), if/else 15 (17 pts), boolean chains 12, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 15 of the 49 points are its own statements and the rest belongs to 11 function items inside it that branch (options, a function literal at line 151, a function literal at line 230, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-agent-defaults.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"503560e6da97d1b33785d65de7a40de11a4b307342867eb61d3453625bbaa691"}},{"ruleId":"D2","level":"warning","message":{"text":"html-preview-inline.inlineHtmlResources (cognitive 49): html-preview-inline.inlineHtmlResources has cognitive complexity 49 (threshold 15). Drivers by points: if/else 22 (31 pts), ternaries 2 (7 pts), boolean chains 6, loops 3 (5 pts) (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 22 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca73ebff98320e90128d36e74192f238b48bc84a39f243f379f237186447d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchState::tick (cognitive 48): WatchState::tick has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (34 pts), match/switch 3 (7 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e61df999aac997db6cbd2ccb081c653f4a89d3a9d72404279a01b3bc3bbbf"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-tools-settings.AgentToolsSettingsSection (cognitive 48): agent-tools-settings.AgentToolsSettingsSection has cognitive complexity 48 (threshold 15). Drivers by points: if/else 28, ternaries 11, boolean chains 9. Most of this is not in the body itself: 3 of the 48 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 162, 361, 470, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82087a87a1fe8591cb68a374e3799a2c4b68e67d2725ee17a60a46cbb7f47a0"}},{"ruleId":"D2","level":"warning","message":{"text":"use-connection-lifecycle.useConnectionLifecycle (cognitive 48): use-connection-lifecycle.useConnectionLifecycle has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 16, ternaries 9 (13 pts) (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 31 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"699ea76f9e9364b59665484a2abb83e796b383b329bd986a8463885f8f478d5d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeParser::parse_jsonl_summary (cognitive 47): ClaudeParser::parse_jsonl_summary has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 6, match/switch 3 (5 pts), loops 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bf4fb2ed1a59d01e2a49ae9be626e125828d7da4804d6496bdd7c12984a9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeParser::load_sqlite_parts (cognitive 47): OpenCodeParser::load_sqlite_parts has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (36 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5875008f4d8b32f1c5115b8923f2cc8e16c0aa32b9d6281b23f888d11d9e51d7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::canonical_to_codex_entry (cognitive 47): codeg::commands::mcp::canonical_to_codex_entry has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 3 (7 pts), match/switch 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9674054919c0377d788a50eff2e49c4c0329fbcd387119d512ca176168f865f8"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-settings-dialog.ForgeSettingsScope (cognitive 47): forge-settings-dialog.ForgeSettingsScope has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 24 (37 pts), boolean chains 7, if/else 2, error handling 1 (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa5833148b5208dbb6c4d5dd940a277ff7ec90828d1bac11ed24e9024173b10"}},{"ruleId":"D2","level":"warning","message":{"text":"use-agent-call-model.useAgentCallModel (cognitive 47): use-agent-call-model.useAgentCallModel has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 11 (41 pts), boolean chains 6 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f63f95eaba51ce6a7205840a943afd04f7ad5b531a66f50d295f0036f7fc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-connect-dialog.OpenCodeConnectDialog (cognitive 47): opencode-connect-dialog.OpenCodeConnectDialog has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 22, ternaries 12 (17 pts), if/else 7, error handling 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 25 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1d16d1fb35e2496db5733bdba72920b766f81c319cf7dbd7b1d92971f0134"}},{"ruleId":"D2","level":"warning","message":{"text":"branch-picker.BranchPicker (cognitive 47): branch-picker.BranchPicker has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 13 (26 pts), if/else 11 (13 pts), boolean chains 6, error handling 2 (nesting depth added 15). Of this number, 28 points are the body\u0027s own statements and 19 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/branch-picker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc9efea561bbb5882ca03e2da5fea35da44934c69dadf887c5037fdc91a33fc"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.buildDiffChunk (cognitive 47): session-files.buildDiffChunk has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (33 pts), ternaries 5 (11 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b270f134c7b15219202e4b4e23a443e01972538d17faa949543c8179f917b62"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::handlers::workspace_files::upload_workspace_file (cognitive 46): codeg::web::handlers::workspace_files::upload_workspace_file has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (33 pts), match/switch 3 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bbea3cca10fb9ec9a57a7eea6c64cbb9b5531d78a8472d038bac144cd51244"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationValidator.validate_file (cognitive 46): CitationValidator.validate_file has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 6 (11 pts), boolean chains 7 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bf2b64cabcc37c677d37a78ca5023b5879182dc1f9218511e2ec7c342de72e"}},{"ruleId":"D2","level":"warning","message":{"text":"file-workspace-panel.buildDiffOutline (cognitive 46): file-workspace-panel.buildDiffOutline has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 4, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2cfd065f36cd8ab1849601e898eadb0b880bce2f00aebb7ab0138e0c78e02b"}},{"ruleId":"D2","level":"warning","message":{"text":"task-settings-dialog.TaskSettingsBody (cognitive 46): task-settings-dialog.TaskSettingsBody has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 19 (25 pts), boolean chains 14, if/else 5 (6 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 9 of the 46 points are its own statements and the rest belongs to 10 function items inside it that branch (save, a function literal at line 254, a function literal at line 600, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d312131d168b5be2084cc271e72b73ae72253a818e8421f183e9dbacea4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::shim::windows::on_event (cognitive 45): codeg::browser::shim::windows::on_event has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (40 pts), match/switch 2 (3 pts), boolean chains 2 (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":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fc2edefc563f01067d7cab13c91e3bd3753dbd61d0192686946223d041044d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_update_agent_config_core (cognitive 45): codeg::commands::acp::acp_update_agent_config_core has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (29 pts), match/switch 4 (12 pts), boolean chains 4 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13408}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf90744dc07722b9999c616b981560803184a5d0de3cad8a68d6910e22c9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::build_file_tree (cognitive 45): codeg::commands::folders::build_file_tree has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 6 (12 pts), loops 5 (7 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4891}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b437401c838f43b018adb022463ef784c7eb1057b073e65e4b113b2a84ff73a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::grok_entry_to_canonical (cognitive 45): codeg::commands::mcp::grok_entry_to_canonical has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b71f3ba860d3e4a18257e5a526a173e5cd069bc82510a52e3860468fdef9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-header.ActivityHeader (cognitive 45): activity-header.ActivityHeader has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 19 (33 pts), boolean chains 9, if/else 2 (3 pts) (nesting depth added 15). Of this number, 41 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5c361c8b60f2736230f37203883288782a40ad82254e6773d7b499e811dd42"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg-mcp-tool-card.CodegMcpToolCard (cognitive 45): codeg-mcp-tool-card.CodegMcpToolCard has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 18 (33 pts), boolean chains 11, match/switch 1 (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 15 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"103ad68dd11077d8ef50a4ed6c5814bd9170072dcc2be4b349de2026129e6a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"channel-list-tab.ChannelListTab (cognitive 45): channel-list-tab.ChannelListTab has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 11, if/else 8 (9 pts), error handling 7 (nesting depth added 12). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 248, 131, 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":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd6c61bde80de2b30301bbc6cc4235531d377a82d4c944d924fbc06cd86f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-connections-context.sameConfigOptions (cognitive 45): acp-connections-context.sameConfigOptions has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b500cb5a12d5a167192227a6c1e530ae157f8b12c78bea0a72d4ee235398f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::channel::handle_message (cognitive 44): codeg::browser::channel::handle_message has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (37 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/channel.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9639d2d6de7b37a0bd296bf0a2b812373be137aaf79e0459112b92ad4fa84ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"image_metadata.screen_metadata (cognitive 44): image_metadata.screen_metadata has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 6 (14 pts), boolean chains 8, 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":"src-tauri/science/skills/scientific-visualization/scripts/image_metadata.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"627573db6a4984a62ced5041a18ed70189dd7354633deb560824e6a23d6632c9"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-settings.ComputerSettingsSection (cognitive 44): computer-settings.ComputerSettingsSection has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 23, boolean chains 13, if/else 6, error handling 2. Most of this is not in the body itself: 13 of the 44 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 376, 295, 330, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebeb2120a5d8631c1598e13802572ab0a698003adaf2d5f30f7adba7a2600c7"}},{"ruleId":"D2","level":"warning","message":{"text":"logs-settings.LogsSettings (cognitive 44): logs-settings.LogsSettings has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20, boolean chains 12, ternaries 9, error handling 3. Most of this is not in the body itself: 15 of the 44 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 472, 616, 349, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"974277c41f0d05cef7256a55dff220bd6efc6efbb4f536069b8cd353084a359c"}},{"ruleId":"D2","level":"warning","message":{"text":"web-service-settings.WebServiceSettings (cognitive 44): web-service-settings.WebServiceSettings has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 15, if/else 13 (15 pts), ternaries 7 (8 pts), error handling 6 (nesting depth added 3). Most of this is not in the body itself: 13 of the 44 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 323, handleStart, a function literal at line 426, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e786e22088ab17667269ed7db471379b9f913417767eaeef288b4967d96bcb10"}},{"ruleId":"D2","level":"warning","message":{"text":"task-editor-dialog.TaskEditorBody (cognitive 44): task-editor-dialog.TaskEditorBody has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15, ternaries 11 (14 pts), boolean chains 12, error handling 3 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 27 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"580f0e5790aaf082c93b3b9e9e6666f5785751f106daaab0648887b052f6cc44"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.parseToolOutput (cognitive 44): delegation-card.parseToolOutput has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 8, ternaries 2 (6 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0a3972f7afc352545037a64ff872606548e2eb94adc702973651605b5faddd"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-tags-store.useConversationTagsStore (cognitive 44): conversation-tags-store.useConversationTagsStore has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 8, error handling 4, ternaries 2 (3 pts), loops 2 (nesting depth added 10). None of this is in the body itself: all 44 points belong to 8 function literals inside it that branch (lines 170, 271, 242, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-tags-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d875fac9c91b143ae435e470588d2a9b3b94c018964bbd9b52de06347db4386c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawParser::summaries_from_tree (cognitive 43): OpenClawParser::summaries_from_tree has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (32 pts), match/switch 3 (8 pts), loops 2 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fbf18b40b2b3a853254d67d6259c56756997c80abe12a09912257386bb3c86"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::antigravity::step_outcome (cognitive 43): codeg::parsers::antigravity::step_outcome has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8126b32ba583d4e01ec1bdbda737e2b9c873f555d4734b079072dd141db14"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_matrix.load_scores (cognitive 43): evaluate_matrix.load_scores has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 4 (6 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":"src-tauri/science/skills/scientific-brainstorming/scripts/evaluate_matrix.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"939c01dc2fcfab39d5b5f7d817aa67e77ed88d02836fc7933b46a0f430ed4fce"}},{"ruleId":"D2","level":"warning","message":{"text":"completed-turn-content.CompletedTurnContent (cognitive 43): completed-turn-content.CompletedTurnContent has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 19, ternaries 13, if/else 10 (11 pts) (nesting depth added 1). Of this number, 36 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/completed-turn-content.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137bf9efb4303adb32b81b7a711fed20b3b46ee4c25f95547ee6b02781c29b6"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-config-panel.AntigravityConfigPanel (cognitive 43): antigravity-config-panel.AntigravityConfigPanel has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 19 (27 pts), if/else 8, boolean chains 6, error handling 2 (nesting depth added 8). Of this number, 29 points are the body\u0027s own statements and 14 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ee82a8719723151be1f6545022bda441efe5827edf6b6eaabf8ae016b7c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::apply_kiro_preferred_options (cognitive 42): codeg::acp::connection::apply_kiro_preferred_options has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 4 (12 pts), boolean chains 3 (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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0016e559cd04b8a05691ca68f2a44549aeb614a4aa730f7be5eb1113acb6805a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_call_site (cognitive 42): codeg::acp::lifecycle::code_mode_call_site has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 8, match/switch 1 (2 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"72209ee6fc218349a3a9f82238c650d5996996b5c1036de96a20408e437fd440"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.parse_bibtex (cognitive 42): _common.parse_bibtex has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 5 (9 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/_common.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a94773640759a46f317f2a18b7f274179db5b874f0d82b0955f7b330baa582c"}},{"ruleId":"D2","level":"warning","message":{"text":"lint_review.lint (cognitive 42): lint_review.lint has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 5 (8 pts), boolean chains 4, ternaries 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/lint_review.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc1611f72b31c249b34cba969841d83adba219eae6ca20dea551705f15ecdf"}},{"ruleId":"D2","level":"warning","message":{"text":"check_traceability.validate_manifest (cognitive 42): check_traceability.validate_manifest has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 2 (4 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":"src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadad33d1707ca7c0707c2e8802ec933594958134e7133e9df87648c21a0b937"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-context-usage.ComposerContextUsage (cognitive 42): composer-context-usage.ComposerContextUsage has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 18 (25 pts), boolean chains 12, if/else 5 (nesting depth added 7). Of this number, 35 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68cdf2090f662839e36e3ac79dd7a15a8877fcabc5ddcf1a3b7893b1522b465"}},{"ruleId":"D2","level":"warning","message":{"text":"session-details-content.SessionDetailsContent (cognitive 42): session-details-content.SessionDetailsContent has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 15 (22 pts), boolean chains 17, if/else 3 (nesting depth added 7). Of this number, 37 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"463e8f9eb281e295da9c418647f66fbe3f8c38dcec7a22ea2cc4d4b22601f376"}},{"ruleId":"D2","level":"warning","message":{"text":"office-preview.OfficePreview (cognitive 42): office-preview.OfficePreview has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 11, ternaries 4 (6 pts) (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 21 belong to 12 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/office-preview.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b834cbcd5f5a01c3b8fd6ed644bae1f8700f38af7175cf8ae217ed20d10534"}},{"ruleId":"D2","level":"warning","message":{"text":"generic-row.GenericRow (cognitive 42): generic-row.GenericRow has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 19 (33 pts), boolean chains 7, if/else 1, match/switch 1 (nesting depth added 14). Most of this is not in the body itself: 6 of the 42 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 195, 86, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"548deff6a7c3a476dc309b9548ed12065dd491c2b23e21995592ca3210fdcec0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-visualize-card.CodexVisualizeCard (cognitive 42): codex-visualize-card.CodexVisualizeCard has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 18 (21 pts), boolean chains 14, if/else 7 (nesting depth added 3). Of this number, 27 points are the body\u0027s own statements and 15 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbe3af542cb51964b4f27c007950c678ccbefb0293a6857c12164709349a921"}},{"ruleId":"D2","level":"warning","message":{"text":"exit-meaning.answerOf (cognitive 42): exit-meaning.answerOf has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 9 (16 pts), boolean chains 9 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ee37fae48c1b1fd44bbac3fda1a61be7f5ad1c2ba13c6d57876b198fb5a3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.skipJsTemplate (cognitive 42): delegation-card.skipJsTemplate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7868f87d1f16b01dab9996caab07db712c0e001ac35b86c5fc44d4271c0a1ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService::start_build (cognitive 41): IndexService::start_build has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (29 pts), match/switch 3 (6 pts), loops 1 (5 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a684a8a2d379742ae7ca393dbb2ec0ec734ba9ebab2316155972e8a6343a332"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::parse_form_questions (cognitive 41): codeg::acp::question::parse_form_questions has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 9, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"77987c0f4064a42a1be2f6e7cfe0915ff3b3e6ea0423198a256ba22d3f4b7ef7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::supervise::run (cognitive 41): codeg::supervise::run has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb76df2755f5b61a50430ab0b578d8697a849e516a60bc30bede13671145af8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::start_workspace_state_stream_core (cognitive 41): codeg::workspace_state::start_workspace_state_stream_core has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a253096dcd60fd634585d411e9cd7d74265786b9d18769373022706817574f47"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationValidator.validate_entry (cognitive 41): CitationValidator.validate_entry has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 7, loops 2 (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":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8f78f09346a085bf43dfb6c198795486c500cd8d7bee132eefdf83afb2e869"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-screenshot-markup.ScreenshotMarkupDialog (cognitive 41): browser-screenshot-markup.ScreenshotMarkupDialog has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 11, ternaries 4 (nesting depth added 1). Most of this is not in the body itself: 4 of the 41 points are its own statements and the rest belongs to 18 function items inside it that branch (onKeyDown, a function literal at line 131, onPointerUp, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-screenshot-markup.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7624102f77b91ca1f305e136291b1441e6a9f4766b1c9146c28cbe74dd1811e"}},{"ruleId":"D2","level":"warning","message":{"text":"doc-guest-preview.DocGuestPreview (cognitive 41): doc-guest-preview.DocGuestPreview has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 16 (25 pts), boolean chains 13, if/else 2, error handling 1 (nesting depth added 9). Of this number, 32 points are the body\u0027s own statements and 9 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":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4a9b1c78f511dde63f8d2ed8cb5c776fff103d12768ea918ad1f4fb46abd66"}},{"ruleId":"D2","level":"warning","message":{"text":"collab-agent-row.CollabAgentRow (cognitive 41): collab-agent-row.CollabAgentRow has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 22 (29 pts), boolean chains 11, match/switch 1 (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/collab-agent-row.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3a8b43cbe4bd5ee340d386b070fa2111f6f5357c75d9abe75ffdbb88befa8"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.buildVersionCheck (cognitive 41): acp-agent-settings.buildVersionCheck has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 14 (16 pts), boolean chains 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c99fe90727201480ece44d3c937c717db93140d6c7fb834b7067502bffb5ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"quick-messages-settings.QuickMessagesSettings (cognitive 41): quick-messages-settings.QuickMessagesSettings has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 10 (12 pts), boolean chains 10, error handling 5 (nesting depth added 3). Most of this is not in the body itself: 14 of the 41 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 430, 190, 200, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba9be790d6137d4cd6784a782ad237a80baa61c08819979522a4caa8921099c"}},{"ruleId":"D2","level":"warning","message":{"text":"task-card.TaskCard (cognitive 41): task-card.TaskCard has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 16, if/else 2 (nesting depth added 4). Of this number, 38 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":"src/components/tasks/task-card.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8476ab5c37fe29c9c9238ef713baa134ba2169dc7f16070350cd2cd9471e9dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.groupGoalRuns (cognitive 41): ai-elements-adapter.groupGoalRuns has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 6, loops 1 (nesting depth added 17). Of this number, 36 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dea3dec3223cf8d5c204c84f22b8d3bdb932ab6599e096ca3170c3f7a9afb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-visualize.splitCodexVisualizeRefs (cognitive 41): codex-visualize.splitCodexVisualizeRefs has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (31 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 18). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1105d9448d61c8e9795d1c8c34c640ed30c3f2292548a033c4374ab836faee44"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::event_subscriber::process_envelope (cognitive 40): codeg::chat_channel::event_subscriber::process_envelope has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/event_subscriber.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdcc2d7f17db02e2cdfa661bdf6a731d7adc356787b3c2834c22ade90e35bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::compute_verdict (cognitive 40): codeg::commands::acp::compute_verdict has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (36 pts), boolean chains 3, 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea839b412240dd342d1beab1cd4059cd12bad45fcfcb1849f9c2c0aeab722521"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::git_log (cognitive 40): codeg::commands::folders::git_log has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (37 pts), loops 2, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1387ee33a4c9aafb4a8614f685264583a6ca4c72d4700eada6eb30f62c5f160"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::qoder::attach_subagent_tool_calls (cognitive 40): codeg::parsers::qoder::attach_subagent_tool_calls has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 3, match/switch 2 (3 pts), loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d766cfe2744d477081c9d9647321896ccb9d43ad212e9c0a06984fa36341014"}},{"ruleId":"D2","level":"warning","message":{"text":"sequence_inspector.inspect_sequence_file (cognitive 40): sequence_inspector.inspect_sequence_file has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 7 (15 pts), boolean chains 3, error handling 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcaacc6cdd32faea465697cfb094e08c16e5103875828f431b5ec83e9dceae8"}},{"ruleId":"D2","level":"warning","message":{"text":"weight_sensitivity.analyze (cognitive 40): weight_sensitivity.analyze has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 4 (7 pts), ternaries 3 (7 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/weight_sensitivity.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a18b9230b0db4be9c628002c1825f2278e6fd0ad92311425284fd089606cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.WorkspaceContent (cognitive 40): layout.WorkspaceContent has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 25, if/else 9, ternaries 5, error handling 1. Of this number, 25 points are the body\u0027s own statements and 15 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":"src/app/workspace/layout.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ea7df8b8df4bd277a9be8bfe3dafa9cd265a8e5e8eac7d0c95d7216d61d34"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-page.RunHistory (cognitive 40): automations-page.RunHistory has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (30 pts), if/else 5, boolean chains 3, error handling 2 (nesting depth added 19). Most of this is not in the body itself: 4 of the 40 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1396, a function literal at line 1309, cancel, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9cbbdd053c732d49a15b09d277622dc15d86767b1f4f5eb33cbc8d03b6b0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-card.SidebarConversationCard (cognitive 40): sidebar-conversation-card.SidebarConversationCard has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 19, ternaries 9 (15 pts), if/else 6 (nesting depth added 6). Of this number, 32 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c329b53b9b21e7ef027d4e598383d3b94f25be1e66683dd96707749faa063ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-file-tree-tab.RenderNode (cognitive 40): aux-panel-file-tree-tab.RenderNode has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (11 pts), ternaries 8 (10 pts), error handling 4 (6 pts) (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 17 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44eb6835fcdde6fabaf31bc9aaf32cbd172d460a409b5bd1ba583ef43ecd2af"}},{"ruleId":"D2","level":"warning","message":{"text":"describe-tool-call.describeUncached (cognitive 40): describe-tool-call.describeUncached has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 16 (33 pts), boolean chains 6, match/switch 1 (nesting depth added 17). 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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f99071c1e0a9e9e04007438dfb99f1d569e3c25dbfff2801c09af874ba2648"}},{"ruleId":"D2","level":"warning","message":{"text":"summarize.summarizeActivity (cognitive 40): summarize.summarizeActivity has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 5, loops 3 (5 pts), match/switch 2, ternaries 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 7 of the 40 points are its own statements and the rest belongs to one function literal inside it that branches (line 109). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/summarize.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02837bb15c4dc982e4b403169804f95b6e5628534c081439d55ac478f7dd4ee"}},{"ruleId":"D2","level":"warning","message":{"text":"LockedHome::commit (cognitive 39): LockedHome::commit has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 6 (8 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7fff876e06626127cff924309183d6b59bc5d16860ecbbbe9724b35511e554"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::git_remove_worktree_core (cognitive 39): codeg::commands::folders::git_remove_worktree_core has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (39 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8a1e521713c1a7e1788fdc49cc2951495a7d31c0afe9deedbbcc1d33fc1e22"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::canonical_to_grok_entry (cognitive 39): codeg::commands::mcp::canonical_to_grok_entry has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e387137f1d79a6e0065779265f4a43f468827e5c606a0ada49690fe07a2c2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kiro::canonical_tool (cognitive 39): codeg::parsers::kiro::canonical_tool has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 5 (11 pts), loops 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eedecdf67eb030f4a2e9a3f58354f2df3204fbeefc4c603db94c840d94fb7ff"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-model.computeAlignment (cognitive 39): canvas-model.computeAlignment has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 5 (11 pts), boolean chains 6, ternaries 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d6f0fad154bcce009259fdcfed5ab5f8a13941465b8ec264b550e980bfd032"}},{"ruleId":"D2","level":"warning","message":{"text":"region-node.RegionNode (cognitive 39): region-node.RegionNode has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 13 (20 pts), boolean chains 14, if/else 3 (5 pts) (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0037ec3a972f80a630aee51dbd414400889a3568ec15808a4ac6f51d7f5ba17e"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-row.RowChecksMark (cognitive 39): forge-issue-row.RowChecksMark has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 7 (19 pts), if/else 10 (15 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95eef6cba4f0e184c259860ab0cce341ec48dac8262e42072beab5961cdf3f6"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-tasks-tab.TasksAuxTab (cognitive 39): aux-panel-tasks-tab.TasksAuxTab has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 11 (29 pts), boolean chains 5, if/else 4, loops 1 (nesting depth added 18). Of this number, 22 points are the body\u0027s own statements and 17 belong to 6 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb0facca289db9f1f5535cdd94f27df378ca51e6d720a532a7e01fe105f5964"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.tomlLinesInsideMultilineString (cognitive 39): acp-agent-settings.tomlLinesInsideMultilineString has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 4 (12 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac83a2dabc31db4d030b838b483aedf488678aebb16b83cadbfa51cc7aa133f0"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.computeTimelinePrefix (cognitive 39): conversation-runtime-store.computeTimelinePrefix has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (14 pts), ternaries 6, loops 3 (5 pts) (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf9e061a862783c1996aceb6948d5662bd6168857c6050b678e409af31513a1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::deepseek_settings::validate_models (cognitive 38): codeg::commands::deepseek_settings::validate_models has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 6 (12 pts), loops 2 (4 pts), boolean chains 3 (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":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa48e4d85d536f3d6c52df37b23fb80260df9ac77843d908fbecbd785d8485"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::user_content_blocks (cognitive 38): codeg::parsers::claude::user_content_blocks has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (32 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3a38993c63d87e2b67de47db37665265675a6fff40526a769ed66602b322db"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_hypothesis_schema.validate_record (cognitive 38): validate_hypothesis_schema.validate_record has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 10, boolean chains 4, 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":"src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5f193c404fff1e75f86f4a34ad81b11199e4990095f37d092f01e9b82875e"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_statistics_reproducibility.audit (cognitive 38): audit_statistics_reproducibility.audit has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 3, ternaries 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/audit_statistics_reproducibility.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba875dd9b3e620670cc09b9af5bca1bba476bcdd5b7ac683d75c7ca1f6a5267"}},{"ruleId":"D2","level":"warning","message":{"text":"figure_export.export_figure (cognitive 38): figure_export.export_figure has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 8, ternaries 3 (6 pts), loops 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a69e8fcbfb40c3de59da5750fc95a940228a423f11cab61134cec58bfc29a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-normalization.inferFromInput (cognitive 38): tool-call-normalization.inferFromInput has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 8, ternaries 2 (4 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"900b4ad11d57796a7a41aa3d4a0575d6cf9cda9e9893c56f10649108082dd805"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::apply_kimi_managed_block (cognitive 37): codeg::commands::acp::apply_kimi_managed_block has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5424}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d10f4be26019f766e4eafd8608fd3a94c072924415e477dca9bc353231a8e1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::plan_hermes_write (cognitive 37): codeg::commands::acp::plan_hermes_write has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e7ffd194a09d931a1822998906dd9da2844c3b3fe5802f3878231c09e43c68"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::trae_usage::scan_rollout (cognitive 37): codeg::parsers::trae_usage::scan_rollout has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 2 (5 pts), match/switch 2 (4 pts), boolean chains 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":"src-tauri/src/parsers/trae_usage.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80d432a020c894d8eae9b63446dfc086d3d9282a2fb382fd7f0c0e6f3609c55"}},{"ruleId":"D2","level":"warning","message":{"text":"index.act (cognitive 37): index.act has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 4 (9 pts), boolean chains 1, match/switch 1 (nesting depth added 17). Of this number, 36 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":"browser-agent/src/index.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e81dda3b2eefc95078913bf92f769b63b917309a45d4ac43d78f58b38818fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-model-provider-dialog.EditModelProviderDialog (cognitive 37): edit-model-provider-dialog.EditModelProviderDialog has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 10 (13 pts), boolean chains 6, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 12 of the 37 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 147, 77, 111, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e704ba86b8272050a19b92e78dccac5f4b6a0977fc131d3d40ae8de668353ed"}},{"ruleId":"D2","level":"warning","message":{"text":"general-settings.GeneralSettings (cognitive 37): general-settings.GeneralSettings has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (12 pts), error handling 6, ternaries 4 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 128, 189, 251, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f856cef8dcfec2eded5782be3bd17b049a9b4781ecb9c9a4fba741a39cd4ad26"}},{"ruleId":"D2","level":"warning","message":{"text":"version-control-settings.VersionControlSettings (cognitive 37): version-control-settings.VersionControlSettings has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, ternaries 9 (10 pts), error handling 6 (nesting depth added 3). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 366, 301, 343, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9d9be33cffc82a8856d71da0ae18aaa06115a4c65e262a781cc663dcea5611"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.codeModeArgsTransparent (cognitive 37): delegation-card.codeModeArgsTransparent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13db0a207fc0b077828970db07f6ec1d71a7fd7083c49d5919885f7f6868601"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.applyRemoteSnapshot (cognitive 37): tab-store.applyRemoteSnapshot has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 11, ternaries 5, loops 2 (nesting depth added 4). Of this number, 29 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ddd3d1d9e367a5cb2f40404bfa024a39b0f5eefe772d915b334d84d10b4b39"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::get_unpushed_hashes (cognitive 36): codeg::commands::folders::get_unpushed_hashes has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"592632440e887379fe41089a30d74480cac59dbc2719114ae75cc9d4dea15ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::decode_state (cognitive 36): codeg::parsers::cursor::decode_state has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (9 pts), match/switch 3 (8 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4789b0397edd2e7dc74c172d2443bad083d43971d843a9fd7521e27c0246a89c"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_review_intake.validate_intake (cognitive 36): validate_review_intake.validate_intake has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 7, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/validate_review_intake.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ded985062b96961aca39f571ce8fe108f4a7e1f4027a0da8a1cfee7b3e87b03"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-grouping.reconcileLayout (cognitive 36): sidebar-conversation-grouping.reconcileLayout has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 6 (9 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca08099b5ad26a3c7bde4bf9b3100922fea5486fae8146930a1e68bbdcdb66b"}},{"ruleId":"D2","level":"warning","message":{"text":"command-rows.CommandDetail (cognitive 36): command-rows.CommandDetail has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 21 (27 pts), boolean chains 9 (nesting depth added 6). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcdfb8f630d65fd5c4d2f6590f820e957529d129361f985371c67f6ad6d8f75"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-marketplace-dialog.PetMarketplaceDialog (cognitive 36): pet-marketplace-dialog.PetMarketplaceDialog has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 10, if/else 8 (9 pts), error handling 2 (nesting depth added 7). Most of this is not in the body itself: 12 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 110, 185, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c819c9f6bbcad831b7fb4283b7320d3aa6a9e15b29d4394f8596c8061a82b7"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeParser::load_sqlite_messages (cognitive 35): OpenCodeParser::load_sqlite_messages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078f06e6d56f4b1745711b3eda78cd3fc54b7ceae1d6791c30b1f9a9f72cb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::smoke::execute (cognitive 35): codeg::browser::smoke::execute has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 13 (24 pts), if/else 5 (11 pts) (nesting depth added 17). 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":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca9942547a3e52ab0134bca4d8dec3d0ed1aa17fe3b90d7c33c71ba281b97dc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::surface_child::configure_child (cognitive 35): codeg::browser::surface_child::configure_child has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (29 pts), match/switch 4 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"3417ca5dbe4b5b30891bad8222ded27893bd0540bd69aa598ac0ae4bbf2871f1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::tool_detail::format_tool_call_detail (cognitive 35): codeg::chat_channel::tool_detail::format_tool_call_detail has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/tool_detail.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e05532f9d982d4f8cd112ec0fea91cdd8ae60e51beae03d3119e81ce4ff07"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::cli::run::drive_loop (cognitive 35): codeg::cli::run::drive_loop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 4 (9 pts), loops 2 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5eb4c378ac382505ee9bb6af9ddb093e3f7161f5a611b42eaf5789e81b3b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScientificSchematicGenerator.generate_iterative (cognitive 35): ScientificSchematicGenerator.generate_iterative has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 7, ternaries 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63f5232c5ed9f537b074d6abd7024321d73c41745758d9255acc44e334f625"}},{"ruleId":"D2","level":"warning","message":{"text":"file-workspace-header.FileWorkspaceHeader (cognitive 35): file-workspace-header.FileWorkspaceHeader has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 22, if/else 7, ternaries 4 (5 pts), error handling 1 (nesting depth added 1). Of this number, 27 points are the body\u0027s own statements and 8 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":"src/components/files/file-workspace-header.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"30583043dc25282495daea86f27e3b4056bbddfd22f702053705cccd1b01d209"}},{"ruleId":"D2","level":"warning","message":{"text":"task-detail-sheet.timelineDetail (cognitive 35): task-detail-sheet.timelineDetail has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 11, if/else 2 (3 pts), match/switch 1 (nesting depth added 11). Of this number, 32 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":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d245e37e6a930674b4f099e0a335fa8702a23245d0918a420f06666c82c96a"}},{"ruleId":"D2","level":"warning","message":{"text":"html-preview-inline.scanStartTags (cognitive 35): html-preview-inline.scanStartTags has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 4, 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":"src/lib/html-preview-inline.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a01ae77998b261784867c932fb719956d8792227a0c6680d8015c2c98c5ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiParser::parse_jsonl_chat_value (cognitive 34): GeminiParser::parse_jsonl_chat_value has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 3 (7 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":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa3398880b5458baab629217cbe6cd3bd1f40a6ebbe68856de2a2a81dbd8a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::computer_act_request (cognitive 34): codeg::acp::delegation::companion::computer_act_request has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 9 (16 pts), if/else 8 (15 pts), boolean chains 3 (nesting depth added 14). 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3941}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce8aeb1d026dccfd790af6cb152166ce9a9e2d33cd39ba33380852b9a54e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::inject_delegation_meta (cognitive 34): codeg::commands::conversations::inject_delegation_meta has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 4 (8 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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"37201f235914fbab34bba1543be75b93a2b26d665943ee524420fc017bb68df4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::office_tools::officecli_uninstall (cognitive 34): codeg::commands::office_tools::officecli_uninstall has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (7 pts), match/switch 2 (6 pts), boolean chains 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":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1be6b1270ed525fee9d3332564e4b785bb1fb2d9dd43fa3d900435bad77df7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kiro::result_json_text (cognitive 34): codeg::parsers::kiro::result_json_text has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 3, loops 1 (3 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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59528e0b8e15a9a38b91fb4772e182f867bf38eb44e776961bad9b371ac5134"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::work_task::engine::instruction_scan (cognitive 34): codeg::work_task::engine::instruction_scan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (25 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":8217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45300101c380531e5af874f29f3b98a848b93ae5f2b9adb41fd0ce7e9c9e2af"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::flush_watch_batch (cognitive 34): codeg::workspace_state::flush_watch_batch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 10, match/switch 3 (5 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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f31bbbd0a600d58e14c3a17fb94e47cd1e0c49960f91fadf7ba4b15dfe7e85"}},{"ruleId":"D2","level":"warning","message":{"text":"summarize_agreement.read_rows (cognitive 34): summarize_agreement.read_rows has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), error handling 1 (3 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":"src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9a377faaa9e5a3b460647cbe582958aacdd1f9698930e10fe1e3d76d1be79"}},{"ruleId":"D2","level":"warning","message":{"text":"usePetDrag.usePetDrag (cognitive 34): usePetDrag.usePetDrag has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 4). None of this is in the body itself: all 34 points belong to 7 function literals inside it that branch (lines 130, 97, 182, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetDrag.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"505eebee29a96978f96dc97b53adc9f5db304f6b6d0af0af0b8f02f69a22d246"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-connection-status.ComposerConnectionStatus (cognitive 34): composer-connection-status.ComposerConnectionStatus has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 9, if/else 2 (nesting depth added 4). Of this number, 29 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d53cfe3cf7872cb0e07ea5979a24602d2ab947651c379072ae1beb25932185d"}},{"ruleId":"D2","level":"warning","message":{"text":"status-bar-mcp.StatusBarMcp (cognitive 34): status-bar-mcp.StatusBarMcp has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (10 pts), ternaries 6 (7 pts), error handling 3 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7529bbeb96390cca87735ac58939dc45af8c9aa5bc066425a8b604aecf388"}},{"ruleId":"D2","level":"warning","message":{"text":"status-bar-web-service.StatusBarWebService (cognitive 34): status-bar-web-service.StatusBarWebService has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 16 (20 pts), if/else 6, boolean chains 5, error handling 3 (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-web-service.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ebb2ac14acc4b63852857aa8b2647c7dd5926612c3df04f09618e1341753ae"}},{"ruleId":"D2","level":"warning","message":{"text":"merge-workspace.MergeWorkspace (cognitive 34): merge-workspace.MergeWorkspace has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, ternaries 7 (10 pts), error handling 5, if/else 5 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 16 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9f5f980da89cb623ec5c0d1e582508f88a49da99ea19e91082f0686b3118a5"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant-editor-dialog.AssistantEditorBody::save (cognitive 34): assistant-editor-dialog.AssistantEditorBody::save has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (20 pts), ternaries 4 (10 pts), boolean chains 3, error handling 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. This shape REPEATS in the file: one other method here (assistant-editor-dialog.AssistantEditorBody) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"486bd298d3bf675cae15d2f8be56bcea92bb468e66e388e6fb37c9dfdae3d938"}},{"ruleId":"D2","level":"warning","message":{"text":"build-activity.collectSteps (cognitive 34): build-activity.collectSteps has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 10, if/else 4 (8 pts), match/switch 1 (nesting depth added 11). None of this is in the body itself: all 34 points belong to 2 function items inside it that branch (a function literal at line 261, note). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fabebb3610dca7db4be68211457071d2bc8a58587e5ee4566607c4c36263dc"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.codeModeFindKey (cognitive 34): delegation-card.codeModeFindKey has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 6, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e522925f40449c5990fa3feb7a40aef6719c4825b8408db23c6d573d0eb160ed"}},{"ruleId":"D2","level":"warning","message":{"text":"line-change-stats.countUnifiedDiffLineChanges (cognitive 34): line-change-stats.countUnifiedDiffLineChanges has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), ternaries 2 (6 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":"src/lib/line-change-stats.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5612f3d0b0d4abb7ff4b5c6979b561ed2ecbe324863652647d3acb264bab5ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationBroker::resume_with_context (cognitive 33): DelegationBroker::resume_with_context has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (28 pts), match/switch 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddca758526dd25737fd58c0c357cd56dfbe68942b2a6d132fc1e76c2eb02ce22"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::apply_grok_preferred_options (cognitive 33): codeg::acp::connection::apply_grok_preferred_options has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 2 (8 pts), boolean chains 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4631a37f64f237ad9c9fe640111d2463c61637298e3827ee2c4d40b5985ce77a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::handle_permission_request (cognitive 33): codeg::acp::connection::handle_permission_request has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (28 pts), match/switch 2 (4 pts), boolean chains 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07aa7736ebf77b86df15405cb20ed00fda3117f1d72fae6c0bb64ef4c7051d4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::render_browser_console_result (cognitive 33): codeg::acp::delegation::companion::render_browser_console_result has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 19). 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"2205441fbe3273f460190c76251368e5a1ef0b7f85d7b930ef560633842864eb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::handle_event (cognitive 33): codeg::acp::lifecycle::handle_event has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (32 pts), match/switch 1 (nesting depth added 17). 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf76ca0d90139c6e812ecce9f68dad81a8467e7c897fa297636da6a2c4fc925"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::template_literal_text_end (cognitive 33): codeg::acp::lifecycle::template_literal_text_end has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 2 (6 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"9217299ba027a412217c659241b64e0b485595336e98b0befe8cf7b99d2ec7ee"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::bin::codeg_server::async_main (cognitive 33): codeg::bin::codeg_server::async_main has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (25 pts), match/switch 6 (7 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a798140c2b9c2b596843a1becc4516f93a224be30d3da6bfcb56b3fb730a8da"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::fold_shell_session_polls (cognitive 33): codeg::parsers::codex::fold_shell_session_polls has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (10 pts), loops 5 (9 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"090b6788f73bc00f2693d7093d6bca24a8e70a69304d56709b1d15d43abb9406"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::infer_output_value_is_error (cognitive 33): codeg::parsers::codex::infer_output_value_is_error has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8ff57931031cd9a8f5fe2a6ef6d36a3cf32ecd70d42e7519343b32a71175e1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kiro::parse_transcript (cognitive 33): codeg::parsers::kiro::parse_transcript has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0299deeedb07032ef05aa7a89ceed538560c03cf67b0b44ad81b627afd82efab"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::browser_tunnel::pump::pump (cognitive 33): codeg::web::browser_tunnel::pump::pump has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 5 (8 pts), loops 4 (5 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":"src-tauri/src/web/browser_tunnel/pump.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c14f78b8501be9e71696aaa2982cfad674eff6147eedcf378daeeac8bd3470"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAlexSearcher.search (cognitive 33): OpenAlexSearcher.search has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_openalex.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f910040ffe34a11048b563ce615962a3918c822142ce9cfe2364146ce1566c"}},{"ruleId":"D2","level":"warning","message":{"text":"check_operationalization.audit (cognitive 33): check_operationalization.audit has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (5 pts), boolean chains 2, ternaries 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":"src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e5c4a17751e1170df4a6e389f2f339dca6469c97922cb0992e48591ef2fc7c"}},{"ruleId":"D2","level":"warning","message":{"text":"summarize_agreement.summarize (cognitive 33): summarize_agreement.summarize has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 5 (10 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b614ff9e221181f2cb1e9f05d2e584780a28f48a587a26cc35310ece56eaabc"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-toolbar.BrowserToolbar (cognitive 33): browser-toolbar.BrowserToolbar has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 9, boolean chains 8 (nesting depth added 2). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 10 function items inside it that branch (submit, a function literal at line 388, onKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"414f55666a2547b8fd2c055e469a0e30dea92b1b07aa09e53019388d8cfc2048"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-width-handles.WidthHandle (cognitive 33): chat-width-handles.WidthHandle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 5 (7 pts), boolean chains 5 (nesting depth added 4). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 247, 197, 284, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/chat-width-handles.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d26e4f0f80cc708eeb5fa2d2c2040446031ab81c09ee83a15776ac90dedab85"}},{"ruleId":"D2","level":"warning","message":{"text":"model-option-list.ModelOptionList (cognitive 33): model-option-list.ModelOptionList has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 6 (9 pts), boolean chains 5, match/switch 1 (nesting depth added 11). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 157, 293, 219, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e5a783ff487fe992a856ffdd11b8ac62a3d6a5e74f1bfec984d1adcb4063d9"}},{"ruleId":"D2","level":"warning","message":{"text":"permission-dialog.PermissionDialog (cognitive 33): permission-dialog.PermissionDialog has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 24, ternaries 5, if/else 2 (3 pts), loops 1 (nesting depth added 1). Of this number, 28 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d157e2d568fb2730182c5c51cdb5acf853cc538c8187f3cfc6d47a9d62a4078a"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-detail-header.ConversationDetailHeader (cognitive 33): conversation-detail-header.ConversationDetailHeader has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14, ternaries 8 (9 pts), boolean chains 7, error handling 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 200, 174, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac63013616fd01fec2dc6d2c31c59b4ff3cf397ea9c3d0ef1e395be7c8f9e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"search-command-dialog.SearchCommandDialog (cognitive 33): search-command-dialog.SearchCommandDialog has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (9 pts), ternaries 8 (9 pts), error handling 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 14 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":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3fd773a8a0bb4520b32d07390c8fa83b5264b7950d27709135905fda5f3d58"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-manage-dialog.RemoteManageDialog::handleSave (cognitive 33): remote-manage-dialog.RemoteManageDialog::handleSave has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 4 (9 pts), boolean chains 4, loops 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-manage-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f613d86b85df086a93bd8e23208f7e1f5b1805da4fb871f9fa7c29a387282107"}},{"ruleId":"D2","level":"warning","message":{"text":"server-file-browser-dialog.ServerFileBrowserDialog (cognitive 33): server-file-browser-dialog.ServerFileBrowserDialog has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 8, error handling 3, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 225, a function literal at line 142, a function literal at line 187, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/server-file-browser-dialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1b42c93e861229601f3a696379827f35aa1132eefe425c6af22c57480b9fea"}},{"ruleId":"D2","level":"warning","message":{"text":"use-subsession-sync.useSubsessionSync (cognitive 33): use-subsession-sync.useSubsessionSync has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (25 pts), loops 4 (7 pts), ternaries 1 (nesting depth added 10). None of this is in the body itself: all 33 points belong to 8 function literals inside it that branch (lines 133, 79, 103, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-subsession-sync.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd18641e91265733b5297d736da79c233330167f03cc0df08abcb6236adbe6d"}},{"ruleId":"D2","level":"warning","message":{"text":"file-open-target.normalizeAbsPath (cognitive 33): file-open-target.normalizeAbsPath has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 6 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-open-target.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a063b5d541bbb773434ff6274212553bd1dd1d5f72dc5a5c824e49adc061bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.applyLateToolCallReports (cognitive 33): conversation-runtime-store.applyLateToolCallReports has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 12). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2329, 2320, 2337). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e58009bc77f3b6e7aa5d132f9af543429d0f871791d98afdbe12b0acda41b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::get_folder_conversation_core (cognitive 32): codeg::commands::conversations::get_folder_conversation_core has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 3 (7 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bb7669e37c533ed4e242767e44cb6891d644e9890b335e8be8facd27134600"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::infer_context_window_max_tokens (cognitive 32): codeg::parsers::infer_context_window_max_tokens has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 8, 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":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"014051470159223653786718dd9f5d6ba2fe12bd4d58eb6624c8aff5d059f58c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::acp_native::project_turns (cognitive 32): codeg::parsers::acp_native::project_turns has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (28 pts), match/switch 1 (2 pts), boolean chains 1, 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":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fada85ff0ec15ad967590604f15f157c95698296a1234b97c7b4357033de5b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::get_local_addresses (cognitive 32): codeg::web::get_local_addresses has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 1 (2 pts), boolean chains 1 (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":"src-tauri/src/web/mod.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b603e139480a3efaae21047d2fe0f982aeb88b5e5830ba4664514fd5fa0c9e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"_structured._array_report (cognitive 32): _structured._array_report has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 7 (8 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_structured.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"180d19708ffcb0e2e63968558609f8b93ddd37f58e9d6354ee34d8035968eef0"}},{"ruleId":"D2","level":"warning","message":{"text":"_common._scan_structure (cognitive 32): _common._scan_structure has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (7 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":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17c80c148f9ebe21c469cf7b7aaeea2080c6a45a1673d07630fbaad3bd53b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-events-bridge.BrowserEventsBridge (cognitive 32): browser-events-bridge.BrowserEventsBridge has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (23 pts), loops 2 (3 pts), boolean chains 2, error handling 2, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 32 points belong to 11 function literals inside it that branch (lines 170, 301, 206, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-events-bridge.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"856b25956bcb991106e38768525c80e378ad5857b6a0e760f51c5c767cc71c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-status-layer.BrowserNoticeBar (cognitive 32): browser-status-layer.BrowserNoticeBar has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (18 pts), boolean chains 7, if/else 3 (7 pts) (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6330f318795583e2d420da9536f6164c1ebcf8e5597ec75869ecdb1a45097f0"}},{"ruleId":"D2","level":"warning","message":{"text":"unstash-dialog.StashWorkspace (cognitive 32): unstash-dialog.StashWorkspace has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 6 (12 pts), error handling 5 (6 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (handleSelectFile, handleToggleStash, handleDrop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9543d143e5b49e0fddb5171f44c74b6bb7364380113e84e1bd54f6935f56c841"}},{"ruleId":"D2","level":"warning","message":{"text":"subagent-session-dialog.SubagentSessionDialog (cognitive 32): subagent-session-dialog.SubagentSessionDialog has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 9 (11 pts), boolean chains 8, error handling 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 151, 194, 189, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b9192325b689ea6d2f4e6c4da9d4bee23c741ea51471b578f36a1313aace49"}},{"ruleId":"D2","level":"warning","message":{"text":"turn-stats.TurnStats (cognitive 32): turn-stats.TurnStats has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 19, if/else 8, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/turn-stats.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f234854ebf1f8946d4a87f9d8de2dedcd0cf3507d792996ab51a0f88fb4869a7"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-settings.parseParameterValues (cognitive 32): mcp-settings.parseParameterValues has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 3, 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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9236f85cbc0ae235524b6eeb2ff3c882515547f31a7c9f0708a7665096f17b05"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.cleanAgentOutput (cognitive 32): conversation-runtime-store.cleanAgentOutput has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (5 pts), error handling 2 (4 pts), ternaries 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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6440b9e9217edcf41e016dc42c4334b8b20b092e9e56ef93179f03badc49b74"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchState::classify_and_feed (cognitive 31): WatchState::classify_and_feed has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff76501c6a6ebd499482fbe96ce825654cbce622356a8431b35fde8b32480fa"}},{"ruleId":"D2","level":"warning","message":{"text":"JTree::find_branch_first_user_message (cognitive 31): JTree::find_branch_first_user_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebecd60332afa9cdf29ab3ce952b214c70dd42b54d515ac8700167fb71afdd44"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawParser::resolve_session (cognitive 31): OpenClawParser::resolve_session has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (5 pts), match/switch 1 (2 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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1953a2ac0283b6acbaeddf2e4dce2c023d1fb069ed38557356e3651432b81c5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::project_kimi_managed_config (cognitive 31): codeg::commands::acp::project_kimi_managed_config has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (31 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5692}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fcee8071abf99e9839d288a3be8a1236bb530017399ec5ac348b6f704c3010"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::canvas_service::update_node (cognitive 31): codeg::db::service::canvas_service::update_node has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (29 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":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac7602217e5541dd53ddf2d6bcd513107ee78de4c45d824b49ce7ac8101918a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::relocate_orphaned_tool_results (cognitive 31): codeg::parsers::relocate_orphaned_tool_results has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 7 (9 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d4580fecc66926d45c2f861d9b06e15862bbcad1e9103ff5fb5486b94b457"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::openclaw::extract_assistant_content (cognitive 31): codeg::parsers::openclaw::extract_assistant_content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (24 pts), match/switch 3 (5 pts), loops 1 (2 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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7e53d4c20029709a7793adfd6820cf8555b86a4ab6557667f76550aff3b20d"}},{"ruleId":"D2","level":"warning","message":{"text":"unified-diff-preview.classifyRows (cognitive 31): unified-diff-preview.classifyRows has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 6 (12 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61ae396a4591da6dd66c9281654063221fe6b82c14cbc6a33e00f86930e48ec"}},{"ruleId":"D2","level":"warning","message":{"text":"command-rows.CommandLabel (cognitive 31): command-rows.CommandLabel has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 16 (26 pts), if/else 3, 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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d4379480304ade0ea478e209b021db2b71e41bf6b10503111b08866cd645f6"}},{"ruleId":"D2","level":"warning","message":{"text":"command.parseCliExecutionEnvelope (cognitive 31): command.parseCliExecutionEnvelope has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"160e89c247985b88ca424a7332f638d940764734ae4273d5e0e028311019c674"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.splitUserTextAndResources (cognitive 31): ai-elements-adapter.splitUserTextAndResources has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 2 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf58ce03bc5a7be05ffbfded1dd467afd4b44871ecc66c880c4d6d2e1e5e3a23"}},{"ruleId":"D2","level":"warning","message":{"text":"file-tab-id.parseFileTabId (cognitive 31): file-tab-id.parseFileTabId has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 8 (11 pts), boolean chains 3, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tab-id.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b15a442a3b20d8ae98981839f20c8969d7cde99add31e98a887fc46dd48537a"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.parseUnifiedDiffSections (cognitive 31): session-files.parseUnifiedDiffSections has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 3, loops 1 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ca3f30c2e36901a158ee9f99b639d3a28e8af3234161ad8c4abd787e440bb"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.alignConversationTabFolders (cognitive 31): tab-store.alignConversationTabFolders has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd744360b3b202c8018750fa0c7a1a9644cdc537932c597b37364e20081f3b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBuddyParser::parse_summary (cognitive 30): CodeBuddyParser::parse_summary has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9956d5a48690da97bfce5498ddd1b4dcf486a53a46533f103eb82334975d8dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::poll_terminal_tool_call_output (cognitive 30): codeg::acp::connection::poll_terminal_tool_call_output has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (26 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13013}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb87c32fbcede58ce525065c873d8629828042972e99d03f71dcbbd05e2d807"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::agent_turn_files::written_files (cognitive 30): codeg::agent_turn_files::written_files has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 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":"src-tauri/src/agent_turn_files/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ed5ad825869f6bb25f6e33cfc11eb5cdbdb079e8ef5d9d93e2c73e3bd51ad"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::bin::codeg_mcp::main (cognitive 30): codeg::bin::codeg_mcp::main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (19 pts), match/switch 5 (10 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_mcp.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8964c994f07be79c66ca0df7362ff19142c565a8509c64c292b5d7637bbde"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::move_conversations_core (cognitive 30): codeg::commands::conversations::move_conversations_core has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (7 pts), loops 5 (6 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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26c7b34139621a875f356b266ee0fdd95837a15c258931aeb4a48ea4e4200eb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::helper::handle_op (cognitive 30): codeg::computer::helper::handle_op has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 5 (9 pts), loops 2 (4 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":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0298752642cbac2db7293ec62b1465e96bf32eac68f1450065549ce0e8f50b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::apply_turn_timing_journal (cognitive 30): codeg::parsers::cursor::apply_turn_timing_journal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, loops 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9735b4e2be2da3a99f8913498c62ffb757ae79d98f5625e4d230bf1662c2932a"}},{"ruleId":"D2","level":"warning","message":{"text":"jats_to_text.main (cognitive 30): jats_to_text.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 2 (5 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/jats_to_text.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca8005d169ba38b64efc70d76af840bc1d8d1b9d84fcb3b66d5b7ff3c849e2"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_claim_evidence.validate_matrix (cognitive 30): validate_claim_evidence.validate_matrix has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/peer-review/scripts/validate_claim_evidence.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a568ff867b99421a91367779460917c3bfaf6b61ed0363aa7afed2b802b50"}},{"ruleId":"D2","level":"warning","message":{"text":"html-code-preview.HtmlCodePreview (cognitive 30): html-code-preview.HtmlCodePreview has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 9, if/else 8 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/html-code-preview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd91201984f692ca16e2209f7d17eefec1d2cb6344dcd77282af901b8c059c0"}},{"ruleId":"D2","level":"warning","message":{"text":"message.containerPrefixEnd (cognitive 30): message.containerPrefixEnd has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 7, loops 3 (6 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a47811822e0b00cf59905817548e6a3de7fdd4c6b31a7d4840178329eb016"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-config-section.AgentConfigSection (cognitive 30): agent-config-section.AgentConfigSection has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 7 (11 pts), boolean chains 7 (nesting depth added 7). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9171ab33776558f66326eb4202541cc0c41c0be25c781c7dada0ff1ddccfd032"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-page-handoff.BrowserSendToChatControl (cognitive 30): browser-page-handoff.BrowserSendToChatControl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15, boolean chains 9, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 118, 104, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-page-handoff.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5a312977be502f2d88e1bec71c5255d01619b916481ddf1f8ed1334c6bbbbb"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-section-header.SidebarSectionHeader (cognitive 30): sidebar-section-header.SidebarSectionHeader has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (14 pts) (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-section-header.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ccc9685b506bdf3b714851d79e23b39021f42b3cdc46712355dcb5e7f702dc"}},{"ruleId":"D2","level":"warning","message":{"text":"reply-motion.play (cognitive 30): reply-motion.play has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-motion.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e6f51b74760c1dfcb98e7a9ae4646a25525aaf51f24ec2cbb46bbe0435889"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-row.EditRow (cognitive 30): edit-row.EditRow has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 8 (nesting depth added 9). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe00c4abc724bf386a9da410f5a18cb6441745b14364be9bc25db1172bba233"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperframes-launcher.HyperframesLauncher (cognitive 30): hyperframes-launcher.HyperframesLauncher has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 8, error handling 5, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (handleCreate, a function literal at line 284, a function literal at line 375, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc1f9b25d8e88e6861438d1bc28d265473afb46fd4ede1aeca2a7db955f6515"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.AcpAgentSettings::renderFixButton (cognitive 30): acp-agent-settings.AcpAgentSettings::renderFixButton has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (22 pts), boolean chains 8 (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. This shape REPEATS in the file: one other method here (acp-agent-settings.AcpAgentSettings) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3655a808d2372f1297d54329991956fe79e842c21474189d59720fb3c458aa21"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-settings.StopShortcutRow (cognitive 30): computer-settings.StopShortcutRow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 8, ternaries 4 (7 pts) (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a96d9f472dfe269ae10138123dc34779ae7014a9d1f8e4466915a947eb2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-settings.DelegationSettingsSection (cognitive 30): delegation-settings.DelegationSettingsSection has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11, boolean chains 9, if/else 9, error handling 1. Of this number, 16 points are the body\u0027s own statements and 14 belong to 11 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5931bf57b2909f270bd2509b58e60275d23cb51ec28acc91406c4e81cc5e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-item.TabItem (cognitive 30): tab-item.TabItem has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 9, if/else 5 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-item.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db36c0a1803d73853299d8df4b1a2aaac78533bd79599f8ecb432345653f3767"}},{"ruleId":"D2","level":"warning","message":{"text":"task-actions.buildTaskActions (cognitive 30): task-actions.buildTaskActions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-actions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eb0f968979849b03bbd254a91884035d530e9d44527054bd2f17f648f7eac4"}},{"ruleId":"D2","level":"warning","message":{"text":"exit-meaning.argv (cognitive 30): exit-meaning.argv has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (10 pts), boolean chains 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b80a3bb610abd5838da5ad1c3b034d0070b4bbbd2d902f4023964ff25c23105"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteDesktopTransport.handleWsEvent (cognitive 30): RemoteDesktopTransport.handleWsEvent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 2 (6 pts), loops 3 (6 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":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c9feba5b431e44553337c26dbc0c4a626414c606a684803ee359344321ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.resolveLiveToolInput (cognitive 30): conversation-runtime-store.resolveLiveToolInput has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af3c8428be31720733567e8ee1c57bc7d5f6003271343702b1eeb3cf993cd8f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_catalog_commit::txn::commit_files (cognitive 29): codeg::acp::codex_catalog_commit::txn::commit_files has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 6 (7 pts), match/switch 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc971878eddd6c30e48220bb7cf6aea4b6dc277763f5b7c5399da4af1c9e186"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::render_computer_windows_result (cognitive 29): codeg::acp::delegation::companion::render_computer_windows_result has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 11). 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c34fab36884b3486000660d569c7698db443bdc9df3c5f309eef145e33df0"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::build_kimi_managed_spec (cognitive 29): codeg::commands::acp::build_kimi_managed_spec has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5887}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccfd3b28ce68996515c4a9f72f19324af5d53cace43db34713f8d11ff475284"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::model_provider::validate_model (cognitive 29): codeg::commands::model_provider::validate_model has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 1 (4 pts), match/switch 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/model_provider.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae121af9fb03319e8173d2c24e6bd306fb3406a93316525a0d4cd304dc045619"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::decode_js_string (cognitive 29): codeg::parsers::codex_code_mode::decode_js_string has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (24 pts), boolean chains 2, match/switch 1 (2 pts), 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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0309c4fa8dad86512942908952c78d8d6556d4a737c8fca0f9fa9c49fdf18f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kiro::assistant_blocks (cognitive 29): codeg::parsers::kiro::assistant_blocks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (26 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"634c3ebb96f08e40e59b8d43e7ed0811fca61709b6e829fdd6c472c317e95175"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::handlers::files::current_uploads_total_bytes (cognitive 29): codeg::web::handlers::files::current_uploads_total_bytes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 5 (10 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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e25b3daa03d1049964979b5a998b3f19714009f84cf390fe4ada0b1de8992dc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::run_workspace_watch_event_loop (cognitive 29): codeg::workspace_state::run_workspace_watch_event_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 2 (6 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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"1518ca852680965655030602c0d0eed6dfa7c7bf5e2cab09c0a65223d0d6519e"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.read_csv_records (cognitive 29): _common.read_csv_records has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 2 (4 pts), loops 2 (3 pts), error handling 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":"src-tauri/science/skills/peer-review/scripts/_common.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc4394ce7c8379d902374f307cb458375d726662f9ce172433f509cded9cb27"}},{"ruleId":"D2","level":"warning","message":{"text":"PetWindow.PetWindow (cognitive 29): PetWindow.PetWindow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (22 pts), error handling 4, boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 214, a function literal at line 152, a function literal at line 249, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0885e2a053b0c3e709fe6f969649eea5e4b4ec5aac52408b4fef110091c9c187"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-render.__codegEvalRender (cognitive 29): eval-render.__codegEvalRender has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 7 (10 pts), boolean chains 5, ternaries 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":"src/browser-injected/eval-render.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbbec60c9a8c39eeeb96d0ccc396d9e85bd589328d3d41efe7520d6701666a7"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-dollar-math.normalizeInlineDollarMath (cognitive 29): inline-dollar-math.normalizeInlineDollarMath has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4 (8 pts), boolean chains 7 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/inline-dollar-math.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"02870b51876e6e74af32833b74ac0e2e43263176777e1c781d20c9658b511667"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-row.ForgeIssueRowItem (cognitive 29): forge-issue-row.ForgeIssueRowItem has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 16 (27 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":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f88fdc525046587f1c4acfefc23c30cb49c9b54cbde74683e1104708cf1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-timeline.ActivityTimeline (cognitive 29): activity-timeline.ActivityTimeline has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, ternaries 11 (12 pts), if/else 2 (nesting depth added 1). Of this number, 23 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc2750b5c92ecfd80e33fdfb0307aa2c6343d6aefd109ce7d981814dc267da3"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-plugins-modal.OpencodePluginsModal (cognitive 29): opencode-plugins-modal.OpencodePluginsModal has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (11 pts), if/else 4, error handling 2 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-plugins-modal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cda920e2a8196a6de42960e89ba0a710f3cbb3363a1168a6d4d06f4801ea94c"}},{"ruleId":"D2","level":"warning","message":{"text":"channel-events-tab.ChannelEventsTab (cognitive 29): channel-events-tab.ChannelEventsTab has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12, boolean chains 7, ternaries 6 (7 pts), error handling 3 (nesting depth added 1). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 346, 241, 289, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a831ff07812fa04ded2ced51ab0820f15c7c0775dd29bcb8fbdd50ec8c4fc2f8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-model-list-editor.CodexCustomRow (cognitive 29): codex-model-list-editor.CodexCustomRow has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 12, if/else 2 (nesting depth added 1). 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 (renderEnum, setField, setOverrides, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"8563b7a499254869ffdc65056cb326675c549234cfec65f76dfefdfdfdabe9b7"}},{"ruleId":"D2","level":"warning","message":{"text":"html-preview-inline.parseSrcset (cognitive 29): html-preview-inline.parseSrcset has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (11 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ef73f5a87ff821d523976a1b4ce02e69c2ccdc522df7335847a68093846301"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.parseDelegateTaskId (cognitive 29): delegation-card.parseDelegateTaskId has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1922adc0eed8592681648591f357dd5a6eebf3f72ae69325e2a9d753231cffa8"}},{"ruleId":"D2","level":"warning","message":{"text":"CliRunService::launch_steps (cognitive 28): CliRunService::launch_steps has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, match/switch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd7d3a09d09a4756591c831b87091d33bbb0defb3225c6762450ed23066564d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::map_grok_subagent_notification_inner (cognitive 28): codeg::acp::connection::map_grok_subagent_notification_inner has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":21702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28191bbea565848054498adc98265d8bbf23a617a1433aa4caa1da51c04064d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::lifecycle_subscriber_task (cognitive 28): codeg::acp::lifecycle::lifecycle_subscriber_task has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55881b4f5557dc498c0fb013b7fefe85b7e135b2f8572af7a1054e264fb769a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::canonicalize_opencode_spec (cognitive 28): codeg::commands::mcp::canonicalize_opencode_spec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 1 (nesting depth added 17). 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b943701839e0e0adb52bc25c4adb0cd88b574ad44053b41e6bc3a7fed7d68fed"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::deserialize_official_key_value_inputs (cognitive 28): codeg::commands::mcp::deserialize_official_key_value_inputs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5859}}}],"partialFingerprints":{"codehealthFindingId/v1":"85201baf1015a32d798872578d432ae92e4d0d9b95f9ca69c0c33fd91ef56ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::canvas_service::group_into_region (cognitive 28): codeg::db::service::canvas_service::group_into_region has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (5 pts), match/switch 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"df731e3a4d6efe63783436799fb48e0dd04d188d4132a548fb23684903c7cb8e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::structurize_read_tool_output (cognitive 28): codeg::parsers::structurize_read_tool_output has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 4 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b10789b729c30c3c459b89cab83a44f89d7bcb9b70b368e96a4511ed0f9e4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::update::install::swap_bundle (cognitive 28): codeg::update::install::swap_bundle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 3, 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":"src-tauri/src/update/install.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e6a100cf7d00df8df233133b4ddfff23c39e0c58f8b68d607ed81bc8688cd"}},{"ruleId":"D2","level":"warning","message":{"text":"act.selectIn (cognitive 28): act.selectIn has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), ternaries 4 (7 pts), loops 3 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c8d28ec0ff5adc660b0b9195960e5b1a981106ee2329960ed05ffb07e7e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"message-thread.EscapeLockOnUserScroll (cognitive 28): message-thread.EscapeLockOnUserScroll has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17, boolean chains 10, ternaries 1. None of this is in the body itself: all 28 points belong to 8 function literals inside it that branch (lines 199, 176, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd001d93a3738f2ead764be5cc7cd8016637d7d70057eee74d27bb67cc342dd"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-device-stage.BrowserDeviceStage (cognitive 28): browser-device-stage.BrowserDeviceStage has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 10, if/else 2 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 7 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":"src/components/browser/browser-device-stage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8270752cfcba641a9efbc7a8e684b80a8ee18af5b652668501315ecdbe5a5cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments.appendImageAttachments (cognitive 28): use-composer-attachments.useComposerAttachments.appendImageAttachments has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (5 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 637, 591, 606, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6db6e67ea94939e22e5271e06c957f86706aa856fa2698f8c02c3b1a2081b7"}},{"ruleId":"D2","level":"warning","message":{"text":"use-reference-search.useReferenceSearch (cognitive 28): use-reference-search.useReferenceSearch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, ternaries 5 (nesting depth added 6). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 318, 411, 322, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786bc8c5cfa84cfb80457972d8595d17c7258bbde5971eb96b8bc372bec5257"}},{"ruleId":"D2","level":"warning","message":{"text":"use-rail-growth.useRailGrowth (cognitive 28): use-rail-growth.useRailGrowth has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, loops 4 (5 pts), ternaries 1 (nesting depth added 5). None of this is in the body itself: all 28 points belong to 8 function literals inside it that branch (lines 103, 84, 74, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-rail-growth.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4907d4cf1bcd3baeb154b47ebde1b4259f8d07c43ebf86523420f73bfc69e"}},{"ruleId":"D2","level":"warning","message":{"text":"background-task-rows.BackgroundTaskRowView (cognitive 28): background-task-rows.BackgroundTaskRowView has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 17 (27 pts), boolean chains 1 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"df472708b9ee37b5ba10316a0865830f7b0100ec6c4aef4497203f31f4cddd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-rows.DelegationStepRow (cognitive 28): delegation-rows.DelegationStepRow has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 12, if/else 1 (nesting depth added 1). 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: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/delegation-rows.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"704a524d92ea032959a3267c06d2d2c7f14f9361b4e2d852e0fd30051e51cb4d"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list-view.mergeConsecutiveAssistantTurns::flush (cognitive 28): message-list-view.mergeConsecutiveAssistantTurns::flush has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (4 pts), ternaries 1 (2 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":"src/components/message/message-list-view.tsx"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8d644ae8ef638f899df87ffd68a10c43ab731958891e6eccfa0770efbf0c46"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-config-panel.LeakedTempSection (cognitive 28): antigravity-config-panel.LeakedTempSection has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 4, if/else 3, error handling 2 (nesting depth added 8). Of this number, 20 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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934670049126f676b447e6413365532c6a687e369cb193f4a13d49c301176f2"}},{"ruleId":"D2","level":"warning","message":{"text":"host-rules.parseHostRulePattern (cognitive 28): host-rules.parseHostRulePattern has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/host-rules.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58bf9f8fe25bc8cc7498873a5520af238aa43abe20d00e5f96825a4123a66da"}},{"ruleId":"D2","level":"warning","message":{"text":"collab-collapse.collapseLiveCollabBlocks (cognitive 28): collab-collapse.collapseLiveCollabBlocks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (4 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":"src/lib/collab-collapse.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0081e1f1b01f06453bc50dd36068b5132a014d819fef0ea4845b1bd2bc997b"}},{"ruleId":"D2","level":"warning","message":{"text":"file-tree-keyboard.resolveTreeKeyboardAction (cognitive 28): file-tree-keyboard.resolveTreeKeyboardAction has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tree-keyboard.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8aa5cd9c46926eb6aef4d83c2b762d309d47186d75b8d499df956510cb331a"}},{"ruleId":"D2","level":"warning","message":{"text":"permission-request.extractCommandFromUnknownValue (cognitive 28): permission-request.extractCommandFromUnknownValue has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (8 pts), boolean chains 4, error handling 1 (2 pts), loops 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":"src/lib/permission-request.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7021d2d14ace74da5d03527e44f3622e927ca17760fb744566d9a7841f29bf5e"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.buildSessionFileDiff (cognitive 28): session-files.buildSessionFileDiff has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (3 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":"src/lib/session-files.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe185ba0988817727be547c47304cae7142da412d0cf6f651ac2b19692ec231"}},{"ruleId":"D2","level":"warning","message":{"text":"held (cognitive 28): held has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 5, ternaries 5, error handling 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 16 function items inside it that branch (relay, connect, a function literal at line 99, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/office_watch_shim.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9045470dbc6eeb8e47659b532b950a0a0b682a6fb4dc045fde296a32e666c61"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactIndex::scan (cognitive 27): CompactIndex::scan has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"107854a3fbd4066bccae9ef4baf22483ac8150fec9ee9fac34c588a5e49833cd"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::reconcile_once (cognitive 27): TaskEngine::reconcile_once has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (7 pts), loops 4 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6703}}}],"partialFingerprints":{"codehealthFindingId/v1":"9234e60bbfa5c42f44f19ce047d3135a27675bc188fd539dcd825cbff365a139"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::regroup_hermes_model_option (cognitive 27): codeg::acp::connection::regroup_hermes_model_option has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 3 (7 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 16). 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e92f3a695c2f3a07465a28e94fe3d26d4ce047ca0dff801367a537566878dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::terminal_runtime::own_terminal_process (cognitive 27): codeg::acp::terminal_runtime::own_terminal_process has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 3 (7 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":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4bfde1d17809d2a7b0cc69d9567ab5b6cc1da257276b60ad5d195926d8858c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::codex_config_projection_from_toml (cognitive 27): codeg::commands::acp::codex_config_projection_from_toml has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (24 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb58f5c4b0e2a516d3e87ad5b2b0d97554e8f7921d362e677ba3570105b380"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::keys::classify (cognitive 27): codeg::computer::keys::classify has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 pts), match/switch 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/keys.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fc271c4932ed65602bf6e7743c590e4414e62874477431eef570222d1fc476"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cline::parse_content_blocks (cognitive 27): codeg::parsers::cline::parse_content_blocks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (21 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 18). 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":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6117c2048597ecd1bd823b26afd38c05031a6632bc1e6aeed5bf11e36fa355"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::win32::join (cognitive 27): codeg::parsers::codex_file_citations::win32::join has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5e6f17018cae8f26cf2d254bbfadca7fbf1970f44af9879091ae252e153b85"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::work_task::engine::compose_prompt (cognitive 27): codeg::work_task::engine::compose_prompt has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 3 (5 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":7738}}}],"partialFingerprints":{"codehealthFindingId/v1":"8381592e86fc09816334a151fd66d588d493197031a52c9071bf1ee0499b7695"}},{"ruleId":"D2","level":"warning","message":{"text":"_capabilities.validate_magic (cognitive 27): _capabilities.validate_magic has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_capabilities.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1266e96225d8c82a8637f9168645a7a940d38db3c5e7666f90f2e712bd2d2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_matrix.calculate_matrix (cognitive 27): evaluate_matrix.calculate_matrix has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (8 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/evaluate_matrix.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"702cb83ca8681fa15bb1b8eec8373dd4720b9b4c3c16b2d5e145d6fc9f02cb77"}},{"ruleId":"D2","level":"warning","message":{"text":"reference-uri.parseCodegReferenceUri (cognitive 27): reference-uri.parseCodegReferenceUri has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 7, ternaries 3 (6 pts), error handling 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":"src/components/chat/composer/reference-uri.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c1a69175d9d24cf4c19d5b47175322eddfb091f05b36446ed6bf36ea9c1ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList (cognitive 27): sidebar-conversation-list.SidebarConversationList has cognitive complexity 27 (threshold 15). Drivers by points: if/else 94 (117 pts), ternaries 57 (101 pts), boolean chains 53, loops 19 (23 pts), error handling 12 (13 pts) (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList::folderHeaderElement, sidebar-conversation-list.SidebarConversationList::renderRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e990a3145d8f1d425205e34987a164cd5b885b4e3c6c912ebdc90a089e6c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"message-nav-entries.buildMessageNavEntries (cognitive 27): message-nav-entries.buildMessageNavEntries has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (7 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-nav-entries.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c00c1a4370ecb2060875148ec740f444c41dac41f4802cdab06c10b3e2ba415"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant-editor-dialog.AssistantEditorBody (cognitive 27): assistant-editor-dialog.AssistantEditorBody has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 27 (34 pts), if/else 19 (23 pts), boolean chains 12, error handling 1 (nesting depth added 11). 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 (assistant-editor-dialog.AssistantEditorBody::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":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3ee39817cc6ca7c8f3bbdc57925e292dddab2eb09d418f2fa87184e1f0414c"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-settings.BrowserSettings (cognitive 27): browser-settings.BrowserSettings has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (14 pts), if/else 7, boolean chains 4, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 562, a function literal at line 1013, a function literal at line 1049, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a936302ebc803edac04d9fbc19ded53ef59b0a65b545234bca8b72256af446"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-agent-matrix.MatrixCell (cognitive 27): skill-agent-matrix.MatrixCell has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (19 pts), boolean chains 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4ccf9de698ca32ce50f04e347fb07a6a8f19a875f8fce281453c1ea9777ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"task-merge-dialog.TaskMergeDialog (cognitive 27): task-merge-dialog.TaskMergeDialog has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 7, if/else 6, error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-merge-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a821ea33391764d91ccccbe95cff5265fbc0637ae6b73d7e473054092a3b18"}},{"ruleId":"D2","level":"warning","message":{"text":"cron-humanize.describeCron (cognitive 27): cron-humanize.describeCron has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, ternaries 2 (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":"src/lib/cron-humanize.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6f5bf229da649cc8315ca0ee100f697c6f36be53221de2d86b1f62e92b8e2"}},{"ruleId":"D2","level":"warning","message":{"text":"reference-link.destinationEnd (cognitive 27): reference-link.destinationEnd has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/reference-link.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af31027806796977f9d2e001c5e5f8059cc33ff0f01248715803d0ff9c8c9f4"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.persistGroupState (cognitive 27): tab-store.persistGroupState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6, loops 3 (4 pts), boolean chains 3, error handling 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"953066cabf50b9651676a024fdafb5781fa063d177eb65ff88341eddfcdb13da"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::handle_elicitation_request (cognitive 26): codeg::acp::connection::handle_elicitation_request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 5 (7 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69911f9fae8d2b6e55ea136451d9ab55554fcc41aebb57a62e36358f7c56028"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_args_transparent (cognitive 26): codeg::acp::lifecycle::code_mode_args_transparent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a4cf758c55e14094f77d25449422e904d1bc68fac15ad5da0615391b664715"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::build_elicitation_response (cognitive 26): codeg::acp::question::build_elicitation_response has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 5 (9 pts), boolean chains 2, loops 1 (nesting depth added 13). 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":"src-tauri/src/acp/question.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be3da5ef2444682aac9eef371b2071e5b76b0506325a17aeb816068ad88f2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::automation::engine::run_automation_engine (cognitive 26): codeg::automation::engine::run_automation_engine has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (12 pts), match/switch 4 (10 pts), loops 2 (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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bee7503af9e6c8f65c1dddf8a9c2058026d07bc6ff2695860bab0a4f679dab6"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::browser::open_tab_core (cognitive 26): codeg::commands::browser::open_tab_core has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1916c72532d5e6d0cf6c3401e2757f7ccf871cc4969db63c017e768c21964691"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::canonicalize_spec (cognitive 26): codeg::commands::mcp::canonicalize_spec has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"d651309ef27740e1378f71d41be4b85e7480dc1da2450c8bc99fc44ee806eaba"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::remote_proxy::remote_upload_workspace_paths (cognitive 26): codeg::commands::remote_proxy::remote_upload_workspace_paths has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (4 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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa79755f10dc23ae963cd1989ffd4977e19f362e751538bd0edec77053f297b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::helper::act::act (cognitive 26): codeg::computer::helper::act::act has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 4 (7 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":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a870257f88cea23b31800ba4085ef7fbd456a37ff60736822c4882cc926ef40"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::resolve_patch_line_numbers (cognitive 26): codeg::parsers::resolve_patch_line_numbers has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 2 (3 pts), boolean chains 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":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"da712c5ca81b5cf884982bf9ef3159dd1c5f725888df07f26372305ea4ecd604"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::expand_table_fanout (cognitive 26): codeg::parsers::codex_code_mode::expand_table_fanout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b6c064dbb34110d7226ebfd41de70a3bc241169d37b1322cf119d57f335e4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::opencode::normalize_tool_call (cognitive 26): codeg::parsers::opencode::normalize_tool_call has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 1, 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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52fae86b57087a7576eab301791977b24779f727f80347377e3e50114e107d8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::get_workspace_snapshot_core (cognitive 26): codeg::workspace_state::get_workspace_snapshot_core has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (23 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbf0f4b64bab672c1645e7ddbd4a39a8e0aa46240b81a31223413bbb675d613"}},{"ruleId":"D2","level":"warning","message":{"text":"PubMedSearcher._extract_metadata_from_xml (cognitive 26): PubMedSearcher._extract_metadata_from_xml has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_pubmed.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc21a5a4f432a7f3f35cf400b653e3de2095a241d56698c5dd84ff70e1bae57b"}},{"ruleId":"D2","level":"warning","message":{"text":"select_reporting_guidelines.assess (cognitive 26): select_reporting_guidelines.assess has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"src-tauri/science/skills/peer-review/scripts/select_reporting_guidelines.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c93f6495ed394475fdda0ecdce745bc2ec4e81215d2b86346103b9dc8b4973e"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_matrix.load_criteria (cognitive 26): evaluate_matrix.load_criteria has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 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":"src-tauri/science/skills/scientific-brainstorming/scripts/evaluate_matrix.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e61095bdbd7973703f33549258fdc5192593ad0d3dfd6fb58c38c55cd38e08"}},{"ruleId":"D2","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments.uploadPathsToRemote (cognitive 26): use-composer-attachments.useComposerAttachments.uploadPathsToRemote has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 791, 775). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e313ffbeefa9d465e465ba47faf1ae3b217bd5402fc3adec2946994c69d7066a"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-project-trust-banner.PiProjectTrustBanner (cognitive 26): pi-project-trust-banner.PiProjectTrustBanner has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 13 (21 pts), boolean chains 20, if/else 13 (15 pts), error handling 4 (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 (pi-project-trust-banner.PiProjectTrustBanner::decide) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/pi-project-trust-banner.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad4f8e51849fa525e959c83e6b23d4b84acb05cec2807bd7e653d90bba0371c"}},{"ruleId":"D2","level":"warning","message":{"text":"file-viewer-drawer.FileViewerBody (cognitive 26): file-viewer-drawer.FileViewerBody has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, if/else 9, ternaries 6. Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 188, 204, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8352cb0abf539c55c7569da551894c1fb823e72b5b539abd27edd21cf135e864"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-question-result-card.AskQuestionResultCard (cognitive 26): ask-question-result-card.AskQuestionResultCard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 6 (9 pts), boolean chains 7 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edc311cb4f455226c973cbbfc4090382d1480f54d41a61cc3d5f1d0ceba88f0"}},{"ruleId":"D2","level":"warning","message":{"text":"office-tools-settings.OfficeToolsBody (cognitive 26): office-tools-settings.OfficeToolsBody has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 5, ternaries 4 (5 pts), boolean chains 3, match/switch 2 (nesting depth added 3). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 283, 296, 432, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"93620098d47b4339dbf0a4307bf862bf9baecd8519a8b801c13f03db1220bff5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-models.ModelPickerDialog (cognitive 26): provider-models.ModelPickerDialog has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, ternaries 7 (9 pts), if/else 3 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dd5dc3a61c52de4faf3ce6d715abc465a970b0d34ec377889fdb629f475c88"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.extractReplyFileChanges (cognitive 26): session-files.extractReplyFileChanges has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts), ternaries 1 (nesting depth added 16). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3363b558e38e82496829d1c4d73315269127a9d942ffa3e60560ee66fb44db"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerService::agent_clipboard (cognitive 25): ComputerService::agent_clipboard has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 4 (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":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce04f0f96df3aa2d78617e45bd96ae7cf3af09875ac6ef7aea2ed8dd718cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::settle_generation (cognitive 25): TaskEngine::settle_generation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3473}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f1a1942dfb3a1e6f246b6fb70c796951539b7dbe37192bdf47fd10a224c873"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::synthesize_edit_input_from_diffs (cognitive 25): codeg::acp::connection::synthesize_edit_input_from_diffs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (7 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0810f6a9d545b7bc4ce60fbcf17fe7e984b58d831bef87f67989b2a0190397c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::render_session_summary_text (cognitive 25): codeg::acp::delegation::companion::render_session_summary_text has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d19dc11f79a9fefbfe9b8e31e49be6f0cf1ca986c089224d891ede9a047c74"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::opencode_skills::scan (cognitive 25): codeg::acp::opencode_skills::scan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_skills.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fd36dd1a73d5ed7a1274f1b281144fd1dbe25eacbab908d0afdd194306d426"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::collect_agent_diag (cognitive 25): codeg::commands::acp::collect_agent_diag has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 11). 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"058f4c2e05493c36ebf522a066762148325b6c29065e2c5aaa028d402f760c85"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::qoder::active_branch (cognitive 25): codeg::parsers::qoder::active_branch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, match/switch 2 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0d072ad1954690a5f1544b83a7362635ca2b1e609ae4ccfe383c894652fd92"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::browser_tunnel::session (cognitive 25): codeg::web::browser_tunnel::session has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 4 (11 pts), loops 2, 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":"src-tauri/src/web/browser_tunnel/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5c7ac49a67a41c768b8c34ce9bd5a3c977226b69423f3726785d80d464a787"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.read_csv_records (cognitive 25): _common.read_csv_records has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 pts), ternaries 1 (3 pts), error handling 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2d923dfaead9b661f0749af30cbf08f521c0f2507393c566acf9481b1b397c"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-windows-paths.visit (cognitive 25): remark-windows-paths.visit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa409a67fe0f7046cfd22f22bf43f05278be64af97c41f06564f7796ed8026"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-agent-access.BrowserAgentShareControl (cognitive 25): browser-agent-access.BrowserAgentShareControl has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (20 pts), if/else 3, boolean chains 2 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c061fd472c78f0768d6277f77a33e925106a7ef75e9324b7dcf24204905ef032"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-model.computeRegionMembers (cognitive 25): canvas-model.computeRegionMembers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 5, match/switch 1 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 4 belong to 4 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":"src/components/canvas/canvas-model.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0eaf17de9636722b5948122ad27d61ce6e02537d948c12927778f28df6801d"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-model.computeDropHint (cognitive 25): canvas-model.computeDropHint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, loops 2 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d615a3f0fc46bd05bda5936887e144e0358a7f926d54b6c5ccb93405e12a1"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-tag-list-editor.ConversationTagListEditor (cognitive 25): conversation-tag-list-editor.ConversationTagListEditor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 4 (6 pts), boolean chains 4, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (submitForm, a function literal at line 169, confirmDelete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-list-editor.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d0d1d5c05e7d70df1089fe3c7aeab11ee02ecfae76fb2502907e429d7b8103"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-file-tree-tab.buildDirectoryGitTree (cognitive 25): aux-panel-file-tree-tab.buildDirectoryGitTree has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 7 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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f769e72c18399c4ccf43181548bcb07a16f595d9c22533836be1d75d9bfe6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel-git-log-tab.AuthorFilter (cognitive 25): aux-panel-git-log-tab.AuthorFilter has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 15, if/else 6 (7 pts), ternaries 3 (nesting depth added 1). Of this number, 20 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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b18ead719f620b963c561094894b4fccf8c67a5c207fdb36fa232688f457c6"}},{"ruleId":"D2","level":"warning","message":{"text":"conflict-dialog.ConflictDialog (cognitive 25): conflict-dialog.ConflictDialog has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 9, error handling 4, ternaries 2. Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 61, a function literal at line 127, handleAbort, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b43ac8f28849ead24933d95e894e644fa70da4768bd8d65e2e19af8e18fff7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.expandInlineToolText (cognitive 25): ai-elements-adapter.expandInlineToolText has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d26cf6363d923d0d0b32e33d01540c9cbd0c31dfc574a860cd9688d44790c"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-question.parseAskQuestionInput (cognitive 25): ask-question.parseAskQuestionInput has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 3 (7 pts), error handling 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":"src/lib/ask-question.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0078a1fd7604d785ec557d0d34daec77338ab9c8ce571a353309519ac27eb456"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-visualize.findHtmlFileMentions (cognitive 25): codex-visualize.findHtmlFileMentions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad21406280b6289b6ea797e3d325aacd57b405bbd55f233b17e75d4874c7da10"}},{"ruleId":"D2","level":"warning","message":{"text":"live-runs.collectLiveRuns (cognitive 25): live-runs.collectLiveRuns has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4, ternaries 2 (4 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":"src/lib/live-runs.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fae5e53dc44c1ca8e8ba5cf331e52616383c683f04284daa3f9ec441e7f648"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-permissions.legacyRules (cognitive 25): opencode-permissions.legacyRules has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts), ternaries 1 (3 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":"src/lib/opencode-permissions.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebd3506d5a4911201b0435cd9766fcb28e39a80c97ad586a81555b956618958"}},{"ruleId":"D2","level":"warning","message":{"text":"release-notes.splitBilingualReleaseNotes (cognitive 25): release-notes.splitBilingualReleaseNotes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/release-notes.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66b744bb9d5c6951e12df6a422df4e0e577db2e905da733ab9d51f1da6eec0"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.sanitizeDrafts (cognitive 25): tab-store.sanitizeDrafts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), boolean chains 7, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"106bdf55ea305ac506773683a216ab8a1c44dc97614d02e62d9bf42d2112b821"}},{"ruleId":"D2","level":"warning","message":{"text":"scrollableFrom (cognitive 25): scrollableFrom has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (5 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":"src/browser-injected/picker.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b052d67ccaf90abda734ceda8af0ffe890f0ad5cf0015feb45ab0082b11a95"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetTable::observe (cognitive 24): TargetTable::observe has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b322b957a83aac5967a3594fcaa344c7fdd0c1d16bbfa15a06af9fbaccf5c05d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_catalog_refresh::run_due (cognitive 24): codeg::acp::codex_catalog_refresh::run_due has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 6 (8 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5bfb3870eb199f872608c06bf76154f037832d62b1988b3a024a5b7cab5c17"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::stderr_tail::strip_ansi (cognitive 24): codeg::acp::stderr_tail::strip_ansi has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (7 pts), match/switch 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":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ede1146a22d660592b0fc4e0d18df09c4b3c94e6fbb84ea3855da1144bd3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::console::cdp_preview_text (cognitive 24): codeg::browser::console::cdp_preview_text has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/console.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a40575e42d227f00ca75cdd03c344050bad0b218d530a690da1abbb794230d1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::service_url::strip_ansi (cognitive 24): codeg::browser::service_url::strip_ansi has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (7 pts), match/switch 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":"src-tauri/src/browser/service_url.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6519a010cc3f499b55e4153469635304855a9e5c6bfe92e5e260897a1dbd9d5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::read_skill_description (cognitive 24): codeg::commands::acp::read_skill_description has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd0d273286b7787a657ea2e8d6392d1e95878d29af7e0b259c32af4b4a03318"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::list_conversations_sync (cognitive 24): codeg::commands::conversations::list_conversations_sync has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (5 pts), match/switch 2 (3 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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee366434f67c6698401138f2678ce694ce180bd9de00dd825c330afde7bfc4a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::gc_orphan_chat_dirs_core_with_threshold (cognitive 24): codeg::commands::conversations::gc_orphan_chat_dirs_core_with_threshold has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (8 pts), loops 2 (3 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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e28b074e774a68600fa9451e69f76239d5c2e030fb66662a56dd89b1f46a5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::scan_local_servers_from_readers (cognitive 24): codeg::commands::mcp::scan_local_servers_from_readers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":3533}}}],"partialFingerprints":{"codehealthFindingId/v1":"988610263653c436197ad1f46715f04973c8ff9bce238d27392f269fde8ee165"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::build_official_install_options (cognitive 24): codeg::commands::mcp::build_official_install_options has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6569}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b15f93a46b4c4522c52137313040454481b28332f47d2ae96803c708e544c9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::reference_destination_end (cognitive 24): codeg::parsers::reference_destination_end has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), match/switch 1 (3 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":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"011f6097958ab1a40dbecdce2e7758fd4a50fdcac11c47e02bf5d671f944299a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::work_task::engine::pull_head_in_branch (cognitive 24): codeg::work_task::engine::pull_head_in_branch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":7001}}}],"partialFingerprints":{"codehealthFindingId/v1":"365178495050312f91b359adfdc29b252d324329a0405b7c06c204a1f168e407"}},{"ruleId":"D2","level":"warning","message":{"text":"doi_to_bibtex.main (cognitive 24): doi_to_bibtex.main has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), error handling 3 (6 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/doi_to_bibtex.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b751b6af8a9cb20725cb517b0e19d5bc9e15de8844dad6d4edbd77dabd093"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_report_scaffold.generate_scaffold (cognitive 24): generate_report_scaffold.generate_scaffold has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, ternaries 8, if/else 5 (6 pts), loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/generate_report_scaffold.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f95505795f27fc99c06931ee8e7e4d8a79d08cda06892f8b2d76c9298a50ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-windows-paths.destinationRange (cognitive 24): remark-windows-paths.destinationRange has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (6 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":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f903e36113ca69426bfdaae791e856cb97d198332c29fa2b14e7370065bdac8"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-tab-view.NativeBrowserTabView (cognitive 24): browser-tab-view.NativeBrowserTabView has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (10 pts), if/else 4 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b211acd63c62c86343e72f3627ca83dbf2cea6247504918b3688ec43a2241f"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-add-menu.ComposerAddMenu (cognitive 24): composer-add-menu.ComposerAddMenu has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 5 (7 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ec18600256d22163c0f197ab94e0691c4860b68bdf9392e02d8fcb9299baf"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-indicator.ComputerIndicator (cognitive 24): computer-indicator.ComputerIndicator has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 5, error handling 1. Of this number, 15 points are the body\u0027s own statements and 9 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":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"523170e53d81055d16fb28c744a9e5f029bee2032803351025cc062090cab561"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-tag-filter.TagFilterPanel (cognitive 24): sidebar-tag-filter.TagFilterPanel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 6 (8 pts), ternaries 6, boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 190, 182, 282, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-tag-filter.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d853b5ef3d06eb402cf43f3fe760b070dd248899e39b68f194f87195c730736"}},{"ruleId":"D2","level":"warning","message":{"text":"image-diff-view.ImageDiffView (cognitive 24): image-diff-view.ImageDiffView has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 8, boolean chains 6 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 9 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":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0922ba8964b1f5bbbc06775beffbc8005cacb0b0c1df8dd80618b87275362d30"}},{"ruleId":"D2","level":"warning","message":{"text":"aux-panel.AuxPanel (cognitive 24): aux-panel.AuxPanel has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 6, if/else 3, match/switch 1 (nesting depth added 1). Of this number, 18 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":"src/components/layout/aux-panel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5035a1d42c638b16ab42036586b4ed973858c3a6994910ed067bde5f86f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"git-log-branch-filter-list.GitLogBranchFilterList::renderRow (cognitive 24): git-log-branch-filter-list.GitLogBranchFilterList::renderRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 6, if/else 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b78cf4cee2b31e8b0510036ec386737fad5b38dbefb5dc33e4bd8dc451a6ff"}},{"ruleId":"D2","level":"warning","message":{"text":"status-bar-computer.ComputerPopover (cognitive 24): status-bar-computer.ComputerPopover has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, error handling 4, ternaries 3, if/else 1. Of this number, 18 points are the body\u0027s own statements and 6 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"594418b1b4422541a28f5a7ee5c4821fd2bd222e2a7c93995eda440bea4cf4a9"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-row.ActivityRow (cognitive 24): activity-row.ActivityRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 9, if/else 4 (nesting depth added 1). Of this number, 18 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":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d64bcf91e9141bdb2405a0557bb05a2877e267d7ae774da22e028ee8233d79b"}},{"ruleId":"D2","level":"warning","message":{"text":"live-turn-stats.extractEditStats (cognitive 24): live-turn-stats.extractEditStats has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 15, if/else 3 (7 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed1b25f6225de972d91f22af28fb622766485c4c762afff3ce43634f036654c"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-style-section.CustomStyleSection (cognitive 24): custom-style-section.CustomStyleSection has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 6, error handling 1, loops 1. Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 252, 214, 221, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ec78017b7d6a294c1947d8cd8b4dbc21582c69a18313eef3b083ed84b49ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"assistants-panel.AssistantsPanel (cognitive 24): assistants-panel.AssistantsPanel has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 6 (7 pts), boolean chains 5 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ae30ecb1dceeb7d60ed50dd986cc5a78cd553c05d11d40e2c5c6f13787061"}},{"ruleId":"D2","level":"warning","message":{"text":"task-row.TaskRow (cognitive 24): task-row.TaskRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 9, if/else 2 (nesting depth added 3). Of this number, 21 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":"src/components/tasks/task-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab63cbc10c95567c8e5d0653b061f5b81e2b17c65697080fc00eed909e756760"}},{"ruleId":"D2","level":"warning","message":{"text":"app-workspace-context.AppWorkspaceProvider (cognitive 24): app-workspace-context.AppWorkspaceProvider has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 2, boolean chains 1, error handling 1 (nesting depth added 2). None of this is in the body itself: all 24 points belong to 10 function literals inside it that branch (lines 233, 143, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/app-workspace-context.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"65772360065f26d2a30f2b205f6bb343cd0c5ada1d26812d5a0139006e276cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"use-long-press-drag.useLongPressDrag (cognitive 24): use-long-press-drag.useLongPressDrag has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 5 (nesting depth added 1). None of this is in the body itself: all 24 points belong to 8 function literals inside it that branch (lines 74, 164, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-long-press-drag.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330007bbbcd20f16e40613e438a81f33632c4f1248831045e1a6a1c7835724c"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.parseApplyPatchDetailed (cognitive 24): edit.parseApplyPatchDetailed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b7ee0dd51d7414ab31d6276d3b207a5ed709ca80e79ba7402e09373ecab704"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-normalization.inferLiveToolName (cognitive 24): tool-call-normalization.inferLiveToolName has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"525423e73d896f233df1a921acba8e82e92e1bf26f0eb93e1aa8e617c9225d65"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationBroker::resume_delegation (cognitive 23): DelegationBroker::resume_delegation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a86f045e1059ab4adae7f0783fe60f4c93432506538da94d5c41ea1c2c5960e"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationEngine::reconcile_once (cognitive 23): AutomationEngine::reconcile_once has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ddea7c52d269ff64bfed98868691d452d0ace75f8b6be735d67dc506b35e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService::snapshot (cognitive 23): IndexService::snapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd9c9e46f7bc09fc23723605f5a3f288dba9fec66ae47d8f01999120508d39"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoProcessor::scan_into (cognitive 23): AutoProcessor::scan_into has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 5 (7 pts), loops 3 (nesting depth added 9). 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":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb693321e922b5f06be6115467e05aef9a04e26d050fdcbca2bdd83f3b29d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::deliver_pr_closing (cognitive 23): TaskEngine::deliver_pr_closing has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 4 (5 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4739}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b315ffa8839db6962bc5c7c7b1f8d4ade7b55bcb4ae499ee14e8214ab645bce"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::cursor_acp_retry_compat::maybe_apply (cognitive 23): codeg::acp::cursor_acp_retry_compat::maybe_apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 7 (9 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b3c6a695fd2f6b071fe9fe77cbb798123b27928998e774c35d21027abfaa72"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::parse_questions (cognitive 23): codeg::acp::question::parse_questions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 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":"src-tauri/src/acp/question.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6983971bc2c9352dff276107b26ebeca4435448ee446ee1409f3c6111023d8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::temp_reclaim::reclaim (cognitive 23): codeg::acp::temp_reclaim::reclaim has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/temp_reclaim.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a63535b9d33f1d9e3a959c5c2ee2c084d4f4c96a8e3f9619fe40bc8604990b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::egress::run_session (cognitive 23): codeg::browser::egress::run_session has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3 (9 pts), loops 2 (nesting depth added 13). 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":"src-tauri/src/browser/egress.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8b35ee04a0fa9d51b09592ae16895666d6d978413d1bcbf9b5cfa9158a8f19"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::generative_ui::migrate_legacy (cognitive 23): codeg::commands::generative_ui::migrate_legacy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (2 pts), match/switch 2, 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":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d606df2d01bf6245474f75c1627f31c0884ab42e8f5c8bb954d3dc40b6a023"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::generative_ui::unlink_legacy (cognitive 23): codeg::commands::generative_ui::unlink_legacy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (3 pts), loops 2, 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":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c345769bb31c40d8c602cc1e493cca210a15ee62dd243ac5ac79e4f4d6df258"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::smithery_property_kind (cognitive 23): codeg::commands::mcp::smithery_property_kind has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (7 pts), loops 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":7200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4749abb4078af59f15f2dad27258263aa5656a33b2d57246b80b43fe68cba911"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::helper::ops::driver_predicates (cognitive 23): codeg::computer::helper::ops::driver_predicates has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (20 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":"src-tauri/src/computer/helper/ops.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2f33d155c5dfb3859c63bbe2c368005ce5f67a4234a0e346141c2b84f8a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::helper::tree::without_app_menus (cognitive 23): codeg::computer::helper::tree::without_app_menus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/tree.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea714b7e91301332e131306ae2fe4086f4c6a0c6617c2ca050599acb9050ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::keys::desktop_chord (cognitive 23): codeg::computer::keys::desktop_chord has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 22, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/keys.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"761643f188cf4dbb4f468b3142cee2655d23c6df60d11041e18dce0992afe9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::forge::github::check_summaries (cognitive 23): codeg::forge::github::check_summaries has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts), match/switch 1 (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":"src-tauri/src/forge/github.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"82badb8a3963fab9e6c1a653d938322812c26bd758d7d87833623d129f2f13a7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::first_command_literal (cognitive 23): codeg::parsers::codex_code_mode::first_command_literal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0280a35d760e52334d938aa626eec833d94a175150acd65dff051099cec7297d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::opencode::batch_load_v2_subagent_tool_calls (cognitive 23): codeg::parsers::opencode::batch_load_v2_subagent_tool_calls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9859679231bdf3e82d1ffb8dc9ed4392b30852eaa2c61db93fb60d7123f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"paginate.walk (cognitive 23): paginate.walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), loops 2 (3 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":"src-tauri/science/skills/paper-lookup/scripts/paginate.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a5a9d1eb0a75a15203aa527c5f7fa5c505651823b5d035339003ee570d4204"}},{"ruleId":"D2","level":"warning","message":{"text":"_common._validate_scale (cognitive 23): _common._validate_scale has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ddac26d3068cfcb35d2d4985f1f60fcffcb718f448e42d2607b79f26dba931"}},{"ruleId":"D2","level":"warning","message":{"text":"image_metadata.inspect_svg (cognitive 23): image_metadata.inspect_svg has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/image_metadata.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b925625227774151ebebc04f7fe6a64cab7798339d390560fa754bd63fe7bfa3"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-agent-access.BrowserAgentActivityControl::scrollList (cognitive 23): browser-agent-access.BrowserAgentActivityControl::scrollList has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (21 pts), if/else 2 (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":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c6564b7bc17f7da1bd6116c1e52657d5ed0ea96fa14901dbb4b85b0dcc28c9"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-context-bar.ConversationFolderBranchPicker (cognitive 23): conversation-context-bar.ConversationFolderBranchPicker has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 7, boolean chains 5, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 287, 342, 381, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b81a149b2bdb2c03bb2bd7146e78943f10e798c7d3d221e56135c2ff951faf2"}},{"ruleId":"D2","level":"warning","message":{"text":"image-preview.ImagePreview (cognitive 23): image-preview.ImagePreview has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 7, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 96, 47, 86, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/image-preview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb21193bc06afcb327c0f7746a7c9362b968b70b33880d544cc48451dd22c6"}},{"ruleId":"D2","level":"warning","message":{"text":"goal-tool-call.GoalCard (cognitive 23): goal-tool-call.GoalCard has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 21, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fc9500e520417770e59c27a83216bae1a61736ac4da85644d47dd3d4a6d375"}},{"ruleId":"D2","level":"warning","message":{"text":"context-compaction-card.ContextCompactionCard (cognitive 23): context-compaction-card.ContextCompactionCard has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 5, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353b9a627c6dc57da2882e7c6d19f6d442897936bc3d49d831fb66e9525904a"}},{"ruleId":"D2","level":"warning","message":{"text":"add-model-provider-dialog.AddModelProviderDialog (cognitive 23): add-model-provider-dialog.AddModelProviderDialog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, ternaries 6 (9 pts), boolean chains 3, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 131, 125, 86, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69192af143d45f527bf7c050ab8fab89de020d63232f3fedea17847eea0e9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-background-market-dialog.WorkspaceBackgroundMarketDialog (cognitive 23): workspace-background-market-dialog.WorkspaceBackgroundMarketDialog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (8 pts), boolean chains 5, error handling 2 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1310d04770b0f4cc0133ad29f197ee4cf9e1144a3497118bc2e6a529211b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant-avatar-picker.AssistantAvatarPicker (cognitive 23): assistant-avatar-picker.AssistantAvatarPicker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6 (9 pts), boolean chains 4, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (onFile, a function literal at line 315, pickColor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-avatar-picker.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ec9db8244657e986c0e52cd8628ef84f19216ee3da9a284fb98dc020998602"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-use-settings.DriverSection (cognitive 23): computer-use-settings.DriverSection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 7, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b78ec9574ef73e573f78b9f5a76a2811f2efdbd3368940513e7b20696cc904f"}},{"ruleId":"D2","level":"warning","message":{"text":"close-request-dialog.CloseRequestDialog (cognitive 23): close-request-dialog.CloseRequestDialog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 3, error handling 1, loops 1. Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 107, 136, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/close-request-dialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c7314a149b6ebcfd25e9fbbcd07322c89d1f59de288cd440582699d740aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-connections-context.applyStreamingAction (cognitive 23): acp-connections-context.applyStreamingAction has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eafd081388c00d74d75d3df02ed163ad1a48107fa143e7b559889594faa2e7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg-mcp-tool.readTaskAck (cognitive 23): codeg-mcp-tool.readTaskAck has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edb8bc94147afb084d26d19d7122ec1f38a9755abf09a3bc1c5438dad3e4ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.interpretReport (cognitive 23): delegation-card.interpretReport has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 3, if/else 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"baddc43b53ce135b09095d8dc92e535877382e050456e12fd2b30a63cc15a772"}},{"ruleId":"D2","level":"warning","message":{"text":"keyboard-shortcuts.parseShortcut (cognitive 23): keyboard-shortcuts.parseShortcut has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258d08861d69b24e264239086e9929f19d855f0ac3eab76eb15d0aa47ebdd49"}},{"ruleId":"D2","level":"warning","message":{"text":"plan-parse.parsePlanEntriesArray (cognitive 23): plan-parse.parsePlanEntriesArray has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 2 (4 pts), loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/plan-parse.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc9ade82b277cc97eda2aff68a205d941e3e86494c5cecc96d57c0a8b2be323"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-normalization.normalizeUncached (cognitive 23): tool-call-normalization.normalizeUncached has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22 (23 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"44972ceebc9592f40d7849989a83f3b4398a42d84713c7c58ed6f84a766d4027"}},{"ruleId":"D2","level":"warning","message":{"text":"unified-diff-generator.buildUnifiedHunks (cognitive 23): unified-diff-generator.buildUnifiedHunks has cognitive complexity 23 (threshold 15). Drivers by points: loops 7 (15 pts), ternaries 2 (4 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/unified-diff-generator.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62683096f644af790cba1bd55845cecfd80f3dabcd6ade5b58d95447733929d"}},{"ruleId":"D2","level":"warning","message":{"text":"task-rounds.extractRounds (cognitive 23): task-rounds.extractRounds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 4 (9 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/task-rounds.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ca5049f33a7352b94e620f68ab59f4e9771d7ef3b86fd95f6c63ae3c6812a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CliRunService::start (cognitive 22): CliRunService::start has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 1 (3 pts), match/switch 2 (nesting depth added 14). 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":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f27258c9122c327b12c129ae8ed96afcb51467b28d7a66cced7f72dfe1b22"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::run_preflight (cognitive 22): TaskEngine::run_preflight has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4, 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa08ad7d7646d5e225b041473efe8baaa9a42c523b44da434c5d9d038f60d12"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::apply_and_emit_session_config_options (cognitive 22): codeg::acp::connection::apply_and_emit_session_config_options has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c8c45fdb395d59edaea608697f3aa80bb3439b84828a9ab59a1ea56e8415c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::scheduler::spawn_daily_report_scheduler (cognitive 22): codeg::chat_channel::scheduler::spawn_daily_report_scheduler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (8 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb8961c971ad4d3f0f63e293cb58a20ba37611e99792502945f7737bb5672c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::apply_grok_custom_model (cognitive 22): codeg::commands::acp::apply_grok_custom_model has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 1 (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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a687fb6c14aec06d107e1bfb881d3a8d66a6c476d23699194b209362237244"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_prepare_npx_agent_core (cognitive 22): codeg::commands::acp::acp_prepare_npx_agent_core has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 3 (5 pts) (nesting depth added 12). 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14574}}}],"partialFingerprints":{"codehealthFindingId/v1":"658fd8412e98094c6950a0dcd0e0a3ad37a69b348097eb03d09c8addbcde7a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::project_boot::create_hyperframes_project (cognitive 22): codeg::commands::project_boot::create_hyperframes_project has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 pts), 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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc1d2b0fceef5001c009ce2d4e429da3f491a4e8e71e972fb88a8ec0c63b0e7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::windows::spawn_pet_hover_watcher (cognitive 22): codeg::commands::windows::spawn_pet_hover_watcher has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751976da60a4c73314b81bfed5dd5fc2d3598ba6731c18c51508cd8ca459d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::automation_service::remap_dow_field (cognitive 22): codeg::db::service::automation_service::remap_dow_field has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/automation_service.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd775b7a6f41d0911a3504a956df369cfd864bda29ec59b8cfe521dbe22632b8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::conversation_service::relocate_conversations (cognitive 22): codeg::db::service::conversation_service::relocate_conversations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcc7b7a0f3836d1a719eee604d57629bea0e941492408363b7d2e689510724"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::work_task_service::list (cognitive 22): codeg::db::service::work_task_service::list has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4717312a132c85846f69e1ef440a78019c5efa73b79820b4ccd6480269a25665"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::forge::image_cache::get_or_download (cognitive 22): codeg::forge::image_cache::get_or_download has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (7 pts), loops 2, 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":"src-tauri/src/forge/image_cache.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"384fd3d051acfd0edcc112c54cbf71c60fdd600ef2018f8e66dffd7f80d5da4b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::acp_native::apply_update (cognitive 22): codeg::parsers::acp_native::apply_update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (5 pts), boolean chains 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":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b8e56eb9ae398df71108d5acdcace8c738b2d34b8729da1fb30531b8f4bc75"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::pending_command_verdict (cognitive 22): codeg::parsers::claude::pending_command_verdict has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5752761623afcdfae8ce5b5019037a5adf8676f1dfeb469bfab0faae731c862"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::find_clear_rollover_successor (cognitive 22): codeg::parsers::claude::find_clear_rollover_successor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58613624a64a2cd625ae4078a70b4fd129b9eb19db0e239adee9c6dddb6461c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::decode_json_string_prefix (cognitive 22): codeg::parsers::codex::decode_json_string_prefix has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 3 (10 pts), if/else 3 (9 pts), boolean chains 2, loops 1 (nesting depth added 13). Of this number, 21 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. 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"61378429d8b891aeaf00eb19b1a8941399e3b36471ad997a78f59fc8c96e7268"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::extract_response_item_message_blocks (cognitive 22): codeg::parsers::codex::extract_response_item_message_blocks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (2 pts), boolean chains 1, 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7001}}}],"partialFingerprints":{"codehealthFindingId/v1":"186a19135a1e6614d7de4f57d4ad00433f2e76f72701f44898ee8e1696525740"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kiro::tool_result_blocks (cognitive 22): codeg::parsers::kiro::tool_result_blocks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a23d2db964da1592d5bab36b867d148291a14091f5c848fc8a8c304edea680"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::pi::parse_session (cognitive 22): codeg::parsers::pi::parse_session has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9637e2962a69b99ce6b33c5d4e6c39951f9e3d4acc5fa6f49de32332f6767"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::pet_sessions::pet_sessions_subscriber_task (cognitive 22): codeg::pet_sessions::pet_sessions_subscriber_task has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (13 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_sessions.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9fc8b7df1913e3ba1e12c997a0d30fabd74d999d817a5e65ba7df16819c370"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleScholarSearcher.search (cognitive 22): GoogleScholarSearcher.search has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_google_scholar.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a74f8246b92e3fba25c6fd94657776f0ab950143b22dac0bde44c8daf7d13a5"}},{"ruleId":"D2","level":"warning","message":{"text":"check_process.check_process (cognitive 22): check_process.check_process has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (6 pts), ternaries 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/check_process.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc3ed60eba1ea7128dc19c7026b94c5c0ec655261de2dd61e0f3806984acb54"}},{"ruleId":"D2","level":"warning","message":{"text":"page.PushPageInner (cognitive 22): page.PushPageInner has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 3, if/else 3, error handling 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 4 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":"src/app/push/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9f106d9362bcf8f807c830ffb12074ed9fa94d628545c2e99e90c8a8859677"}},{"ruleId":"D2","level":"warning","message":{"text":"picker.ensureOverlay (cognitive 22): picker.ensureOverlay has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8842b954bb4691f477cad1e7f42bc361a10850b672d1a6201b392ac46b825a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-page.AutomationDetail (cognitive 22): automations-page.AutomationDetail has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 5, error handling 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6463d15bf9b434684ad4328dc0f0c4524eefece6630fa100c43393f6316b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-list.SidebarConversationList::folderHeaderElement (cognitive 22): sidebar-conversation-list.SidebarConversationList::folderHeaderElement has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (14 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. This shape REPEATS in the file: 2 other methods here (sidebar-conversation-list.SidebarConversationList, sidebar-conversation-list.SidebarConversationList::renderRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"934e54f0c19fecc2e831c759fdbf53f9967eee858e062f28b565e5b797972c90"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar.Sidebar (cognitive 22): sidebar.Sidebar has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9, if/else 7 (8 pts), boolean chains 5 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 9 belong to 10 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3341c0c5e251b0c77a8297c94dfbe1c3bd71d295e9316fff1bc8453a741371bb"}},{"ruleId":"D2","level":"warning","message":{"text":"use-timeline-window.useTimelineWindow.update (cognitive 22): use-timeline-window.useTimelineWindow.update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c597dbcfc8c0b1b8b8a7f6504e7be064db40d5d1d5f12db9f43dd5f184e99824"}},{"ruleId":"D2","level":"warning","message":{"text":"reply-artifacts.ReplyArtifacts (cognitive 22): reply-artifacts.ReplyArtifacts has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (6 pts), loops 1, ternaries 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5725eea9cae0454b058e4b62ed5467fc95cb8dce69fe4ef649421960f430a71"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list-view.extractMessageDelegationSources (cognitive 22): message-list-view.extractMessageDelegationSources has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"367d91cdd081cfe8de00615dec4993e2386f2748974ccbf8c3868bfdbc92549b"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.comparePrerelease (cognitive 22): acp-agent-settings.comparePrerelease has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb65654c8552e5e7867e3a332e705c380331d98be199fe75c948b2cdcc8b45bc"}},{"ruleId":"D2","level":"warning","message":{"text":"required-agent-options.useRequiredOptionsGate.gate (cognitive 22): required-agent-options.useRequiredOptionsGate.gate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4891f8075744b48d1e5f8d3b4a08ce56f3833be35ef8a1262c6945e8d94e90"}},{"ruleId":"D2","level":"warning","message":{"text":"chart.ChartTooltipContent (cognitive 22): chart.ChartTooltipContent has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (9 pts), if/else 4 (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 2 function literals inside it that branch (lines 201, 148). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/chart.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa9d3e14bdd472a7d895ca90fa79ab6e84e193c93d6d6a78d04fc5a37d44ff"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.mcpResultPayload (cognitive 22): mcp.mcpResultPayload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (8 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/mcp.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b08864a9297d7d55575818f45fb6f178a4c71ce6293d809e5e6c748977b29"}},{"ruleId":"D2","level":"warning","message":{"text":"permission-request.extractContentText (cognitive 22): permission-request.extractContentText has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b02a230205576274c7f8dfe482462f0ab388bcbb190ab138409a0fd7bb864e3"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.extractFilePaths (cognitive 22): session-files.extractFilePaths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (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":"src/lib/session-files.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"150d0207cf384607ad6ac283247d9819bfd606cd5570f1cedd20b3362fef331c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 22): (anonymous) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 4 (5 pts), error handling 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":"src/browser-injected/helper.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919ba619bbf35fed174ff92210824f78c1284ee1cc325ed529c6566fc5cddae"}},{"ruleId":"D2","level":"warning","message":{"text":"WeixinBackend::do_send (cognitive 21): WeixinBackend::do_send has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (21 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c0057dc26f3c1ce22413b900628060f2782d9bcdb41b8cf75208af5851b29e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeParser::list_conversations (cognitive 21): ClaudeParser::list_conversations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (8 pts), 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4921e30f84011723bc2388d8abcbecae63cc1fc7ca31dce6071d0728800af9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClineParser::session_detail (cognitive 21): ClineParser::session_detail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e6275cd8e317224e9fe3cc8f166f8bde2071f8956ce1f1b621a040d31b4733"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::background_watch::run_watch (cognitive 21): codeg::acp::background_watch::run_watch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), 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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a4121ada48f17d128e5e0da610f0fd928cf0cd43f70927b326d9afb040ef8d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_model_catalog::expand_catalog (cognitive 21): codeg::acp::codex_model_catalog::expand_catalog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (5 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":"src-tauri/src/acp/codex_model_catalog.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"517aa75ded28224ceee0a428a04e7df27ece77152dc437452d62ab16eafe16bd"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::pi_scope_entry (cognitive 21): codeg::acp::connection::pi_scope_entry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":4433}}}],"partialFingerprints":{"codehealthFindingId/v1":"345e1244456c90899b2a27be90c9fb9833d4bef14e39c7d094fea9e8a6c77322"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::apply_preferred_session_options (cognitive 21): codeg::acp::connection::apply_preferred_session_options has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b4dc7910c1f31c08fb34b79150cc265c59c3527c4fbef9997502aff675f3b9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::minimax_other_fields (cognitive 21): codeg::acp::question::minimax_other_fields has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9d6b3130d6b9319770b28522746c4ea55c06805515cb92d447929968b3818a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::hooks::watch_load (cognitive 21): codeg::browser::hooks::watch_load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6a1a81d3a1adb7cc955a55dda1da88e25434fd0e577cf168ed9b2b43fcf66e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::session_commands::handle_task (cognitive 21): codeg::chat_channel::session_commands::handle_task has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 8 (9 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d6b4de05872004c7e40e2ba7747b13ab474e637b9be02cd0e53549e8207783"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::cli::fanout::report (cognitive 21): codeg::cli::fanout::report has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), match/switch 2 (4 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":"src-tauri/src/cli/fanout.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e555969b8509931b31f743b08667942fbd082e3566fc62a30bd80a35e68a52"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::cascade_update_model_provider (cognitive 21): codeg::commands::acp::cascade_update_model_provider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":11901}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcca3176184abcfe554d2e63f5885517c4498b93f8dbd4c3440360bed5c785f5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::canonical_to_opencode_spec (cognitive 21): codeg::commands::mcp::canonical_to_opencode_spec has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (3 pts), match/switch 1 (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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb00aafc2b9b280312138ef51c6d9a758787d67f325c0c94c879e3490cffd34"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::resolve_smithery_connection_spec_with_values (cognitive 21): codeg::commands::mcp::resolve_smithery_connection_spec_with_values has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":7344}}}],"partialFingerprints":{"codehealthFindingId/v1":"065e9e37dc38d91a497e5cb19674463ddf0c88c6e5b5eac411976fdb6cf4e71c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::marker::follow (cognitive 21): codeg::computer::marker::follow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (7 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":"src-tauri/src/computer/marker.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a79f984a748204321e2401a2b04dd258814b4ae4814bbd602561fb1ce930aa"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::acp_native::upsert_tool_call (cognitive 21): codeg::parsers::acp_native::upsert_tool_call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"198b2f6c6da09254a28b621213e06908a9986e4e126b3c28caf48e881d86c374"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::unwrap_code_mode_script (cognitive 21): codeg::parsers::codex::unwrap_code_mode_script has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"892f5180b29e881086b0d16e04e1599da3ec068b2fb9e0978b79ea0fa4377287"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_file_citations::render_with (cognitive 21): codeg::parsers::codex_file_citations::render_with has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a0e1f0e2d182caff0c4a5f7725ca7cf205d95c48e2c3a9123d6fc12901fbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::decode_step (cognitive 21): codeg::parsers::cursor::decode_step 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd30bcbed6349703f7e179df02e24f3bce75ffd2ec5b3039eceec833c9ec22"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::grok::apply_subagent_result (cognitive 21): codeg::parsers::grok::apply_subagent_result has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2444284dca03546706c111c215cc4950356f2df3c6f83e432ed2c41c9a1ed90"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataExtractor.extract_from_arxiv (cognitive 21): MetadataExtractor.extract_from_arxiv has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (8 pts), loops 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f33eb8490a67b9865b4c935ffe4bd733f8e03fae1f509c77e22d2f488c26d72"}},{"ruleId":"D2","level":"warning","message":{"text":"ScientificSchematicGenerator.review_image (cognitive 21): ScientificSchematicGenerator.review_image has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (6 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"582d5d1ef3c5b194b909cff7fbfcfc7dca42b7095ff3e8ef44aee74d1e1268de"}},{"ruleId":"D2","level":"warning","message":{"text":"page.CommitPageInner (cognitive 21): page.CommitPageInner has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 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":"src/app/commit/page.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"877bd84e55a08d80f5c1242abf6c39dd46b316138cfbeeeb3f89f275593ffd78"}},{"ruleId":"D2","level":"warning","message":{"text":"page.MergePageInner (cognitive 21): page.MergePageInner has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 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":"src/app/merge/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edfed27c6ed24fbfd266c5bc1b37d67d6f8ec337ab67667d5c707ae832a2063"}},{"ruleId":"D2","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments (cognitive 21): use-composer-attachments.useComposerAttachments has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 1184, 1223, 1161, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"79241ba004e2370d5094ec22976cf6701b2b44f448064b57667f10cf6961c5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-grouping.applyLayoutMove (cognitive 21): sidebar-conversation-grouping.applyLayoutMove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f74511af963e59c26e55202d7584fd8afa96cb68c4c578208d42ffaf4ad133"}},{"ruleId":"D2","level":"warning","message":{"text":"branch-selector-list.BranchSelectorList::renderRow (cognitive 21): branch-selector-list.BranchSelectorList::renderRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 5, if/else 4 (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. This shape REPEATS in the file: one other method here (branch-selector-list.BranchSelectorList) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d46750f232694b22b4035266e0da240d9b629639639b75e3bf5c649986a1051"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-timeline.estimateItemHeight (cognitive 21): activity-timeline.estimateItemHeight has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (9 pts), ternaries 3 (7 pts), if/else 2 (4 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd0e49cc870000fe86f03d0f73bd3c657f5f4c9bfa1b6a8123da4443bfe4b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list-view.collectDelegationSources (cognitive 21): message-list-view.collectDelegationSources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e678d8a544a562daa6815ea7846a40388b72fd715cde6fb8729df2215b311d12"}},{"ruleId":"D2","level":"warning","message":{"text":"add-chat-channel-dialog.AddChatChannelDialog (cognitive 21): add-chat-channel-dialog.AddChatChannelDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 75, 68). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae67e498868e788599da662d9031d44b72e0dee11ad9425f0300fc1164a1585"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-css-dialog.CustomCssDialog (cognitive 21): custom-css-dialog.CustomCssDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), ternaries 3 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 7 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":"src/components/settings/custom-css-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9a666980cd4be2b2ffd1ef314832ba63fff3ece3e81cc910e3356f69266aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"assistants-panel.AssistantRow (cognitive 21): assistants-panel.AssistantRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 5, if/else 5 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"69151e187336ac5e2081b5f35949252868964474e4bc458be4eedcf7e8d0d88f"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-use-settings.MacPermissions (cognitive 21): computer-use-settings.MacPermissions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 6 (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffb59b636dd7f82f0d7f4e98aa3451ad920c700dd0004a88be917cd7053aefc"}},{"ruleId":"D2","level":"warning","message":{"text":"office-tools-settings.DetectionCard (cognitive 21): office-tools-settings.DetectionCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f028f4c4fb3e074a7bc8fc4623466a5db5f57b437acd027ed46bb6c4b712d01"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-permissions-section.OpenCodePermissionsSection (cognitive 21): opencode-permissions-section.OpenCodePermissionsSection has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (7 pts), if/else 3 (nesting depth added 1). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 135, 214, 172, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"78284f11f636c41ababb2608baaed776d5473e132c2bb09f9e45989776b6eaeb"}},{"ruleId":"D2","level":"warning","message":{"text":"task-deliver-pr-dialog.TaskDeliverPrDialog::submit (cognitive 21): task-deliver-pr-dialog.TaskDeliverPrDialog::submit has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 2, error handling 1, if/else 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (task-deliver-pr-dialog.TaskDeliverPrDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9fa09898b30cbf838aec3361c72e646f549d6b63c28e0fc628687b8dbc4cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"describe-tool-call.describeCommand (cognitive 21): describe-tool-call.describeCommand has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (17 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a44a4e8bf4fc72f271478515be3dee02e0a6afb8be890de1602e400421d3dde"}},{"ruleId":"D2","level":"warning","message":{"text":"code-highlighter.requestHighlight (cognitive 21): code-highlighter.requestHighlight has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, error handling 2 (3 pts), ternaries 3, loops 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 179, 206, 188). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/code-highlighter.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a492b0014b17c2ac5fb6406876a1b3fb6d64ac8796a62fc1659af8af48bcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"collab-collapse.rewriteExecutionBlock (cognitive 21): collab-collapse.rewriteExecutionBlock has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/collab-collapse.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e10f4883950d2bb001abfe9cb3be9b5bc465dec9f6c63393b5539739227622"}},{"ruleId":"D2","level":"warning","message":{"text":"permission-request.buildDiffPreviewFromChanges (cognitive 21): permission-request.buildDiffPreviewFromChanges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75d00c4d83f43eea8364fc74e7562d8b7b87f81cd6982f408d33a7c6eb2e028"}},{"ruleId":"D2","level":"warning","message":{"text":"session-failures.mergeSessionFailures (cognitive 21): session-failures.mergeSessionFailures has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-failures.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4bd8078183a9763e842ba659594287eca5d2c97d4acb2437790d3310f5a5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-normalization.inferFromFreeformName (cognitive 21): tool-call-normalization.inferFromFreeformName has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f410fdc17c8ffa9b189e8b48af9005ee51c0b82fa0ce389b511655461516a0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.collectSteeredPersistedCopyIds (cognitive 21): conversation-runtime-store.collectSteeredPersistedCopyIds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6088a88cce74d2270074ac4d556541a9d9e0230b6ddcff9f39f15193424ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpAgent::connect_to (cognitive 20): AcpAgent::connect_to has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 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":"src-tauri/src/acp/agent_process.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d73c35fdc03e3d61bf3ae5b00e057b16547edc4467db5465ebf9982cbe71d"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationEngine::resolve_cwd (cognitive 20): AutomationEngine::resolve_cwd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffff5c0bc08b4de86df23f338bb2fc882171a17389b9d0792fd3cef5c87a1584"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::compact_before_prompt (cognitive 20): TaskEngine::compact_before_prompt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72e87c71217f3ed0877c20d22820e57834bc5cac9d121ef13e4cd168e952903"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::recover_merging (cognitive 20): TaskEngine::recover_merging has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23aea90dfccb1e7e30e3648bdfe50aa6b9a49e7fb1fa06cb877d94f0b3685e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::antigravity_login::start_claimed (cognitive 20): codeg::acp::antigravity_login::start_claimed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 5 (9 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":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9fbc86b283d7c19ed5ed0b23ad237edaadce4b1d8d7ca36465c0328ae1419d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::canonical_spec_to_mcp_server (cognitive 20): codeg::acp::connection::canonical_spec_to_mcp_server has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 1 (nesting depth added 11). 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8465}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d8955936eb6fcba8cabfd8289807c8070fd18de094f29b59427b8fb9345937"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::normalize_git_patch (cognitive 20): codeg::acp::connection::normalize_git_patch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1ef6d51e020996bd2b1444b770d14f3123e7433c54a3b25974a5315444012b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::browser_action_request (cognitive 20): codeg::acp::delegation::companion::browser_action_request has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (5 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 8). 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cfad48e0cced6a4fa2a0385ef93a820618e42b368f2820e6d02f54f03156c7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::is_delegation_invocation (cognitive 20): codeg::acp::lifecycle::is_delegation_invocation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"957bc78a5e1c27c71f063e19478b0775b6189a60401cbcf9bbe7067145e48c22"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_find_key (cognitive 20): codeg::acp::lifecycle::code_mode_find_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 4, 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afcf913fd58b4aa9b4fe624274bb89144f988aa48e2940887d5347243ecdf39"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::opencode_plugins::apply_plugin_change (cognitive 20): codeg::acp::opencode_plugins::apply_plugin_change has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (5 pts), match/switch 4 (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":"src-tauri/src/acp/opencode_plugins.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d980f765438b7d2075cd31cc5fcaf17f625396af260d9fa381a009ed48a599b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::prompt_hydration::hydrate_prompt_blocks (cognitive 20): codeg::acp::prompt_hydration::hydrate_prompt_blocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/prompt_hydration.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a337c3dc63a8c443654fd53f58b81aea8446f9a2220466237a5d63b6aa0edc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::approval_from_form (cognitive 20): codeg::acp::question::approval_from_form has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts), boolean chains 1, 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":"src-tauri/src/acp/question.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"849533f28ffdc8b704b18a257cab66b0b2aff706e78570e9881fe3dc635dfb1d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::temp_reclaim::scan (cognitive 20): codeg::acp::temp_reclaim::scan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/temp_reclaim.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"70587e9a6cc841137956cf80a6b99897e757e267f929b5659baaa784ae195309"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::capture::fit_within (cognitive 20): codeg::browser::capture::fit_within has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/capture.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb1898bd9b2480c93c414ed0b0d6cb5b13d5378d43a1898314fc71cc640f49"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::handoff::redact_url (cognitive 20): codeg::browser::handoff::redact_url has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/handoff.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dbce07f597ea56a4eb363a5356cdc883adb8f2c2b530b9323a432e572d1d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::install_npm_global_package_streaming_inner (cognitive 20): codeg::commands::acp::install_npm_global_package_streaming_inner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (20 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc3a91d1ee4f8cbbcf403fa4c136d376940118938d2febfad2b1dfb5a977c4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::external::estimated_source_bytes (cognitive 20): codeg::commands::backup::external::estimated_source_bytes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 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":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea86bfe7635b0dbf8400eda0a38186c5e5a204bd75ed7c09bb737b0ba95f63d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::restore::copy_recursive (cognitive 20): codeg::commands::backup::restore::copy_recursive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e7c57f761f2699ece0018f82b1000444e64bcbac34c7616d52168351a95234"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folder_commands::load_package_scripts_as_commands (cognitive 20): codeg::commands::folder_commands::load_package_scripts_as_commands has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (5 pts), loops 2 (3 pts), 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":"src-tauri/src/commands/folder_commands.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf5e8f073de4349d70ffabf2fa73f844d753e67134f43bf5f2f92e09f6eee2"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::project_boot::create_shadcn_project (cognitive 20): codeg::commands::project_boot::create_shadcn_project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), 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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf3660d3b4be659ec41e9b04113c9bce392c9bbefdebe3b98f19ed3b6e451d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::project_boot::install_hyperframes_skills (cognitive 20): codeg::commands::project_boot::install_hyperframes_skills has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cf7882e725e1bcd4d4924da67cd1a56c143954e911b93c3e8319dc4fe45d12"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::work_task::work_task_delete_core (cognitive 20): codeg::commands::work_task::work_task_delete_core has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 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":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"90850c49ceb12090d5b360d7bcc471994c07a818621562946776861e16e5787e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::workspace_file_search::index_cache::read_changes (cognitive 20): codeg::commands::workspace_file_search::index_cache::read_changes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3, 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":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c969c02e652bd5eef77e1e21116929cc384c8a2ee123a871b6b3c57557ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::forge::github::pending_runs_for_pull (cognitive 20): codeg::forge::github::pending_runs_for_pull has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 7). 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":"src-tauri/src/forge/github.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9e4ec4ace9f4b266b172850f0405d245927ae3c178849cfcdaf13942870e7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::extract_assistant_content (cognitive 20): codeg::parsers::claude::extract_assistant_content has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 3 (5 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c5602290395ad4080a71bfc34400290bc85b311130aa2b65a124f08f8afe70"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::browser_bridge::proxy_http (cognitive 20): codeg::web::browser_bridge::proxy_http has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3, boolean chains 1, 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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9925afda41ccd471810fcac6cac6e401dab70ed71131d38d61413720d9f38dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::work_task::git::remove_worktree_and_branch (cognitive 20): codeg::work_task::git::remove_worktree_and_branch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), 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":"src-tauri/src/work_task/git.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec027e953011273b6df6c380add6ce6ae113e9cfa9f074d35f3f7ea999a1b35a"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_metadata.main (cognitive 20): extract_metadata.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86136268ec1d3ca98f84f9cd0f573d2d7d53f3c76b6788cf32b88642fe1c519"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAlexSearcher._normalise (cognitive 20): OpenAlexSearcher._normalise has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 16, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_openalex.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf480155b68d65eef1f8e6f6d01070afa2a3fd8911d13f7a7e70db19b13dec4"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_prediction_matrix.validate_matrix (cognitive 20): validate_prediction_matrix.validate_matrix has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/validate_prediction_matrix.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"883cb881f18ea30d6d3c523ee4dad06c14e73725316e7ced9fbe183cd9fb2a27"}},{"ruleId":"D2","level":"warning","message":{"text":"paginate._rxiv_parse (cognitive 20): paginate._rxiv_parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/paginate.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5d3949c29bc968f48ac9da4803fc9fccd06936067385c146f3e9ad152f4e41"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_schematic.resolve_api_key (cognitive 20): generate_schematic.resolve_api_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), error handling 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":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c72c5afe853bed375bba909918d97352c86d5887f22c3412f994b0adf63c8"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_schematic_ai._resolve_api_key (cognitive 20): generate_schematic_ai._resolve_api_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), error handling 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":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18d5c3fc089dc45762d1e2db66d129240cedb9e6f5669d50e43e368f191c664"}},{"ruleId":"D2","level":"warning","message":{"text":"page.StashPageInner (cognitive 20): page.StashPageInner has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 3, boolean chains 2 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/stash/page.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cc890af5a1ecc72fdcf22a110696afab2425f38a36b2b93402c3369b1d91ae"}},{"ruleId":"D2","level":"warning","message":{"text":"helper.window.addEventListener(\u0022error\u0022) (cognitive 20): helper.window.addEventListener(\u0022error\u0022) has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 3, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9f453e10836b8822a1fec674177d7e526a103e9346db524890fb8e025715b"}},{"ruleId":"D2","level":"warning","message":{"text":"json-tree.defaultExpanded (cognitive 20): json-tree.defaultExpanded has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (6 pts), ternaries 1 (5 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":"src/components/ai-elements/json-tree.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d44e7186c9ce4f94a06bb88b83692c2cf2db53fe1613fbf22e1e105e4ac841"}},{"ruleId":"D2","level":"warning","message":{"text":"cron-builder-dialog.CronBuilderBody (cognitive 20): cron-builder-dialog.CronBuilderBody has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (15 pts), if/else 3, boolean chains 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/cron-builder-dialog.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67a2a665305c10befd0f24dc72a49ffba2a24344dff9255d36628b28c8617fc"}},{"ruleId":"D2","level":"warning","message":{"text":"automation-editor.AutomationEditor::submit (cognitive 20): automation-editor.AutomationEditor::submit has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"743246eb0796bbd0f5a44743d961445585668662e65549ac6040fd3f8237157f"}},{"ruleId":"D2","level":"warning","message":{"text":"use-reference-search.buildReferenceGroups (cognitive 20): use-reference-search.buildReferenceGroups has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d68296707e6c3850a89806e429ee7e3d7576d8511969df2625c970c4f52e804"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-tag-picker.ConversationTagPickerPanel (cognitive 20): conversation-tag-picker.ConversationTagPickerPanel has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 7 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-picker.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af78007b742c1e73358ab92b8323472206024213e4a2f1cee74c009ca667ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-manage-dialog.BranchFilterSelect (cognitive 20): conversation-manage-dialog.BranchFilterSelect has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 4, if/else 3 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6b7f3c455ca000041f55ae924823d03c4cd698c893f495bfce03bfe825e867"}},{"ruleId":"D2","level":"warning","message":{"text":"unified-diff-preview.toSplitRows (cognitive 20): unified-diff-preview.toSplitRows has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (7 pts), ternaries 2 (6 pts), if/else 2 (4 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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05ee243f079bd06121b81f1e0104db72b811123ce74b82535b91c39e2f13099"}},{"ruleId":"D2","level":"warning","message":{"text":"unified-diff-preview.DiffFileSection (cognitive 20): unified-diff-preview.DiffFileSection has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 7, if/else 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"a456b2477b96e3863fac3f8e8b79081cbbc617d2dd1e157999fbbeda7687b5c0"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-start-dialog.ForgeStartDialog (cognitive 20): forge-start-dialog.ForgeStartDialog has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-start-dialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a30a83e94deff6ceb029fae9d9451fc189e5f2633b61f4a7d34e99e746625b"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-combine-dialog.ForgeCombineDialog (cognitive 20): forge-combine-dialog.ForgeCombineDialog has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 5, error handling 1, if/else 1, match/switch 1 (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-combine-dialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"96560d2859e3abbac19bb9557ce1fc96ba9411a4568344aaa58cdba5b500a27f"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-detail-sheet.ChangedFiles (cognitive 20): forge-issue-detail-sheet.ChangedFiles has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 4, if/else 3 (4 pts), error handling 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cccb5b1a42166675d7a15fdc6806bb6361113fa7781dfba0eb2ba17ac3bfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"merge-diff.computeLineDiff (cognitive 20): merge-diff.computeLineDiff has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), ternaries 1 (2 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":"src/components/merge/merge-diff.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bc807f59374660afd159c024b8e383799c0e23d071db7dd3fc497c47695468"}},{"ruleId":"D2","level":"warning","message":{"text":"merge-diff.buildResult (cognitive 20): merge-diff.buildResult has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"66771aa4784db11aa5cd3eb0689cf55c0659bea08f4f3ecc8ce386f1bc854483"}},{"ruleId":"D2","level":"warning","message":{"text":"use-row-pointing.useRowPointing (cognitive 20): use-row-pointing.useRowPointing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, ternaries 3. None of this is in the body itself: all 20 points belong to 8 function literals inside it that branch (lines 45, 58, 88, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-row-pointing.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"05af23a58511efd5a064628bf4f38aa4da44c1ed05667ba827eebb73afdd60c5"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.parseTomlStringLiteral (cognitive 20): acp-agent-settings.parseTomlStringLiteral has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdab39c8ae1b18017e782d153b31136a110042e70a9f3127ecfbb98ad825154"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-chat-channel-dialog.EditChatChannelDialog (cognitive 20): edit-chat-channel-dialog.EditChatChannelDialog has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed7fca6a3723a65df139a2d992d7e829e1a3cff93b51dc36cf85b0ea63869bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.createMessageTurnAdapter.adapt (cognitive 20): ai-elements-adapter.createMessageTurnAdapter.adapt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ade10235901cc20e3a4b78f47626c6a87f2cfb3cf1f3f74d69ffee377c8119f"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-device.fitDeviceFrame (cognitive 20): browser-device.fitDeviceFrame has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 5, loops 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-device.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1983483443c931f665e3b753eb92f5607f007e9f9bc8f8fefb221dbe32d83cb"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.codeModeToolsCallOpen (cognitive 20): delegation-card.codeModeToolsCallOpen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce269f8dd8fe8dac8f0377a9dceed7aeab0116c9407cfad748e19caa86c6fa7e"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.matchingClose (cognitive 20): delegation-card.matchingClose has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 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":"src/lib/delegation-card.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"05435eda1d2a17f43e6eb5bf4af61343d24123d8f68579a0dcb145d672a05862"}},{"ruleId":"D2","level":"warning","message":{"text":"notify.notify (cognitive 20): notify.notify has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 2, if/else 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notify.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a22c314f24f05e50b04e9d098f3e3dd2af51c08b406326b1ced6ae36c7b49"}},{"ruleId":"D2","level":"warning","message":{"text":"search-output.parseSearchOutput (cognitive 20): search-output.parseSearchOutput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/search-output.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a02c674d30e388daa55d7ed7b5a49c102809693bd2ec30fb3c334dcb8503797"}},{"ruleId":"D2","level":"warning","message":{"text":"Cli::parse_from (cognitive 19): Cli::parse_from has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/args.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58cda299065c0edb1e187b4a682fde8aac45b4f7ef705daee9fc7d2479bb1c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CliRunService::apply_selections (cognitive 19): CliRunService::apply_selections has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), loops 3, 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":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8629a5ebbce16bb515dc2110481a6f377e19d2a3ccb54a52aa766874e78d15"}},{"ruleId":"D2","level":"warning","message":{"text":"CliRunService::pump (cognitive 19): CliRunService::pump has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (5 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":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6138d1c384f0cde662a91d03f0fc79ba54fd43a051d6098673ce10982ec2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerService::agent_act (cognitive 19): ComputerService::agent_act has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (7 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":"src-tauri/src/commands/computer.rs"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d93d585fc7b56b820991846db2117f152f6d950264217ac585ada2958fe2248"}},{"ruleId":"D2","level":"warning","message":{"text":"UserTurnFingerprint::from_response_item (cognitive 19): UserTurnFingerprint::from_response_item has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":6490}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ba6a93b9ca3b799e30d462f133041f24e5d6825857a5637e99b839a4c6c152"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_endpoint_catalog::synthesize_openai_entries (cognitive 19): codeg::acp::codex_endpoint_catalog::synthesize_openai_entries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), match/switch 1 (2 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":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a3e59690eae3b62eee825e2a9c40d19b04310c9b5bc4af0bcfd4fd6199c3cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::poll_tracked_terminal_tool_calls (cognitive 19): codeg::acp::connection::poll_tracked_terminal_tool_calls has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75f3725c0dbe86107ccbf185380abe5f544fb10a21006f9397834bd9bc99c72"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::serialize_tool_call_content (cognitive 19): codeg::acp::connection::serialize_tool_call_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (8 pts), match/switch 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660b4f2f3c443dddd8da8a0ea38f591374ddc50940100ff3bf939c16e2d3128"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::maybe_emit_ext_notification (cognitive 19): codeg::acp::connection::maybe_emit_ext_notification has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 pts), boolean chains 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":24695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac3486fd0d6aa9608669d114cd994ea902a503f413875230a9bb76777250c19"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::validate_specs (cognitive 19): codeg::acp::question::validate_specs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 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":"src-tauri/src/acp/question.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70709507caafec8aacf906118ef82de91489d656de3cc91bd5678dcdaa73c3"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::load_legacy_cline_local_config_json (cognitive 19): codeg::commands::acp::load_legacy_cline_local_config_json has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3414}}}],"partialFingerprints":{"codehealthFindingId/v1":"40777a9b5e081c50ea8617524c6ace24771866dc55aef7e4a2e7b35847f6eddd"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::write_hermes_codeg_provider (cognitive 19): codeg::commands::acp::write_hermes_codeg_provider has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed296f775e9384a9dabc7c36ef81550ab70ad22ad7e4b2e2580d48a1245888"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::external::recover_on_private_copy (cognitive 19): codeg::commands::backup::external::recover_on_private_copy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), boolean chains 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":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"63023c51de59462ba7c7f93e63cb0e82395759ed7866edf219eeaae22ff87f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::deepseek_settings::read_models (cognitive 19): codeg::commands::deepseek_settings::read_models has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2 (3 pts), match/switch 1 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e567bec04cccdeb6acf3736b688da3c2ac3c4def55fe70cfc0844f44a6a401d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::local_command::reject_unsafe_cmd_variable (cognitive 19): codeg::commands::local_command::reject_unsafe_cmd_variable has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 2 (6 pts), loops 2 (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":"src-tauri/src/commands/local_command.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeadec9161ba77adc8d598a9ae721f0cdc1c55ff244b352f275caf9384ea3ce"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::import_service::collect_local_summaries (cognitive 19): codeg::db::service::import_service::collect_local_summaries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 2 (4 pts), match/switch 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":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3ee3620d15aa06572cb2e5ea8ff188ab752c88edbe781009295dc88e879e0"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::import_service::import_one (cognitive 19): codeg::db::service::import_service::import_one has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce9e8912c6f37afda2c77b14d088abbca1ecdc684a3d17f3990f219ab545d74"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::resolve_patch_text (cognitive 19): codeg::parsers::resolve_patch_text has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deacdc429e3bee5d56f31c016425d67c19cecff737f28ce39c11965c0d9e179"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::parse_args_template (cognitive 19): codeg::parsers::codex_code_mode::parse_args_template has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (11 pts), loops 2 (5 pts), if/else 2, boolean chains 1 (nesting depth added 10). 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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a127a61479f78d63615f0ec7a5b89b5add098b5b4103246a178e6da3b7ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::browser_bridge::parse_ports (cognitive 19): codeg::web::browser_bridge::parse_ports has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (3 pts), 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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"77734b906d69009694f3b6d442b4fc5b99f11c8ff83136984613937638ac0410"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationValidator.verify_doi (cognitive 19): CitationValidator.verify_doi has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"504a6f2ed53398c0e758cdd94881cab9ea795b5afaba14fab4b7eae4491c41e3"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_citations.main (cognitive 19): validate_citations.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309a545224be8b10c29a9dcebc3822bebc1ebe6231d4a2a383f7ddea6997a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"picker.accessibleName (cognitive 19): picker.accessibleName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (3 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":"src/browser-injected/picker.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"99037aa1f02e7012c4b2c7142db1dbddc9fd2b3af3ce40c1e9e606016953609d"}},{"ruleId":"D2","level":"warning","message":{"text":"add-node-menu.AddFileSubmenu (cognitive 19): add-node-menu.AddFileSubmenu has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7, if/else 3 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e756433b677bf223c9b32b294d42ca79e3de187a6bfbedf92b60bf69828d038"}},{"ruleId":"D2","level":"warning","message":{"text":"async-task-row.AsyncTaskRow (cognitive 19): async-task-row.AsyncTaskRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 3, match/switch 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/async-task-row.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0746644452e800a45dbfb112df29b0577bb736eb48d23a4ead70b3282fc46"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-status-strips.useRetryLineText (cognitive 19): composer-status-strips.useRetryLineText has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 6, if/else 2 (nesting depth added 2). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 84). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-status-strips.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ea606c267ba10c5804a2888a691a67ecdb02685bad22ac65ac7f5bafffd601"}},{"ruleId":"D2","level":"warning","message":{"text":"from-prompt-blocks.blocksToRestoredDraft (cognitive 19): from-prompt-blocks.blocksToRestoredDraft has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 1 (4 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":"src/components/chat/composer/from-prompt-blocks.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ad433cc6cb58b5dee7d27a527c8c0185f516e35f3cee6b0a9ab6fd8dbefd83"}},{"ruleId":"D2","level":"warning","message":{"text":"move-conversation-dialog.MoveConversationDialog (cognitive 19): move-conversation-dialog.MoveConversationDialog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 6, if/else 4, error handling 1. Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac178839ffb6948dce7d26665335ee416827de3cacac52a752fad7d265d1f00"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-grouping.selectRecentConversationsWithReuse (cognitive 19): sidebar-conversation-grouping.selectRecentConversationsWithReuse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ed622855ee614cb19c3e301a90a854b83c513403e935252cc8b4a58a037ca"}},{"ruleId":"D2","level":"warning","message":{"text":"file-path-breadcrumb.DirectoryTree (cognitive 19): file-path-breadcrumb.DirectoryTree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 3 (4 pts), boolean chains 1, error handling 1 (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 9 function literals inside it that branch (lines 297, 241, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-path-breadcrumb.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1404a4b3638df5ee9ed27cfd163756f518354ce1e3c7bba70dc25d0a9db985"}},{"ruleId":"D2","level":"warning","message":{"text":"file-workspace-panel.computeLcsMatches (cognitive 19): file-workspace-panel.computeLcsMatches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"825145313f38665a0ead956dccc4ef76a90119cb47ee3ee224e97fd223d109cf"}},{"ruleId":"D2","level":"warning","message":{"text":"html-preview.InlineHtmlPreview (cognitive 19): html-preview.InlineHtmlPreview has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 7, if/else 2 (nesting depth added 2). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 177, 216, 202, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/html-preview.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c4e936760876a62970f0dd29a686262cc4c9445734ffb38fa7119b938953b4"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-detail-sheet.CommentThread (cognitive 19): forge-issue-detail-sheet.CommentThread has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 4 (5 pts), boolean chains 4, error handling 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc76adbd1e450523c0d369aaa1e30c13388974f7c8c3fbf5776cc7c6fbaf6205"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-detail-sheet.MergeBox (cognitive 19): forge-issue-detail-sheet.MergeBox has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 5 (nesting depth added 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66092e98ed9cdf77b1a51aace6cf22e0d1cf22579db8fd0359f10b6b92390d0"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-gitlab-images.remarkGitlabImages.\u003Creturned closure\u003E (cognitive 19): remark-gitlab-images.remarkGitlabImages.\u003Creturned closure\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 1 (4 pts), boolean chains 3, ternaries 2 (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 44, 40). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/remark-gitlab-images.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfebf829fb02c5cf04851dd95b901292dbbaed3434da393935d794b28764142e"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-new-issue-dialog.ForgeNewIssueDialog (cognitive 19): forge-new-issue-dialog.ForgeNewIssueDialog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 4, boolean chains 3, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 93, 119, 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":"src/components/forge/forge-new-issue-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2147e9eccf80e280d0dacc6c01bed7b894633fe58413343e9b38eea0e0a0546d"}},{"ruleId":"D2","level":"warning","message":{"text":"slide-slot.SlideSlot (cognitive 19): slide-slot.SlideSlot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 9. Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 43, 51, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/slide-slot.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b040308a0822d40395bb7ce8d6955394d6172c4dbd172d034a4dbbb2fe3e3db8"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-row.McpRow (cognitive 19): mcp-row.McpRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 7, if/else 2 (nesting depth added 2). Of this number, 11 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/mcp-row.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b136a955ccbebe903b968996b5bca9add442eef8c229152faae44354724912a"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-message-nav.VirtualRows (cognitive 19): conversation-message-nav.VirtualRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (7 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 5 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 385, a function literal at line 411, a function literal at line 409, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be2bad50d70357ea4d4befcfae53554eb57d0934602a3cc50d1d26a8a69d347"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-message-nav.MessageNavRow (cognitive 19): conversation-message-nav.MessageNavRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 8, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ef72d6894428e51e18a11e6a9061bcbd407878395b290a3d5af85f3a13e61b"}},{"ruleId":"D2","level":"warning","message":{"text":"live-turn-stats.parseApplyPatchStats (cognitive 19): live-turn-stats.parseApplyPatchStats has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f12bd34a73a92a75c42e7c293bd51f271bab9042bdeb35806db092dbc0f769b"}},{"ruleId":"D2","level":"warning","message":{"text":"create-project-dialog.CreateProjectDialog (cognitive 19): create-project-dialog.CreateProjectDialog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 5, error handling 3, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (handleCreate, a function literal at line 222, 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":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7376d2d0b47c3d77108d4454120c0657ddd3cf2b81d7ceda355954b3d99950c1"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.buildGrokStructuredConfig (cognitive 19): acp-agent-settings.buildGrokStructuredConfig has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 9, if/else 1. Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21d4c4b00ddde80daf64bd925565a48fcb1e7ad7bc45747626eeaee651b1bf0"}},{"ruleId":"D2","level":"warning","message":{"text":"add-custom-agent-dialog.parseManualSpec (cognitive 19): add-custom-agent-dialog.parseManualSpec has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (6 pts), boolean chains 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":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d91a2bc108a593a2fd4439ab88e31eb8b63cf609fd8ad2fa2b0e82f5983a4f9"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-editor.PetEditor::handleSubmit (cognitive 19): pet-editor.PetEditor::handleSubmit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (4 pts), ternaries 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":"src/components/settings/pet-editor.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a528714f3add0725ecdffee6f767920dce79659c615d89d440e16d7a2d27f376"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-catalog-source.useCodexProviderList (cognitive 19): codex-catalog-source.useCodexProviderList has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7, if/else 5 (6 pts), boolean chains 5, error handling 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a932d2b2428a788185a0486e3fb2dcd5cc72c273459e31ac647fce87e3baa831"}},{"ruleId":"D2","level":"warning","message":{"text":"charts.TrendChart (cognitive 19): charts.TrendChart has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 5 (nesting depth added 1). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 123, 113, 206, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6b9797e62c43714b364c3ac63fb04ca65745f50d9a8e0b36339be66889912d"}},{"ruleId":"D2","level":"warning","message":{"text":"deep-link-bootstrap.DeepLinkBootstrap (cognitive 19): deep-link-bootstrap.DeepLinkBootstrap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 2 (3 pts), ternaries 2 (nesting depth added 1). None of this is in the body itself: all 19 points belong to 4 function literals inside it that branch (lines 58, 36, 50, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/deep-link-bootstrap.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cf710c457159a39d8b177db67adc173eb4188eae860d1ab57373de7a84fb3b"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-connection-context.RemoteConnectionGate (cognitive 19): remote-connection-context.RemoteConnectionGate has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 4. Of this number, 15 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/remote-connection-context.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18b727de184252bdc44fac20a6f21d1b3fab3ccd35fda87e9a65f7b3b0b2139"}},{"ruleId":"D2","level":"warning","message":{"text":"use-open-url-target.useOpenUrlTarget (cognitive 19): use-open-url-target.useOpenUrlTarget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 1 (2 pts), match/switch 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 137, 200). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-url-target.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07d51f0913077b49b3bce83319869cda8bd23da6482c5071043874813fde2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"use-switch-to-branch.useSwitchToBranch (cognitive 19): use-switch-to-branch.useSwitchToBranch has cognitive complexity 19 (threshold 15). Drivers by points: error handling 5 (11 pts), if/else 5 (7 pts), match/switch 1 (nesting depth added 8). None of this is in the body itself: all 19 points belong to 2 function literals inside it that branch (lines 58, 102). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-switch-to-branch.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"164c35519878d63dbd8db0cd850bdb42da882d8feb40f5536b5e52a83f9f2b32"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.expandProposedPlanText (cognitive 19): ai-elements-adapter.expandProposedPlanText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 2 (3 pts), 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":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"361095e0abfb6a673d4d0243aeb5779e79d89e1b4ff4376e557ab24a07fc6341"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.expandGoalUpdateText (cognitive 19): ai-elements-adapter.expandGoalUpdateText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3, ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8ff4792bcf9bf508f81f2fd09ac25a157e024ead61e8fe114198302200c162"}},{"ruleId":"D2","level":"warning","message":{"text":"types.parseCodexModelConfig (cognitive 19): types.parseCodexModelConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1, loops 1 (nesting depth added 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b3887d5da9ee7c60744408bae033a25089710f6813f21cf67891a324ccbf8"}},{"ruleId":"D2","level":"warning","message":{"text":"background-task.buildBackgroundTaskRows (cognitive 19): background-task.buildBackgroundTaskRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (nesting depth added 5). 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 items inside it that branch (a function literal at line 759, record). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c4b05d4beaf6e528620b5aaf8ee669a7a9293c328a43a1ad6dfdabd21a270a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg-mcp-tool.parseCodegMcpToolCall (cognitive 19): codeg-mcp-tool.parseCodegMcpToolCall has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"318300ea226981f428fee11bc0a80cbad5550672c4c1c9bdd32cfe4aa91c1d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"model-api-rates.resolveRate (cognitive 19): model-api-rates.resolveRate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3, 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":"src/lib/model-api-rates.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8605b7c18ee3828a3162d91b2bff18eae73c2114906c912c1debeddf419eacdc"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.extractSessionFiles (cognitive 19): session-files.extractSessionFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 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":"src/lib/session-files.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf6c08ca36f3631bd13ca478521ea77c8e0683cc879e1147b944ff9dfbba42"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-store.applyChange (cognitive 19): canvas-store.applyChange has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/canvas-store.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8ffd1bc2801954abb239b208b7b36693a6507f0ba42ed0d5ccb5dce14c64c1"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpAgent::spawn_process (cognitive 18): AcpAgent::spawn_process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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":"src-tauri/src/acp/agent_process.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f83aa92452a123b37fcf605468650d4b4625c212885a74db85283e6863517d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::await_compaction_turn (cognitive 18): TaskEngine::await_compaction_turn has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 1 (3 pts), loops 1 (nesting depth added 11). 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2bed7b94df54b5c5d2f2a4b87d167950ecc0a61f05052376a5fb2dca97074b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::cursor_ext::parse_cursor_ask_questions (cognitive 18): codeg::acp::cursor_ext::parse_cursor_ask_questions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22220cf115ee94fb614e28e2c68d3328566852e71385103883bcf4e06af0b5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::custom_registry::validate (cognitive 18): codeg::acp::custom_registry::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), 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":"src-tauri/src/acp/custom_registry.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2305887bad9df5598b5b3de15d5a49971581f0fedb739d0b69810d8405503561"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::file_system_runtime::read_text_file_impl (cognitive 18): codeg::acp::file_system_runtime::read_text_file_impl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1, 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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105141d75b28d44e65987a58b5dc6ef2844b80132954cce12fc7d39ccf14017"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::parse_grok_ext_questions (cognitive 18): codeg::acp::question::parse_grok_ext_questions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca64db72e5490fbf4157301618d24dc620c165c016d056b68cd76bc719d45cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::question::parse_antigravity_ask (cognitive 18): codeg::acp::question::parse_antigravity_ask has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd9634e88bd9522adcec32c3120dde851393f02b8329aaf80b6bef45a5245a9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::agent_turn_files::run_job_with (cognitive 18): codeg::agent_turn_files::run_job_with has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, 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":"src-tauri/src/agent_turn_files/mod.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6455097ad57fa954d423eff0b3cc4a5406bd249e92111c946f5fa978ed84d14c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::command_dispatcher::dispatch_command (cognitive 18): codeg::chat_channel::command_dispatcher::dispatch_command has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), 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":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb91bc7839df823f38fd2cc0b0825772da441349ac1be1d8736c39cf8f2c954"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::chat_channel::session_commands::handle_permission_response (cognitive 18): codeg::chat_channel::session_commands::handle_permission_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5007732fd5770506ef9e10c245e5d7871193c6b302e70114de60168a34f9183"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_update_agent_preferences_core (cognitive 18): codeg::commands::acp::acp_update_agent_preferences_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13118}}}],"partialFingerprints":{"codehealthFindingId/v1":"86970939cd66ff802f51edbb19de8839a3772d0376cd62f03d8a91b8a3c0893b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::external::restore_external_with_sources (cognitive 18): codeg::commands::backup::external::restore_external_with_sources has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 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":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eba1340dbdd3899f5235968025f89f5347e2172f8bc1fff482aa8c2fe71c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::external::restore_one (cognitive 18): codeg::commands::backup::external::restore_one has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef3c8378d94f98b92a0131360685ed17b4562663852d56050430172f1fde2ee"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::git_pull_core (cognitive 18): codeg::commands::folders::git_pull_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffde1d99673ecf3fdb2744e9f0c8fac2b9051cd7d93e65c82e7abaf4ac706b5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::read_codex_servers (cognitive 18): codeg::commands::mcp::read_codex_servers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), match/switch 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f074c7bd6862b3bce81bb9f8942a4a1fda4d0f5fd4a9ec629170bde7760685e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::mcp::read_opencode_servers_at (cognitive 18): codeg::commands::mcp::read_opencode_servers_at has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"15073b6302c423e04c2700b082369502364ae252fe8dd3034ee8f7046855912f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::token_usage::token_usage_sync_core (cognitive 18): codeg::commands::token_usage::token_usage_sync_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/token_usage.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6a7c38da513d49514cafe7784c3d066efd2eb80083cb88f140ab9fd98323f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::computer::appident::windows_name (cognitive 18): codeg::computer::appident::windows_name has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 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":"src-tauri/src/computer/appident.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"031ece796906ac20d2a64404530a92495516c39a6fa6cb7bbbe16c090e0edfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::office_watch::await_ready (cognitive 18): codeg::office_watch::await_ready has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2490daa0bcca75f0ef04590384eec47f9029b304d6f551fb16a07a6de457394c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::extract_response_item_user_image_blocks (cognitive 18): codeg::parsers::codex::extract_response_item_user_image_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7068}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0001695f7d192ce3e3ce5c9f1936dd05d08e3b2628db975ae2a8f911bbb434"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::skip_ws_and_comments (cognitive 18): codeg::parsers::codex_code_mode::skip_ws_and_comments has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (9 pts), boolean chains 5, if/else 2 (4 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f125f34764b5d1723b58d1442df3d87cfa6db1215e8042588fc932a555a20aed"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::decode_proto_value (cognitive 18): codeg::parsers::cursor::decode_proto_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d4d9bf1f59b10d54f364d4e2efc6e70ec4d2fe715fafad6388277493ecc6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kimi_code::typed_prompt (cognitive 18): codeg::parsers::kimi_code::typed_prompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"74942758ef4a104c64091a0c00c3ddf14297f3d73b8f2f86dc188ae9246e9d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::pi::assistant_content_blocks (cognitive 18): codeg::parsers::pi::assistant_content_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), 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":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e42ed0b353addacb5ab223a7c7996bc7f9994a9a34cf6395819ba7cb4fad1f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::handlers::workspace_files::write_zip_archive_to_stream (cognitive 18): codeg::web::handlers::workspace_files::write_zip_archive_to_stream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"996839a6b494ee621e872df93135975ca083aa6d5054bb630d1c0a467893d2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::work_task::engine::closing_list (cognitive 18): codeg::work_task::engine::closing_list has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 3 (4 pts), boolean chains 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":7543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d966236375c8e181b896f0fa133ed884ea6b6c173752108c00fa4f5ad90368"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::stop_workspace_state_stream_core (cognitive 18): codeg::workspace_state::stop_workspace_state_stream_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1362ebdea40150a1705e453c2fd76f45ba0b9c1705a1066c57d6d3b0b3f4bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"_tabular.audit_missingness_and_leakage (cognitive 18): _tabular.audit_missingness_and_leakage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), ternaries 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_tabular.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"141b11ddd0b4f7b87989b9b43457b6b3bb9941cc0fc788df9649f2b3fffa2cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"jats_to_text.extract_metadata (cognitive 18): jats_to_text.extract_metadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 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":"src-tauri/science/skills/paper-lookup/scripts/jats_to_text.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f36adc39ab389994d0c1b3bd2685456f77383ef7cfc075fe08d29afcc2cd38"}},{"ruleId":"D2","level":"warning","message":{"text":"_common.write_json (cognitive 18): _common.write_json has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/_common.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c56f7d5343735efa8c13c35993944f4e48730ccb2aec91284bae79db17a58ef"}},{"ruleId":"D2","level":"warning","message":{"text":"act.clickAt (cognitive 18): act.clickAt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, ternaries 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"66286458c3452d103854fd43812a68df5f65afa39edcb3b7d5998e665109b36c"}},{"ruleId":"D2","level":"warning","message":{"text":"streamdown-plugins.stripMathFencePad (cognitive 18): streamdown-plugins.stripMathFencePad has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/streamdown-plugins.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"877bb35764cd36fb7f22c428e577867c658fc49c455b78181bb8bf2a9ba21a97"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-link.MarkdownLink (cognitive 18): markdown-link.MarkdownLink has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/markdown-link.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dc985b3f2205508b8f5572bc939069e3350c076ca3c0053ab874e387875a59"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-config-section.snapshotLabels (cognitive 18): agent-config-section.snapshotLabels has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d45834c8f564beb1bd556e8aca0e9a0da3965634de377bc7c2880965e055a"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-invocations.useComposerInvocations.onKeyDown (cognitive 18): composer-invocations.useComposerInvocations.onKeyDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfe18d37cb2681d39d3438f33ae3a6511ced8a5fc03891430b20767ec000006"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-bridge-view.BrowserBridgeView (cognitive 18): browser-bridge-view.BrowserBridgeView has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 3, if/else 3, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-bridge-view.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8bb9f66d0424dbec819fe7593d777fff3af09d8154613df31647e171e7ef0a"}},{"ruleId":"D2","level":"warning","message":{"text":"file-node.FileNode (cognitive 18): file-node.FileNode has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 5. Of this number, 10 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/file-node.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0b882333434e2b0a1f7bb10baa73624a9f403847432822f43d347eda110c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"session-settings-picker.SessionSettingsPicker (cognitive 18): session-settings-picker.SessionSettingsPicker has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 4, if/else 3 (nesting depth added 3). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 188, 92, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/session-settings-picker.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79dfdab5152380e8f364fbdd38d067304a48102f6a8527ad4aef4d74a701fc5"}},{"ruleId":"D2","level":"warning","message":{"text":"group-split-handle.GroupSplitHandle (cognitive 18): group-split-handle.GroupSplitHandle has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 6, boolean chains 1 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 9 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":"src/components/conversations/group-split-handle.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5f910ed49294f114d29592bad610a2d82fc177f710b9fbd808d5ddaaa50056"}},{"ruleId":"D2","level":"warning","message":{"text":"diff-viewer.DiffViewer (cognitive 18): diff-viewer.DiffViewer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 80, 193, 134, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/diff-viewer.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459f47b04e4e4ed42af932c91a557d8c4e157f8c998d27e136567b65532f223"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-auto-settings.ForgeAutoActivity (cognitive 18): forge-auto-settings.ForgeAutoActivity has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 4, error handling 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4809aacd45c767522d02543ded126d96a3a4958a63c7440a218baeb902994728"}},{"ruleId":"D2","level":"warning","message":{"text":"forge-issue-detail-sheet.WorkflowApprovalStrip (cognitive 18): forge-issue-detail-sheet.WorkflowApprovalStrip has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63cd8af80cd22d4e195d1de7209e724a874323c005b2311bceb373243655c10"}},{"ruleId":"D2","level":"warning","message":{"text":"i18n-provider.AppI18nProvider (cognitive 18): i18n-provider.AppI18nProvider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, ternaries 4, boolean chains 2, error handling 1. Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 137, 218, 121, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/i18n-provider.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"771d4c0e833f4e8b9475ed071725e9015f0accb5b7056f7b61b57206af933040"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-folder-dialog.LinkRow (cognitive 18): workspace-folder-dialog.LinkRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 3 (6 pts), boolean chains 4 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"842927139164bb878b6e7337852fe0fe861d9f2f394b92620e70213253b6121d"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-section-order-control.SidebarSectionOrderControl (cognitive 18): sidebar-section-order-control.SidebarSectionOrderControl has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 107, label, 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":"src/components/layout/sidebar-section-order-control.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a34e5d0285a6301e1dce40b79c26fa1f89801665838539483e6e52f83fdf383"}},{"ruleId":"D2","level":"warning","message":{"text":"conflict-parser.parseConflictMarkers (cognitive 18): conflict-parser.parseConflictMarkers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 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":"src/components/merge/conflict-parser.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d94b153db84920695ea0ee99fb027b8006e6b1e04ca155453221a02d07b3b28"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-row.ActivityMembers (cognitive 18): activity-row.ActivityMembers has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 3. Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e6d866d327bad1c9106eaf33297a71fb93e8c1c4c0718797c20da2812564eb"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-code-config-panel.validateKimiDraft (cognitive 18): kimi-code-config-panel.validateKimiDraft has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e42d84ad8466372468b69eb9c4a2f511eb9fe68fd1400e3690dc0e1582841"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.patchEnvText (cognitive 18): acp-agent-settings.patchEnvText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (5 pts), loops 3 (5 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"69654704e3b4b92451155f44d3150170b49e0d9d94b99c3f39f14f0157c18e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"pet-importer.PetImporter (cognitive 18): pet-importer.PetImporter has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 6, boolean chains 2, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (toggle, toggleAll, handleImport, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-importer.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e20f445693ede339b894a085d16b13e68182c7cfcccd2f8041c30319573b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"required-agent-options.useRequiredOptionsGate (cognitive 18): required-agent-options.useRequiredOptionsGate has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab745f9e862d7400d9b02772cc0ca8d48907612971a8b727573f3ee26dab173"}},{"ruleId":"D2","level":"warning","message":{"text":"custom-agent-skills-toggle.CustomAgentSkillsToggle (cognitive 18): custom-agent-skills-toggle.CustomAgentSkillsToggle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (nesting depth added 3). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 80, 100, 56). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-agent-skills-toggle.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"65727bb74cd988db4ed29ad75d1b283862f61d282ba4d65845cf4bcebaa49125"}},{"ruleId":"D2","level":"warning","message":{"text":"model-provider-settings.ModelProviderSettings (cognitive 18): model-provider-settings.ModelProviderSettings has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6 (7 pts), error handling 2 (nesting depth added 5). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 69, 49, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11c63c09ba031fff6aa11efb1a8e1b7c37a40bb816a62b4f9c075df34cfcb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"science-settings.ScienceBody (cognitive 18): science-settings.ScienceBody has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 4 (5 pts), boolean chains 3, match/switch 2, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 145, 56, 71, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/science-settings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafc5f12779f5f06ea2f446eab9be8755f2c02f82548e408d8caa9f9be6e03c8"}},{"ruleId":"D2","level":"warning","message":{"text":"task-message-composer.TaskMessageComposer (cognitive 18): task-message-composer.TaskMessageComposer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 211, 200, 261, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-message-composer.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e08a8fa7f7d85d3f0ce349e2180d10613f9898db2573a7dc7f1e1ea2f01bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"task-schedule-dialog.TaskScheduleDialog (cognitive 18): task-schedule-dialog.TaskScheduleDialog has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 5, if/else 4, error handling 1 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-schedule-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de954566d1caa5b3cd3c09fbc96c706d0eec39541a8bb0961f6492c7b073f3"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-connections-context.mergePermissionToolCallWithLiveInfo (cognitive 18): acp-connections-context.mergePermissionToolCallWithLiveInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, 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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d3e74e541de201aea81a6cb2af3e3f2369a54e63946eff70643a664112351"}},{"ruleId":"D2","level":"warning","message":{"text":"command.commandOutputFromJsonString (cognitive 18): command.commandOutputFromJsonString has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 2, error handling 1, 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":"src/lib/activity/command.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51b8334b0332c38841cb6e469f1b1969cf26c59c4bf3797054dc69be4c8cf46"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback-check.parseFeedbackCheckOutcome (cognitive 18): feedback-check.parseFeedbackCheckOutcome has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/feedback-check.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2bba7ea0b155eb8da76583c4d141a4d18060c3695dca513db6b234fab77ff"}},{"ruleId":"D2","level":"warning","message":{"text":"mention-panel-prefs.parseMentionPanelPrefs (cognitive 18): mention-panel-prefs.parseMentionPanelPrefs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/mention-panel-prefs.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c500bad4bd35d4f761bc1a680ca23ed06d2dbb0181087f7cd8ffbef94467dfd0"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.findStringFieldDeep (cognitive 18): session-files.findStringFieldDeep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b48c42ae4f6d1931707a0bf3aa17b50a91811da5dc3f88c06ae7eafa8895d99"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.parseApplyPatchSections (cognitive 18): session-files.parseApplyPatchSections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff90cb1167a4845245fe71c478f7bc9164ad26ca0ed065ad9a1452750c6f0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"text-token-at.trimWrappers (cognitive 18): text-token-at.trimWrappers has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (10 pts), boolean chains 4, if/else 1 (4 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/text-token-at.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23db5e9844de61750af0c545b52c04637672d93ac2787fdaefba5909750158b"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.mainProseContinuations (cognitive 18): conversation-runtime-store.mainProseContinuations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9162ba437769f7179357185f4a5b8e0f42a755035d488e98d5a7bd56424549c"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.sameBuiltValue (cognitive 18): conversation-runtime-store.sameBuiltValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e62fca0d59ed69fea43649546402e22d31670ec55e98f435a9f7b91eef9e77"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.collectInFlightPersistedToolCalls (cognitive 18): conversation-runtime-store.collectInFlightPersistedToolCalls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3856}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb00cb9bbd96d3226d520702beb121ca374b4c397c42c4170be86503bc80a0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"anchorFrom (cognitive 18): anchorFrom has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (6 pts), error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"48376d0d43b0d270c847d894b23ddf7f3201b9ab9e258982d10875b88f77c316"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegationBroker::get_tasks_status (cognitive 17): DelegationBroker::get_tasks_status has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 7). 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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c1c1434a23272b1f77b475a873a78492554a842d59c9da1615304268368fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder::push (cognitive 17): Builder::push has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, 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":"src-tauri/src/commands/workspace_file_search.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7bafc8499ab99df005c4951c6b1d8b921d0c78b1e8c8a6b89cba7bf4d250b6"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetTable::sweep (cognitive 17): TargetTable::sweep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4b6077dba9a38ebd22d47e196fbb11bf92d2a084aee8a66f5c10303670e78d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClineParser::legacy_conversation (cognitive 17): ClineParser::legacy_conversation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a9f238970b27d2282a71abc9b8acef907cd2f78d203f2a31c51df995254935"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseItemPromotion::note_record (cognitive 17): ResponseItemPromotion::note_record has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, loops 1 (2 pts), 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":6697}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dba5fbc8d8c331223c38f2ec76ed9c96dbaeb4c2a6015a3cc9a5955466c2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiParser::extract_text (cognitive 17): GeminiParser::extract_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 7). 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":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"204183fef84fab73d961ea777ac4b82960fefc900208bcbad7075d6f9a25d77a"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesParser::load_sqlite_messages (cognitive 17): HermesParser::load_sqlite_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), match/switch 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc59748ec27d117f375955356a21a1a5cb337721d1a045f2a5f29c7c436530bf"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalManager::spawn_with_id (cognitive 17): TerminalManager::spawn_with_id has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"474a25b39056519f353c43ddc7962a60371fe53be0481bc9d166f41d17126a66"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskEngine::push_into_pull (cognitive 17): TaskEngine::push_into_pull has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":5352}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1fce4d0c85887396579068a8fff06d707558b5163008ca6ffc421ac18b9223"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::binary_cache::migrate_root (cognitive 17): codeg::acp::binary_cache::migrate_root has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), 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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9227757e29ae963a3152ddf2e641253c698da984b76f3f042396422a14d822"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_catalog_commit::finish_without_source (cognitive 17): codeg::acp::codex_catalog_commit::finish_without_source has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5577a8180f9035e3dc84571b253d53da73a36b839e5b1fba5f8506f7ea9c73e2"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::spawn_agent_connection (cognitive 17): codeg::acp::connection::spawn_agent_connection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda64699ab4b30090ccdc2967cb49f273df5faaadcf383990c56bfae8a1f110a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::pi_model_glob_matches (cognitive 17): codeg::acp::connection::pi_model_glob_matches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":4226}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fbdb04febda76fb3dd6947c8e5166efd26d8443fcc94524fe922cd5f846fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::companion_features_arg (cognitive 17): codeg::acp::connection::companion_features_arg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8182}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d1b898ad5b3a6cfaf9e6b0632bdb41e05a38aa9ca4b10c6c2f7ba3e6ef461e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::file_system_runtime::resolve_root_slot (cognitive 17): codeg::acp::file_system_runtime::resolve_root_slot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f641543c681e93d0d5ebcd4e09ff50af58aed1060173a4f13e18d9b4a65fa"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::code_mode_tools_call_open (cognitive 17): codeg::acp::lifecycle::code_mode_tools_call_open 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d54059691cca244967bbeed25063bb4a0c9faf9c053fc4baafd17823d1aa00"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::one_shot::run (cognitive 17): codeg::acp::one_shot::run has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). 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":"src-tauri/src/acp/one_shot.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06be09469d5dfefa4ed43b2fd82e2c2abc506721b9076e7257698f96d8d50a4"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::temp_reclaim::is_idle (cognitive 17): codeg::acp::temp_reclaim::is_idle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (probe_dir). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/temp_reclaim.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a4e4e93e163a3614d77c1f298d27ba2b1ca2bee66dd3277c9bfc2a6858714b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::zcode::js_entry (cognitive 17): codeg::acp::zcode::js_entry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/zcode.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4df9255a3a32953a3154ff605251b29bd15e8c93af9139db7fd986f8f17038f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp_transcript::run_writer (cognitive 17): codeg::acp_transcript::run_writer has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 2 (5 pts), loops 3 (4 pts) (nesting depth added 9). 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":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35b0ebe5525eba906aeb00ffa397162823351ea9e82f4b2415b7957e1cd5e9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::bin::codeg_server::main (cognitive 17): codeg::bin::codeg_server::main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 2, loops 1 (2 pts), match/switch 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafc6557fefcad4be05d8e477aead6ac89d8194f3a9602bc062994c3a4c60d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::policy::parse_pattern (cognitive 17): codeg::browser::policy::parse_pattern has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f1988360a1ce4696ff767abb703d5fdc9a0390966db50c04129b0ece88ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::surface_child::document_protocol (cognitive 17): codeg::browser::surface_child::document_protocol has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d191dc17679ad1bc4ac8d0d1f278977b81296470492b43caffec1b4a8e18f31"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::system_probed_version_with (cognitive 17): codeg::commands::acp::system_probed_version_with has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (17 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"706a06fc7bc997f1f10ab6962b62b7ddaa3e582f51e3740fa5288eefc15dbfbc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::patch_env_text (cognitive 17): codeg::commands::acp::patch_env_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8327}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d2ef91c6381e40d6e1be5c846c62cebadd9581f48d2959c2d128684e3a07b3"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_update_agent_env_core (cognitive 17): codeg::commands::acp::acp_update_agent_env_core has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13258}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a2e0a28de71c17a7b262ba649e56c256a0063b6a577f725cbed646137e925e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::acp_list_agent_skills (cognitive 17): codeg::commands::acp::acp_list_agent_skills has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (6 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15020}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca01deec1e96a66d08bfa7b9c12498cfbf98a6cf2112ee2e49f4307080ed47"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::backup::archive::extract_all (cognitive 17): codeg::commands::backup::archive::extract_all has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"src-tauri/src/commands/backup/archive.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31395e7a002563d6e246873fe9ea67ef40e265964f37dd1f515107a01e216cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::conversations::get_folder_conversation_with_live_core (cognitive 17): codeg::commands::conversations::get_folder_conversation_with_live_core has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 2 (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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf68c0bd929b2b932c9be04ea6c7c5004268ec7da66b1f25812fc24ecfecdc9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::estimate_push_commit_count (cognitive 17): codeg::commands::folders::estimate_push_commit_count has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3, 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b886d9b36843ff09b98ef820182b4fa86cf28f86dc1dad31676ceeef6f5404"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cline::parse_user_message_parts (cognitive 17): codeg::parsers::cline::parse_user_message_parts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd54c7684ab998b22730214895ed80965cf89a5cd33c0c52ac1c0b8e8c87f602"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::callback_parameter (cognitive 17): codeg::parsers::codex_code_mode::callback_parameter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 2 (5 pts), boolean chains 3, 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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b0b7b77b7f598f7238ab23d9715308e778142ed47b1cff68db1796fb1d3485"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kimi_code::parse_kimi_subagent_tool_calls (cognitive 17): codeg::parsers::kimi_code::parse_kimi_subagent_tool_calls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538df2c558185b3a85f8264bd0daf6578abfab3310d0b82751e649e59986d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::openclaw::extract_user_content (cognitive 17): codeg::parsers::openclaw::extract_user_content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 1 (2 pts), match/switch 2 (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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10cacc5a7db3c2e9fde627667e4b7701f3ea9c173b0711d838a8c317115d368"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::openclaw::group_into_turns (cognitive 17): codeg::parsers::openclaw::group_into_turns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f13aa6680e914f406b0ba2200ea771f100ba887cba08f06933c87625e69244"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::opencode::v2_user_blocks (cognitive 17): codeg::parsers::opencode::v2_user_blocks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (7 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ddc4ff9581f99f452c605a943fd5613884b6825b5b49069ebef89c928aafb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::browser_bridge::open (cognitive 17): codeg::web::browser_bridge::open has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 2 (4 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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4d74e61fd90ae9fe67c6240247341e83c5ed8a58c20d4ae566bf04564d1cee"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::event_bridge::emit_with_state_built (cognitive 17): codeg::web::event_bridge::emit_with_state_built has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 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":"src-tauri/src/web/event_bridge.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196e0afaa90d358837bf2ffb98336b24e08789d3a4d8c840886fa65306a8c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::handlers::files::stream_and_finalize (cognitive 17): codeg::web::handlers::files::stream_and_finalize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"367482c5993820252e3e0fa0d48fa096cc52f32d114959bd88fbbc5016c7a666"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::web::handlers::office_watch_proxy::proxy_inner (cognitive 17): codeg::web::handlers::office_watch_proxy::proxy_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/office_watch_proxy.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"427cbca26d5bc298483cbea7f17f36c9092c4da5259317b66788e910222444c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataExtractor.extract_from_doi (cognitive 17): MetadataExtractor.extract_from_doi has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 4, if/else 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4b5f89fc40276f73ffb54b96df68aca61a500e04d40e31f66dc678cc8c13e0"}},{"ruleId":"D2","level":"warning","message":{"text":"PubMedSearcher.fetch_metadata (cognitive 17): PubMedSearcher.fetch_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_pubmed.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a717b781df78d382dad491d99d961358d59f54800447d77430fb4c34fffaaa"}},{"ruleId":"D2","level":"warning","message":{"text":"CitationValidator.detect_duplicates (cognitive 17): CitationValidator.detect_duplicates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/validate_citations.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf7dc20bce1d66a3d06deec70eac0ca7953918d2a0f684e1cc972bd546bf04"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_evidence_ledger.audit (cognitive 17): audit_evidence_ledger.audit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/audit_evidence_ledger.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedd5a423bd455a0de1ff62108e3b12f70b833c5de441f481053d32c19f12318"}},{"ruleId":"D2","level":"warning","message":{"text":"arxiv_atom.main (cognitive 17): arxiv_atom.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 2, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/arxiv_atom.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ba2f310f0d284ff90712a62eb50f8e4612cf354283584a4d50f882d836451"}},{"ruleId":"D2","level":"warning","message":{"text":"openalex_abstract.reconstruct (cognitive 17): openalex_abstract.reconstruct has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/openalex_abstract.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1990ee4ea12e2935d303c52bee1c53cadf09ef77723a8ec5936992ed2e6bf20"}},{"ruleId":"D2","level":"warning","message":{"text":"figure_export.save_for_journal (cognitive 17): figure_export.save_for_journal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044c6b0593704948d1b47cc8a4b184e855438b4fe47dbe2d255e30b07615cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"assumption_checks.check_regression_diagnostics (cognitive 17): assumption_checks.check_regression_diagnostics has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/statistical-analysis/scripts/assumption_checks.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b557eb48197dc445b050263dd8d821433b84257af7eb095e6b467826d9696e"}},{"ruleId":"D2","level":"warning","message":{"text":"act.isParkedOutsideTheDocument (cognitive 17): act.isParkedOutsideTheDocument has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacc53c0333faabb551a7ed2dcf12e79301dd602f41ae1aa6f31d7287b5ea891"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-cjk-autolink-tail.isTrail (cognitive 17): remark-cjk-autolink-tail.isTrail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-cjk-autolink-tail.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8220371e8835f33af676b0dd6c89fc5a2c816a83b083af5fa877116d2839f9ab"}},{"ruleId":"D2","level":"warning","message":{"text":"automations-page.AutomationListItem (cognitive 17): automations-page.AutomationListItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 3 (nesting depth added 4). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d6004b9408091a526f08838d25cdc807393dbbb7dfd9e7370044f2a171c0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"use-composer-attachments.useComposerAttachments.uploadAndAppendFiles (cognitive 17): use-composer-attachments.useComposerAttachments.uploadAndAppendFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). 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 468). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f59db1134e317d94edb6d1292cb6718eaafd4bcf511b8580849a0c48cb9599"}},{"ruleId":"D2","level":"warning","message":{"text":"web-connection-guard.WebConnectionGuard (cognitive 17): web-connection-guard.WebConnectionGuard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4, boolean chains 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/connection/web-connection-guard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ad05910a7e7790e16bffd05ea1fe7ab03549a7fc2c941e0a47e866cf031cad"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-detail-panel.ConversationDetailPanel::renderTabWrapper (cognitive 17): conversation-detail-panel.ConversationDetailPanel::renderTabWrapper has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (8 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"187436e8056b02536308343cf2c4ad0218b1665246afbbb8bc0776621d39f5df"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-grouping.buildRows::pushFolderEntry (cognitive 17): sidebar-conversation-grouping.buildRows::pushFolderEntry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, 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. This shape REPEATS in the file: one other method here (sidebar-conversation-grouping.buildRows::pushFolders) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"944efe42148ef2150734ea0b0b3187b7aaa4a82d096c7c0171f594f972aaaaa5"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar-conversation-grouping.buildRows::pushFolders (cognitive 17): sidebar-conversation-grouping.buildRows::pushFolders has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (3 pts), boolean chains 2, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (sidebar-conversation-grouping.buildRows::pushFolderEntry) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"db87c37eddbc2d2943f01a06a3229ca76a42779d2bbbc6f0cdc97977fd009895"}},{"ruleId":"D2","level":"warning","message":{"text":"branch-selector-list.BranchSelectorList (cognitive 17): branch-selector-list.BranchSelectorList has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 21 (34 pts), if/else 22 (26 pts), boolean chains 21, match/switch 4 (5 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (branch-selector-list.BranchSelectorList::renderRow) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2896c3551b874b0d1aefa28362fdf272570b81a2bb334ea46ea63e3b83143775"}},{"ruleId":"D2","level":"warning","message":{"text":"commit-dialog.buildFileTree (cognitive 17): commit-dialog.buildFileTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"227423823492e6b1195fb2354f5663f35b5f9986257866d22d0abe44b778d94b"}},{"ruleId":"D2","level":"warning","message":{"text":"commit-untracked-files-dialog.CommitUntrackedFilesDialog (cognitive 17): commit-untracked-files-dialog.CommitUntrackedFilesDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 5 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-untracked-files-dialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb841757faf53364e4eaaa099190dc4ac36fceb815493ce89079de2b07ea29b"}},{"ruleId":"D2","level":"warning","message":{"text":"unstash-dialog.buildFileTree (cognitive 17): unstash-dialog.buildFileTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb9d66e23c0e0a8727eeb7b0e184cb67dba3698c3b7438aaa85647b98502312"}},{"ruleId":"D2","level":"warning","message":{"text":"use-agent-call-model.parseTaskOutcomeEnvelope (cognitive 17): use-agent-call-model.parseTaskOutcomeEnvelope has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b63e08d21a3003405c65f603875e18e6cebc98d71450073e38e5b1ea810f31"}},{"ruleId":"D2","level":"warning","message":{"text":"plan-mode-card.usePlanModeMarker (cognitive 17): plan-mode-card.usePlanModeMarker has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/plan-mode-card.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f81edcee7f55e9e70ce484e6d68c6874e9e871c01eea8b8a319d56f317f1d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"add-forge-account-dialog.AddForgeAccountDialog (cognitive 17): add-forge-account-dialog.AddForgeAccountDialog has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (7 pts), boolean chains 5, if/else 3, error handling 2 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1052218e84ca7e52559150ea3d75ef0a66ba931721d8c6b3b4c534a97aafd7c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-diagnostics-dialog.AgentDiagnosticsDialog (cognitive 17): agent-diagnostics-dialog.AgentDiagnosticsDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 3 (5 pts), if/else 4, error handling 1 (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 4 function items inside it that branch (a function literal at line 118, verdictLabel, a function literal at line 131, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-diagnostics-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d5288ae7454a796a7994276be5f43afa916b87dd1ca12d1e6beb79a8d7840f"}},{"ruleId":"D2","level":"warning","message":{"text":"settings-section.SettingsSection (cognitive 17): settings-section.SettingsSection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 2, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/settings-section.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c7bcb08e7134078eaec64cc8eb20c07d2d1d595e7099a2196f048a83cbb99c"}},{"ruleId":"D2","level":"warning","message":{"text":"task-restart-dialog.TaskRestartDialog (cognitive 17): task-restart-dialog.TaskRestartDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5 (6 pts), boolean chains 1, error handling 1 (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 2 function items inside it that branch (submit, a function literal at line 76). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-restart-dialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b8d8e549e7597c87a5ffc778b953c2f4492bcf178037374ab52f2186cf8235"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-context.DelegationProvider (cognitive 17): delegation-context.DelegationProvider has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4, ternaries 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 17 points belong to 7 function literals inside it that branch (lines 295, 306, 285, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/delegation-context.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8f9f4f2a43bccc2061934de6052ade4de01825d81cc6d42e2788fc2b0f12da"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks-view-context.notifyFlips (cognitive 17): tasks-view-context.notifyFlips has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/tasks-view-context.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a3872ce3b588c355b15eade61b7a66e15112fb32500bbeb2be2c3c70e079af"}},{"ruleId":"D2","level":"warning","message":{"text":"command.extractCommandFromUnknownInput (cognitive 17): command.extractCommandFromUnknownInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"095772602206d987bc29c67dac7264e340ee613f564788e9cad8e0aa0aad0c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"command.commandFromUnknownValue (cognitive 17): command.commandFromUnknownValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96c3ab5db758f343d8f2f98d88eb5d8632ee7dff9a09346b4c61916eee82fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.extractApplyPatchTextFromUnknownInput (cognitive 17): edit.extractApplyPatchTextFromUnknownInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf2d680aa18d040a8c70a7d312306224f7b3f646b55df1175299ffc2d026dee"}},{"ruleId":"D2","level":"warning","message":{"text":"exit-meaning.decidingCommand (cognitive 17): exit-meaning.decidingCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 4, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccdfb798dfdbedfe949c902a7fd8d41b3d3b70976179418f7443f69aef6d443"}},{"ruleId":"D2","level":"warning","message":{"text":"code-mode.codeModeCalls (cognitive 17): code-mode.codeModeCalls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/code-mode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7ba52cf54099e425e41ff484d2b8127a81a2dd50fbb4e0135b2145f7c325fa"}},{"ruleId":"D2","level":"warning","message":{"text":"describe-tool-call.toolStepKind (cognitive 17): describe-tool-call.toolStepKind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, ternaries 3 (6 pts), 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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6005034496cfe395e4e6949d1f1317814a52910c6e3a04278b673e8c170b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"build-activity.linkLaterDelegationPolls (cognitive 17): build-activity.linkLaterDelegationPolls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 5). None of this is in the body itself: all 17 points belong to 2 function items inside it that branch (a function literal at line 215, tasksIn). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c979a895187256d050ace2cce8a749b7952202bce7285b70a292915fa54975e"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-elements-adapter.markdownCodeSpans (cognitive 17): ai-elements-adapter.markdownCodeSpans has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf63125e49791be84a006685c13b412c2977e894f72634fee762d63de7731bde"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-agent-grant.applyDefaultAgentGrant (cognitive 17): browser-agent-grant.applyDefaultAgentGrant has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-agent-grant.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb948d0784ce900a467f62092ccdb964da3a45e2a1caffdd22c7b1eee0b4db3"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-view-storage.parseDraft (cognitive 17): canvas-view-storage.parseDraft has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/canvas-view-storage.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b6e3139a10773e105dccbea44616d9d9448ae98fc80fc73accc949fc2ef9ca"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-status.findTaskIds (cognitive 17): delegation-status.findTaskIds has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7b054596367e9f7d13dd07cad464848f234f5d14abd816413764b5aa10b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"keyboard-shortcuts.normalizeSettings (cognitive 17): keyboard-shortcuts.normalizeSettings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 2 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3f071b57efd51c2f22c927c7b097868eba31dc2400751cd2457926582a3bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-mcp-oauth.updateKimiMcpOAuth (cognitive 17): kimi-mcp-oauth.updateKimiMcpOAuth has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-mcp-oauth.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"820a29922367ddcc3ec91d1db3b2014b2d214e1de8aa03bf2582b01fb88e4927"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-group-layout.computeRects (cognitive 17): tab-group-layout.computeRects has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 2, boolean chains 1 (nesting depth added 5). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (a function literal at line 371, walk, a function literal at line 366). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"05821dfb47fe46b3d4c34e62618aa759eab8650642ad90c15da4fe93b6550cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"window-attention.requestWindowAttention (cognitive 17): window-attention.requestWindowAttention has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 4, error handling 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/window-attention.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"127dbd9ff8341e45fde458b4179e3f90eea46609ebdc33c8f2710853c38b6b69"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-store.useCanvasStore (cognitive 17): canvas-store.useCanvasStore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, loops 1 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 7 function literals inside it that branch (lines 199, 234, 249, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/canvas-store.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60f3d31116508d05f317fdb473b00b42872981817cd41ff4b8e01a76eae09c4"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.keepUnchangedStreamingTurns (cognitive 17): conversation-runtime-store.keepUnchangedStreamingTurns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 9). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"902bcd23d87e17bb5efb6ef2ce2d918beb0c90a38915132ac8cd4e74fcf8ad1f"}},{"ruleId":"D2","level":"warning","message":{"text":"folder-tabs-store.useFolderTabsStore (cognitive 17): folder-tabs-store.useFolderTabsStore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, ternaries 5 (6 pts), boolean chains 2, error handling 2, loops 1 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 7 function literals inside it that branch (lines 106, 90, 119, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/folder-tabs-store.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb672ffd986bb161bc4fa9b3939241d80ee181e958eff9cec65da22d97aec459"}},{"ruleId":"D2","level":"warning","message":{"text":"formatArgs (cognitive 17): formatArgs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 363). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a422ee4216196dea5130cf60c04ec69ded080de81409c4ae0c8aecfc966611"}},{"ruleId":"D2","level":"warning","message":{"text":"Standalone::until_ready (cognitive 16): Standalone::until_ready has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/standalone.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd960d19d8199f434b25d1415031f16217e54c4b8a103d98b2152785f5bd6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService::search (cognitive 16): IndexService::search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae21a266e122da01980777b8d18400e6818fa9905407cb0bd375aae314bc355a"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiParser::parse_user_blocks (cognitive 16): GeminiParser::parse_user_blocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), 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":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d72b5bd8fe0ad9f3745ee908050d83394b23c5a6c0fc69ca2022301b7d632c9"}},{"ruleId":"D2","level":"warning","message":{"text":"JTree::parse (cognitive 16): JTree::parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"60357ff06a76cfb34d4f9d571fc6f28eb8e4903a43b3f98d13efa34981190242"}},{"ruleId":"D2","level":"warning","message":{"text":"JTree::conversation_branches (cognitive 16): JTree::conversation_branches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9875a578df7e5032bebd1202e5faf06d4f9e50b25a11bb373780fa6153c49894"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::background_watch::baseline_offset_since (cognitive 16): codeg::acp::background_watch::baseline_offset_since 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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2654f238a8d6bbe60fc0e8139e25699d7f26dcfe04baa496b974448f2ff556"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::codex_endpoint_catalog::sweep_cache (cognitive 16): codeg::acp::codex_endpoint_catalog::sweep_cache has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"335f81f07cc5773afaeec32ddae283c584e2983732d94d9745e7ab1b27ba0466"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::merge_antigravity_settings (cognitive 16): codeg::acp::connection::merge_antigravity_settings has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (7 pts), boolean chains 4, if/else 2 (3 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a770cad74fb43f8263d82236fa715f01f2d74e7aba06e5c6d1acadca7d14c8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::connection::track_terminal_tool_calls (cognitive 16): codeg::acp::connection::track_terminal_tool_calls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12926}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f16b0ff3f3f52cd90070886ba741bf725b7eee5fdb88af25bf0a1d5a0f1ffa1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::delegation::companion::dispatch_line (cognitive 16): codeg::acp::delegation::companion::dispatch_line has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd80a51f11b0e6b66291b81354cf3364e6d551e1e5e7605a42905b790c77bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::skip_js_template (cognitive 16): codeg::acp::lifecycle::skip_js_template has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), match/switch 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24f73306c292146d87d85ebcd5f01386d366ceddeaad6ba355b18bd90f6e009"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::acp::lifecycle::connection_worker_loop (cognitive 16): codeg::acp::lifecycle::connection_worker_loop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a56c227f8d52bb0ce88d197de2d4feed089ec58926665078adaa91ada52e08"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::handoff::render_element (cognitive 16): codeg::browser::handoff::render_element has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, match/switch 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":"src-tauri/src/browser/handoff.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"774f3125fbd9c834c1cb67ccb1705d66b937f1bcc0f87c3cbbc7777183359a83"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::browser::hooks::page_load (cognitive 16): codeg::browser::hooks::page_load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), 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":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3698991c4f396c016211fbd1c369c5073861e3f057ca41cbd65200ce32e165"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::cli_run::output_schema::json_in_reply (cognitive 16): codeg::cli_run::output_schema::json_in_reply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (3 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":"src-tauri/src/cli_run/output_schema.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305995d5e06ce32f1085d6031865d165e4e4ff6792ddfec89c9167b49e8013f"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::install_npm_to_user_prefix_streaming (cognitive 16): codeg::commands::acp::install_npm_to_user_prefix_streaming has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"730d92d8b27d6d4274e38ed79b574ceff6f8ec46286ad077644973269e735673"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::acp::list_skills_from_dir (cognitive 16): codeg::commands::acp::list_skills_from_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0295558c13413663c63d105a91430d44ad19c7a1fdacdda39ae17bb64a8a48e1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::browser::capture_shared_page (cognitive 16): codeg::commands::browser::capture_shared_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119e93b01bae6355d57953f6f9e5379897147ed74e22ac6e47f4c21b07d18c0"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::browser::wait_for_settled_tab (cognitive 16): codeg::commands::browser::wait_for_settled_tab has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc8bc7ef9d23df27d7232596ceab7edf9b1e6b328c6b8aa2ea80d22688be267"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::commands::folders::visit_workspace_main_pass (cognitive 16): codeg::commands::folders::visit_workspace_main_pass has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd48503dbfa727a4b15822abedff357e1ddd800deb812bc2673fa7d91fb1e12"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::db::service::conversation_tag_service::update_conversation_tags (cognitive 16): codeg::db::service::conversation_tag_service::update_conversation_tags has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (2 pts), match/switch 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_tag_service.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b86a76051945b17a277b5f278f3da12c97c72f5b76cd70a3e636f51599241"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::forge::github::change_detail (cognitive 16): codeg::forge::github::change_detail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d644c4e2c50b2c0f48dbc4531c1535a9a9c4bfb82820bfe0019c902f91b94993"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::office_watch::start_within (cognitive 16): codeg::office_watch::start_within has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b5560ca384015dde347a2c8c5aaa2e88d3d537a4e0f539b2a40a5fbf8b07af"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::claude::extract_user_text (cognitive 16): codeg::parsers::claude::extract_user_text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts) (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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af864ce28d08284342fd894da9e7a7288e226f87aae42812c544635a608b176"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codebuddy::group_into_turns (cognitive 16): codeg::parsers::codebuddy::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"431ff0d4abdca1457988b85796d6a5a7b02a3d9708ce34d322dc7020273eb572"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex::group_into_turns (cognitive 16): codeg::parsers::codex::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a250d94e75a69c3cadc8b51a10c68b58f4e01e6e89d72b646744379c073635cd"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::codex_code_mode::array_is_tool_calls (cognitive 16): codeg::parsers::codex_code_mode::array_is_tool_calls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3485c20db94de4d39b228ba20428cc6e8a8db1060c20ad74e638ccfed2f0abe7"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::cursor::decode_value_map (cognitive 16): codeg::parsers::cursor::decode_value_map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"9533dd5d2d7448847c74a56cff830103aaefd3188621d3f0bd136065ea168a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::grok::read_grok_ask_answers (cognitive 16): codeg::parsers::grok::read_grok_ask_answers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d57108e90e2f15f91ae93159a83741f2fb6d015ae8419a176244240f5259a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::hermes::group_into_turns (cognitive 16): codeg::parsers::hermes::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc90760f69ebdb37cf78821cb7211f0f69479281d1dfc8d35e502ea5bd2eb862"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::kimi_code::group_into_turns (cognitive 16): codeg::parsers::kimi_code::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a64a2a26ace20d93714038fb922dd928562dcb05625d659b2aac6248735f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::opencode::group_into_turns (cognitive 16): codeg::parsers::opencode::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"17495715b1b618e482fd274f09f401b87b4a106c9c212c45d4925ee3af1d05bb"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::pi::parse_message_record (cognitive 16): codeg::parsers::pi::parse_message_record has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"80090e9c9efc5f92bc4c35c7f8116c01ec0a41f60750722b84429697373020f3"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::pi::group_into_turns (cognitive 16): codeg::parsers::pi::group_into_turns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d67768726e1e0feb49c53bd1b9c607e50833f3199128a38f822283068fe8526"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::parsers::qoder::subagent_call_usage (cognitive 16): codeg::parsers::qoder::subagent_call_usage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d4d5072b8b7a0fa24cd20b08ff116b7d30e137f4c4feafb6d160b99bef8ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::pets::codex_import::import_codex_pets (cognitive 16): codeg::pets::codex_import::import_codex_pets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/codex_import.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8accb1899a2a7d6518b9bd3dc259ab4b2ca5678197a864d14a84a55bd0ed7b73"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::pets::marketplace::list (cognitive 16): codeg::pets::marketplace::list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5409059a2b03b32f5c4ce43de002c1b9f7b284f8df49066a57ef75b95cf4b9"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::process::collect_lines_lossy (cognitive 16): codeg::process::collect_lines_lossy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 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":"src-tauri/src/process.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8e250727fc9c5ed1a57ff224286594b3d55d80b42a5a95f90904a98e18b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"codeg::workspace_state::resolve_worktree_git_watch_dirs (cognitive 16): codeg::workspace_state::resolve_worktree_git_watch_dirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf126911a3008a117c8c896be06dffb7f5691ae9e6e2818879b3f13412c1960d"}},{"ruleId":"D2","level":"warning","message":{"text":"figure_export._atomic_savefig (cognitive 16): figure_export._atomic_savefig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 4 (5 pts), boolean chains 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":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da8ff125f350591fa9ef5a05206497947e94311ae625ea2983bba05714f5a50"}},{"ruleId":"D2","level":"warning","message":{"text":"power.mde (cognitive 16): power.mde has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/statistical-power/scripts/power.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a446cc2a464d3ca6c9eb1572fbe86ce877d15fb75735a5b934d89dff8a8da4"}},{"ruleId":"D2","level":"warning","message":{"text":"usePetSessions.usePetSessions (cognitive 16): usePetSessions.usePetSessions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 1. None of this is in the body itself: all 16 points belong to 9 function literals inside it that branch (lines 83, 64, 73, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetSessions.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d838c9e0a621df81b5f75650c1bf5e7f7886c6e0edb0709a048cd778fc140c"}},{"ruleId":"D2","level":"warning","message":{"text":"picker.owns (cognitive 16): picker.owns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, error handling 3 (4 pts), loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff894363a9c9f19313a3539bb8577f3cac8146e397a1ff29958aeeb7c81517d2"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-cjk-autolink-tail.autolinkEnd (cognitive 16): remark-cjk-autolink-tail.autolinkEnd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-cjk-autolink-tail.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73be66ad130a38a55f86e82e393ce14a98dc92469543998ef1bee16f1ffa84c"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-invocations.ComposerInvocationsPopup (cognitive 16): composer-invocations.ComposerInvocationsPopup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, ternaries 4. Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 365, 324, 322, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ece6ab4b709737e924f843c1ac25a69fdd87ce7c9343ff4131e8129ac3179"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-status-layer.noticeText (cognitive 16): browser-status-layer.noticeText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac143fd2a08dcb992703286d24fe18b7cb7f88071decabeaef7297b506fbe41c"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-context-bar.ConversationHeaderFolderPicker (cognitive 16): conversation-context-bar.ConversationHeaderFolderPicker has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 4, if/else 3, error handling 2. Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d3d51325db0941343dedb586af119370a6d30286c2406764267ab5e93f4284"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-project-trust-banner.PiProjectTrustBanner::decide (cognitive 16): pi-project-trust-banner.PiProjectTrustBanner::decide has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 5 (6 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (pi-project-trust-banner.PiProjectTrustBanner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/pi-project-trust-banner.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd31182a8a7fc85a2a7bc6bd2f7342fe4db877a8978638c84aa8968b1181b38b"}},{"ruleId":"D2","level":"warning","message":{"text":"quick-actions.QuickActions (cognitive 16): quick-actions.QuickActions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (5 pts), if/else 4 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 421, 463, 387, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"af07d7942dae10feafe7ad60b44068c6b323975b8183d4e3aa500d6a3fcfe3f0"}},{"ruleId":"D2","level":"warning","message":{"text":"selector-tooltip.SelectorTooltip (cognitive 16): selector-tooltip.SelectorTooltip has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 6, if/else 1 (nesting depth added 4). 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":"src/components/chat/selector-tooltip.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcb8c38c2c7d5071869d8f50b54dae52ca9cb4873a925081cbc33a2dc629d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-tag-form-dialog.TagFormBody (cognitive 16): conversation-tag-form-dialog.TagFormBody has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 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":"src/components/conversations/conversation-tag-form-dialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988005b112f6d683d876584955179c9eb5e52af044e7b63f1d77b8b15a38e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-tags-manager.ConversationTagsManagerDialog (cognitive 16): conversation-tags-manager.ConversationTagsManagerDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 5, boolean chains 4. Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tags-manager.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6219d21b047def5915de82184a34bf7abfc9c22e6d01b091fd89fd38689b6d94"}},{"ruleId":"D2","level":"warning","message":{"text":"compact-diff.CompactDiff (cognitive 16): compact-diff.CompactDiff has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 3, boolean chains 2 (nesting depth added 4). 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 358, 296, 300, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/compact-diff.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00c8a677fc40afbe5fa5cf2a457513db9dd93b144d5df31aff2b27442627439"}},{"ruleId":"D2","level":"warning","message":{"text":"pattern-list-input.PatternListInput (cognitive 16): pattern-list-input.PatternListInput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3, boolean chains 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (commit, a function literal at line 125, a function literal at line 104, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/pattern-list-input.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d35c869825b3d1d820708763f854217995c3cc6f0f593ce5b224207589002"}},{"ruleId":"D2","level":"warning","message":{"text":"command-rows.CommandGroupRow (cognitive 16): command-rows.CommandGroupRow has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts) (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8615240434e1a3afb0232469fa9a115731966f996cee3b63e0d52b564a3d73b0"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-row.EditDiff (cognitive 16): edit-row.EditDiff has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"286b94051cbeb80efef5806e29eaff14ab7ad39960c4417b288cad6a2ddd15cd"}},{"ruleId":"D2","level":"warning","message":{"text":"file-reference-actions.FileReferenceActionsMenu (cognitive 16): file-reference-actions.FileReferenceActionsMenu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, error handling 2, ternaries 2. Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 152, handleDownload, a function literal at line 123, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/file-reference-actions.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"31484d90ea9ef9b16cb85f4ed8c26f94363a8a466ff0c4c3c8333633c9f5edff"}},{"ruleId":"D2","level":"warning","message":{"text":"json-render-charts.barRadius (cognitive 16): json-render-charts.barRadius has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/json-render-charts.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb090e571382ba3fe48564a407c5ae456b144d41571064d2f727fb2d3d47462"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list-view.HistoricalMessageGroup (cognitive 16): message-list-view.HistoricalMessageGroup has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55ae94694ad125494cd7a25beeb47f67bff9f2e743ee7ff958d859385e54c16"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek-model-list-editor.validateDeepSeekModels (cognitive 16): deepseek-model-list-editor.validateDeepSeekModels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d2430354e0ab7c8e0bfc9a46ce0eb4dd3a672b15e8a87421e458d357bbb35a"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.extractImportantConfigValues (cognitive 16): acp-agent-settings.extractImportantConfigValues has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eac698ec20cdb389e5412918f255535306a697bc16db15d489b8b6974e44a9"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-agent-settings.patchCodexConfigTomlText (cognitive 16): acp-agent-settings.patchCodexConfigTomlText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b804d3d329d72399f0d1cc445fffce6db907d493a5aae29757e55332f480a620"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-catalog-source.CodexProviderListSummary (cognitive 16): codex-catalog-source.CodexProviderListSummary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037149b31af7ebb677a65cdadc4b938f21d1bb5084173cbbc64516d31c10717"}},{"ruleId":"D2","level":"warning","message":{"text":"computer-settings.BlocklistRow (cognitive 16): computer-settings.BlocklistRow has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. 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 items inside it that branch (add, a function literal at line 812, nameOf, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf7f0d03b55c49822bd76771296acb2611680d10185af884171660b6ea5d1f9"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-connect-dialog.OpenCodeCustomProviderDialog (cognitive 16): opencode-connect-dialog.OpenCodeCustomProviderDialog has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 3 (4 pts), error handling 1, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (handleSubmit, handleOpenChange, a function literal at line 542, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dff1006bbe518a92d4d20f6bd12ec7ed8dd92f1c9ff04f609583c31b9b2582"}},{"ruleId":"D2","level":"warning","message":{"text":"use-file-tree.useFileTree (cognitive 16): use-file-tree.useFileTree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 85, 64). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-file-tree.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a98206e53cbf967774e6762667b1c71047b6bbef35409bebd2fdead72e9af7"}},{"ruleId":"D2","level":"warning","message":{"text":"json.findStringFieldDeep (cognitive 16): json.findStringFieldDeep has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), 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":"src/lib/activity/json.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6cf2a74cfd0c1e71296e5900fabcc8a4ff5da7f9e2740cb16bc050d4693b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.changedLineRangeFromUnifiedDiff (cognitive 16): edit.changedLineRangeFromUnifiedDiff has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 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":"src/lib/activity/edit.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d117f83b068ec251429cde83038b4c056022c0e5e4944a01d1bf0c241978773"}},{"ruleId":"D2","level":"warning","message":{"text":"exit-meaning.readCommandExit (cognitive 16): exit-meaning.readCommandExit has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d9d0fe2f1b62eee3d8f1d61f6f6b4a48bca59e884d1e8df19bb3f82b30dae"}},{"ruleId":"D2","level":"warning","message":{"text":"build-activity.replyAnchor (cognitive 16): build-activity.replyAnchor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a3b5c32f428561c6640b6e93defd688076e9ceeda111e0574a2ca3df98f48"}},{"ruleId":"D2","level":"warning","message":{"text":"code-highlighter.startHighlight (cognitive 16): code-highlighter.startHighlight has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 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":"src/lib/code-highlighter.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde8dc3a15315cdadd5c8570acc25050e53bc0ca66c6c6850e79dde05c83d08"}},{"ruleId":"D2","level":"warning","message":{"text":"delegation-card.skipJsWsAndComments (cognitive 16): delegation-card.skipJsWsAndComments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e862d844cb1d975594d6e9d8d3de8a047965fcceb373e3aa34dc295a358bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"export-conversation.blocksToHtml (cognitive 16): export-conversation.blocksToHtml has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 7). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 236). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e29be030d4dfcbad6a246ba349f21a9ee12f53356e7e879f95d63768959cb59"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-local-image.resolveLocalImage (cognitive 16): markdown-local-image.resolveLocalImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/markdown-local-image.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c798b97f2fa936e07baca640cb9a4ac0edcf72dfc7dcb3abae9c67c6e309c"}},{"ruleId":"D2","level":"warning","message":{"text":"message-input-draft.sweepOrphanDraftKeys (cognitive 16): message-input-draft.sweepOrphanDraftKeys has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (5 pts), error handling 1 (nesting depth added 6). 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 (run). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/message-input-draft.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6685099bc2cf7a735ca249701be3eafff9a95fcc78087cf2ec303052fe766ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"model-label-store.normalize (cognitive 16): model-label-store.normalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/model-label-store.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1a2a62adda2b741358864a34cab43e744aa6289941d6ab01d5691e333d3e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"session-files.extractPatchTextFromInputPreview (cognitive 16): session-files.extractPatchTextFromInputPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e1a98622c56a1d50de620248a3e39722ef7dd1b747eff4c75a257a32a4b24f"}},{"ruleId":"D2","level":"warning","message":{"text":"update-check-storage.readLastCheck (cognitive 16): update-check-storage.readLastCheck has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 4, if/else 4, 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":"src/lib/update-check-storage.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed16de3f078427bf15a3191682aa3f350dc0a9bbb0de169021ec9962094c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-runtime-store.alignRoundStats (cognitive 16): conversation-runtime-store.alignRoundStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e203ac667f13a60a5e3c3072d8cc306964fd0eb824752f78d579923d3fa629"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-store.useFolderTabsStore.subscribe() (cognitive 16): tab-store.useFolderTabsStore.subscribe() has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d806dea632da0eb915b8b8922068389ac9bf7c1eee80def029f21623e16746"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: acp-connections-context.AcpConnectionsProvider: FunctionTooLong \u2014 AcpConnectionsProvider runs 2485 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2385 over it, 24.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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e89968c0df2f34ff46f7a0460f0116e5a272d1725c7a1ac9247b399457e1a57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/connection.rs: FileTooLong \u2014 12155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 449 free functions. The bar is 500 significant lines; this is 11655 over it, 24.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"458080145a29a15bfeb47cdadd2747f0209e0262498afd12e1959274dfa46080"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-context.WorkspaceProvider: FunctionTooLong \u2014 WorkspaceProvider runs 2036 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1936 over it, 20.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":"src/contexts/workspace-context.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f014480a3a011903e488db19fff5a01cd3e99e804bb4ee62fda7ebf8b88ebcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/acp-agent-settings.tsx: FileTooLong \u2014 10059 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9559 over it, 20.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e06c463091e3fcedfac3f780b3e3bec5863bce86ec64f3f2cd8a5989512ade"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aux-panel-file-tree-tab.FileTreeTab: FunctionTooLong \u2014 FileTreeTab runs 1864 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1764 over it, 18.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8f4076681ce5796f68068d861c519c3b5ad3e0b70c10fdc88ca98fb81569d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/acp.rs: FileTooLong \u2014 8757 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 434 free functions. The bar is 500 significant lines; this is 8257 over it, 17.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12681c7883da15276bfa59d6d7118f89738d3f72011e9530759e39e1e6e91441"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::web::router::build_router_with_proxy_auth: FunctionTooLong \u2014 codeg::web::router::build_router_with_proxy_auth runs 1626 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) in one body. The bar is 100 significant lines; this is 1526 over it, 16.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/router.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d2f3e7e2e99b95760b5b2132ed0da01c6c9e5c7b89a0e2c45a2835dcdded5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::tauri_app::run: FunctionTooLong \u2014 codeg::tauri_app::run runs 1294 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) in one body. The bar is 100 significant lines; this is 1194 over it, 12.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eb45d0044a948c0ed57c9eff5af6c2da45b630587d06b66c15550cc4a82e52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-settings.McpSettings: FunctionTooLong \u2014 McpSettings runs 1241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1141 over it, 12.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f17233f32808010ea564babea083c52f5bf4ff7ed61b6d1dd219ec2ae027fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::run_connection: FunctionTooLong \u2014 codeg::acp::connection::run_connection runs 1027 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) in one body. The bar is 100 significant lines; this is 927 over it, 10.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcabf315df44a7d9ed4ca0343ec292f9dd552875407cba4a7cd116e91dd7016"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commit-dialog.CommitWorkspace: FunctionTooLong \u2014 CommitWorkspace runs 977 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 877 over it, 9.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":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3bfe2f76a736287623037acb6afb220ee5cbe82d9a10d992e036785a8bde0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: acp-connections-context.connectionsReducer: FunctionTooLong \u2014 connectionsReducer runs 972 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 872 over it, 9.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b16286f04331529d2493164e13fa1cc0fcf41a2020ae11d3a3e7ae955705a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-workspace-panel.FileWorkspacePanelBody: FunctionTooLong \u2014 FileWorkspacePanelBody runs 956 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 856 over it, 9.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":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"31253ea913a8016d4e97529504a4f05126f5d882ddfc4817b005c5c67390c015"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contexts/acp-connections-context.tsx: FileTooLong \u2014 4732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4232 over it, 9.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf5d9effef40934127fd73457d56b9cfe2ab5a2af438f2fb425a74872166413"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: work_task/engine.rs: FileTooLong \u2014 4655 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), about 73% of them inside a single declaration: TaskEngine (2 blocks, 236-6895), declaring 61 free functions. The bar is 500 significant lines; this is 4155 over it, 9.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"966481e7cc4189d9a533851f3915b5f62fa50ccd81e3962db82218dbb00ed76d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-page.ForgePage: FunctionTooLong \u2014 ForgePage runs 918 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 818 over it, 9.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e935f574309d984b32f2c1bf9002425ffd3a8f64218a6ca857b9948e02f33c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/mcp.rs: FileTooLong \u2014 4559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 267 free functions. The bar is 500 significant lines; this is 4059 over it, 9.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eaef876e3dc834b924b0edafc9883b6f5fd60fa9372c43d654f6c49588b6a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills-settings.SkillsSettings: FunctionTooLong \u2014 SkillsSettings runs 907 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 807 over it, 9.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b54206dfcc06d01cf97ac2dac9ff426c979d14805cdcbd6479a56821b7b647"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/folders.rs: FileTooLong \u2014 4356 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 194 free functions. The bar is 500 significant lines; this is 3856 over it, 8.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb3f194f9e994ff5cc6a3f9c81d9396d5245cdd9d6ab5bd55f949f073a038d4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskEngine: ClassTooLong \u2014 3416 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), 116 methods, 2 blocks, lines 236-6895. The bar is 400 significant lines; this is 3016 over it, 8.54\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc92d0c900844e90879798ccf5d696e46807ca1267edaf5fbed7d20a0f7c50a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::emit_conversation_update: FunctionTooLong \u2014 codeg::acp::connection::emit_conversation_update runs 839 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) in one body. The bar is 100 significant lines; this is 739 over it, 8.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":25481}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e64d3fbe8a743d8a645146fbb8652572fb30c6ef1a6c9bb6942ecde69d2ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-composer-attachments.useComposerAttachments: FunctionTooLong \u2014 useComposerAttachments runs 806 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 706 over it, 8.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a45b6ecabf49defcceea3893fc76ee03d3652a92ca7cb240dd645c634d2220"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/api.ts: FileTooLong \u2014 3960 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3460 over it, 7.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c7e99d139a84d9339244ed0ef46db4171be760c289d4f2a03551695d18dab7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/codex.rs: FileTooLong \u2014 3901 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 118 free functions. The bar is 500 significant lines; this is 3401 over it, 7.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0afe38cb1ebc13f78a372745759b526b7d849152c5671cf79b9d9697f98977f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: backup-settings.BackupSettings: FunctionTooLong \u2014 BackupSettings runs 742 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 642 over it, 7.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"894cbc17ae9fafa86a3bd9e3eab07313bad03bedbe634cd3a1bc74a170da11b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kimi-code-config-panel.KimiCodeConfigPanel: FunctionTooLong \u2014 KimiCodeConfigPanel runs 735 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 635 over it, 7.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ccc4530a6849d3333c8323d875b499bd5a35222b049a0526954b23b228c4e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::run_conversation_loop: FunctionTooLong \u2014 codeg::acp::connection::run_conversation_loop runs 722 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) in one body. The bar is 100 significant lines; this is 622 over it, 7.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":14805}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3f364afd3fc3bd9b5f7546d2fe9c86b00ac931aae04441f7785a446646009e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-upload-dialog.WorkspaceUploadDialog: FunctionTooLong \u2014 WorkspaceUploadDialog runs 664 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 564 over it, 6.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":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2d7a493e8ea4efc0a01f473c4524f38d2d61fce60b8daec4060e6a8b5b6983"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-list-view.MessageListView: FunctionTooLong \u2014 MessageListView runs 657 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 557 over it, 6.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c3598c2d90917e3f5f2e1e6e5c143c6b9003df212f03fcb4f68f429f7a7d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/types.ts: FileTooLong \u2014 3234 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2734 over it, 6.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec123c65387c60b03f61b93fe7015b5e6a9e482c39511f8fdfa0dbd0b7eba6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: system-network-settings.SystemNetworkSettings: FunctionTooLong \u2014 SystemNetworkSettings runs 595 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 495 over it, 5.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":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eb4622e30340183a49702c6bcfb2d5d86a99501615659927358656a10b3f41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: delegation/companion.rs: FileTooLong \u2014 2788 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 85 free functions. The bar is 500 significant lines; this is 2288 over it, 5.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a14860e8e3f9d28e35a8197bc12416c12f0aff1e2974056b7d59eb11966a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/aux-panel-file-tree-tab.tsx: FileTooLong \u2014 2775 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: FileTreeTab (1136-3684). The bar is 500 significant lines; this is 2275 over it, 5.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6604e87ccb03ee30d05f70d62fff8bac2e643cf61164dab0ec2c65b128a873a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: terminal-view.TerminalView: FunctionTooLong \u2014 TerminalView runs 555 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 455 over it, 5.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":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"14334d92b525d3191cd7f297d5b4d9c86f5e68257d65723f7ff7019f462f647c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: appearance-provider.AppearanceProvider: FunctionTooLong \u2014 AppearanceProvider runs 535 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 435 over it, 5.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c570d59fe100ca76b7aeabe3dd5cced680df39275c0c80bcad6eec1d3a283579"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/conversation-runtime-store.ts: FileTooLong \u2014 2625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2125 over it, 5.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfdea4e9bbd9e4db7b1ac5c9929a8090ce847185e0946c2ed6a5d2af07ec898"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import-sessions-window.ImportSessionsWindow: FunctionTooLong \u2014 ImportSessionsWindow runs 524 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 424 over it, 5.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc4187520f73912d723998ef136a2766c843b4d94c7be69556eb246bf38987"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: branch-selector-list.BranchSelectorList: FunctionTooLong \u2014 BranchSelectorList runs 517 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 417 over it, 5.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d521294055be2d43bbc30b50e39a53cd1ad6ae8ec19a4b9ce522b9ee3c998b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/manager.rs: FileTooLong \u2014 2584 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), about 79% of them inside a single declaration: ConnectionManager (3 blocks, 403-4719). The bar is 500 significant lines; this is 2084 over it, 5.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5bc1e3287e9079705d74bffc6ee361f982690960c2848b30d99b5d0de74dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectionManager: ClassTooLong \u2014 2039 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), 79 methods, 3 blocks, lines 403-4719. The bar is 400 significant lines; this is 1639 over it, 5.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61ef6517fcb9cc45af83b828338c0c80a1485183fc1e6b04932732bf10aa517"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/sidebar-conversation-list.tsx: FileTooLong \u2014 2532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2032 over it, 5.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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c7de9ba2df6f19765b8661d1f60d017575424956cee76274956b61195015fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-manage-dialog.CommandManageDialog: FunctionTooLong \u2014 CommandManageDialog runs 506 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 406 over it, 5.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91cda45dd195c36db9df98eda76dd5bdb176aeecb9c0db849da59d78a06a96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-runtime-store.reducer: FunctionTooLong \u2014 reducer runs 506 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 406 over it, 5.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b939272f644adc0db27f84196ffcff63bf27ddf2e2730024eacef5e9a8359"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/browser.rs: FileTooLong \u2014 2491 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 134 free functions. The bar is 500 significant lines; this is 1991 over it, 4.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6998fa20cb9a50aa56a6e5f0515867ca6a494e08692eec43744590d9ac27fb2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contexts/workspace-context.tsx: FileTooLong \u2014 2463 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: WorkspaceProvider (635-3744). The bar is 500 significant lines; this is 1963 over it, 4.93\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff10875080280dc56cb23bce603cb11eb716e157917c21158406b923d166371"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: logs-settings.LogsSettings: FunctionTooLong \u2014 LogsSettings runs 492 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 392 over it, 4.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdef21f327099237affaa6d18f30917eecb18e6e3725bd49beae5c5213e8eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: delegation/broker.rs: FileTooLong \u2014 2449 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), about 73% of them inside a single declaration: DelegationBroker (2 blocks, 1503-4905). The bar is 500 significant lines; this is 1949 over it, 4.90\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eff24e2c26cdac859ccd79d34178befe8a075979d806b83fd95f656081dacff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: update-provider.UpdateProvider: FunctionTooLong \u2014 UpdateProvider runs 485 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 385 over it, 4.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":"src/components/providers/update-provider.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f734705c4e09e6dac93089ab768306eb14e586b10bf29d330e8cb01c0d976467"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-manage-dialog.RemoteWorkspaceManageDialog: FunctionTooLong \u2014 RemoteWorkspaceManageDialog runs 481 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 381 over it, 4.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9445c5516f7ea18cfac685ac4496727f634e0d4235e589aee2ab39c90eaf42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-settings.BrowserSettings: FunctionTooLong \u2014 BrowserSettings runs 480 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 380 over it, 4.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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d539a8ae41b2e81d60fc55aaca83947fe9b0addaf76922ab1425d7ac05955d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/tab-store.ts: FileTooLong \u2014 2382 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1882 over it, 4.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":"src/stores/tab-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87657868de78d40b820025c582759e9d5abda1d8a216dc6b745f6ffeacfa506a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeRecordAccumulator.feed_value: MethodTooLong \u2014 feed_value runs 475 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) in one body. The bar is 100 significant lines; this is 375 over it, 4.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"8527f679592b9def6cdc7106c9c025efee70e7ab7270a9da1d1e82b8fc4bca94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-conversation-surface.CanvasConversationSurface: FunctionTooLong \u2014 CanvasConversationSurface runs 471 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 371 over it, 4.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c4aaa1490a95712eee79ac39be42c3343ef0bf375ed1d63af396b6f030d523"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/work_task_service.rs: FileTooLong \u2014 2339 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 91 free functions. The bar is 500 significant lines; this is 1839 over it, 4.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d045582bc1418fd3d8f0e310f7f92e7f27b5a71c54befc509b7a1cb55c9b12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-folder-dialog.WorkspaceFolderDialog: FunctionTooLong \u2014 WorkspaceFolderDialog runs 454 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 354 over it, 4.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"115088d96d26f3d2956b1dccae133dfe81b1678b117774f21749bab20459ab24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: three-pane-merge-editor.ThreePaneMergeEditor: FunctionTooLong \u2014 ThreePaneMergeEditor runs 447 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 347 over it, 4.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d8226471c16b2c14ec25a2699dcbe1fa94e2d43d5b225214d6cfda00842a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-model-list-editor.CodexModelListEditor: FunctionTooLong \u2014 CodexModelListEditor runs 447 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 347 over it, 4.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5469942a6750b6fa21e46f9978b4143fddb3e1e2fb347ce28c9e0a5065765bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DelegationBroker: ClassTooLong \u2014 1782 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), 60 methods, 2 blocks, lines 1503-4905. The bar is 400 significant lines; this is 1382 over it, 4.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ee0a1d4569a53778011edd2b70d09567c8135b7e9eed1ac04a871819ceb413"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/claude.rs: FileTooLong \u2014 2223 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 84 free functions. The bar is 500 significant lines; this is 1723 over it, 4.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45621641b99d87192c8dc53fcbd2bf6e7ca5be98c9c169a71ee0b4749d2ee02e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aux-panel-file-tree-tab.RenderNode: FunctionTooLong \u2014 RenderNode runs 440 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 340 over it, 4.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4891d3b394f3471422053df40c2e5f991a0298162d5cc42a4cca0958ee701716"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deepseek-model-list-editor.DeepSeekModelListEditor: FunctionTooLong \u2014 DeepSeekModelListEditor runs 425 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 325 over it, 4.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3257a457332baa032349adfc6bd521586f60dcf3fa619ac98713f28288e7c3d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/forge-issue-detail-sheet.tsx: FileTooLong \u2014 2119 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1619 over it, 4.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88140015ea73cc60fc5e2d21162bc5676a14ec59b5e97fe1e6693b58dd7caff7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-window-picker.ComputerWindowPicker: FunctionTooLong \u2014 ComputerWindowPicker runs 423 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 323 over it, 4.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e45c50a58308be29a927be7cd710edade5eb67464553195476e95df66d30369"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli_run/service.rs: FileTooLong \u2014 2104 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), about 76% of them inside a single declaration: CliRunService (2 blocks, 441-2766). The bar is 500 significant lines; this is 1604 over it, 4.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b10b153afcb818868029340c9b8fd234219788533817105ebeb1fac6fd3912c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/aux-panel-git-log-tab.tsx: FileTooLong \u2014 2083 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1583 over it, 4.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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230da82551a24a5794842a6dd00af0cbea5bbe869a309f2fc3300d5277eab67a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::delegation::companion::build_tools_call_spawn: FunctionTooLong \u2014 codeg::acp::delegation::companion::build_tools_call_spawn runs 413 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) in one body. The bar is 100 significant lines; this is 313 over it, 4.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9416bec0617c1910591bdbec366eaff182d48898c3ff87e0d7af48a7f18290"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/conversation-detail-panel.tsx: FileTooLong \u2014 2018 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1518 over it, 4.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022d12e4bf8c227abac94f1852ba5960cfd25d7968f0b797f1606dc166281a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assistant-editor-dialog.AssistantEditorBody: FunctionTooLong \u2014 AssistantEditorBody runs 400 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 300 over it, 4.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"76943ae9307577f5f31b7252bc24dc3caebfd3756ef2a4ba3f2b51daba5cdb4f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CliRunService: ClassTooLong \u2014 1595 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), 60 methods, 2 blocks, lines 441-2766. The bar is 400 significant lines; this is 1195 over it, 3.99\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcee23bb6df632549251b7c6566c081dc35af090d53824b4f20f47672bd6ea3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/opencode.rs: FileTooLong \u2014 1942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 63 free functions. The bar is 500 significant lines; this is 1442 over it, 3.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f31ae239c040f6b200dd614c84388c82a87ccf3aff0a3b6025e254185a66f00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ask-question-card.AskQuestionCard: FunctionTooLong \u2014 AskQuestionCard runs 387 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 287 over it, 3.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7350629f3aa968d4ecb8823a1ac455503a0851a92d9a962db11b183781a6ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pdf-viewer.PdfViewer: FunctionTooLong \u2014 PdfViewer runs 387 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 287 over it, 3.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4d2cc65eeb880d48926a6dd551137527c15076048a14d1dc6ff00254508a92"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskEngine: TooManyMethods \u2014 116 methods. The bar is 30 methods; this is 86 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da07832a399f35c3011c500642dcb1506d7f04b5048cfb0c7e60a519f111b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quick-messages-settings.QuickMessagesSettings: FunctionTooLong \u2014 QuickMessagesSettings runs 378 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 278 over it, 3.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":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd00a03a1fd5054291d3628b13e59e216e047abe8737bd0aa7c6870b8fc471d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/conversations.rs: FileTooLong \u2014 1871 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 88 free functions. The bar is 500 significant lines; this is 1371 over it, 3.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d89de5933a72b0d397284129651cdf34fb22850888a09f62ef60e929f2a431"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DelegationBroker.start_delegation_inner: MethodTooLong \u2014 start_delegation_inner runs 373 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) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13573e12a5dbc3e76b6adf46e46430cd907b4b45f7325f3daa750ed9df90d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser-agent/probe.mjs: FileTooLong \u2014 1842 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 342 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dcfd55730c9d6e5964e00374ee0a1c31fcdfce6159dd4ac1127163194899da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: git-log-branch-filter-list.GitLogBranchFilterList: FunctionTooLong \u2014 GitLogBranchFilterList runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d18c4c2f00ab3bb7134eb4e26701440bf1bf3b035d720bdac03de934c51623"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/aux-panel-git-changes-tab.tsx: FileTooLong \u2014 1838 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1338 over it, 3.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c9c335fbf09e940627f810d7ad8cce0b2098b65c0b8cfbeaab36dace07097"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionState.apply_event_inner: MethodTooLong \u2014 apply_event_inner runs 361 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) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"830025c721b2c650c546280c75a3a28c4592ea49fc2caab2526493ebbeddc7de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-settings.ComputerSettingsSection: FunctionTooLong \u2014 ComputerSettingsSection runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a6bae55774492543d5cacd1af86380704c2ec207d4c8b5ef88bbd73b58c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/computer.rs: FileTooLong \u2014 1802 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), about 60% of them inside a single declaration: ComputerService (2 blocks, 441-2167), declaring 53 free functions. The bar is 500 significant lines; this is 1302 over it, 3.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a66bc25d42753cf7356be100485380c6f4765873ec8ce926f5f8e82c8dfc8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::bin::codeg_server::async_main: FunctionTooLong \u2014 codeg::bin::codeg_server::async_main runs 360 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) in one body. The bar is 100 significant lines; this is 260 over it, 3.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5134fde67ece6bddf1913534e15c02f14f20e927fca3a0adc8602025fbd5cc0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DelegationBroker.resume_with_context: MethodTooLong \u2014 resume_with_context runs 357 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) in one body. The bar is 100 significant lines; this is 257 over it, 3.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be62e83facf85ce33863c9f7caf112f32de5c1d1b3265eb251b3f92edf15756"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-manager-section.PetManagerSection: FunctionTooLong \u2014 PetManagerSection runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.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":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5048f25becdf2e6266b549ca1a4834ed22780495df183bdb0a08129ff8fafd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/forge-page.tsx: FileTooLong \u2014 1735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1235 over it, 3.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3a38be015da76384bb31f46806b6f55f3186099a999f6b6f32e80003b5f66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: custom-style-section.CustomStyleSection: FunctionTooLong \u2014 CustomStyleSection runs 342 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 242 over it, 3.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e5188ef25ffbe69474c5c0f65621f79d4d6e5c754861561650f8dc4216002d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/ai-elements-adapter.ts: FileTooLong \u2014 1708 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1208 over it, 3.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2704aebe78d9ea1a2dfa4ec0ce1b2fb34a1864e39658e465399f0ac41780ab79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/router.rs: FileTooLong \u2014 1675 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 1175 over it, 3.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/router.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8191555abbea7986c2f4b110ce697d8baf1e5caa8019f2d71e245de00dcc1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-deliver-pr-dialog.TaskDeliverPrDialog: FunctionTooLong \u2014 TaskDeliverPrDialog runs 335 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 235 over it, 3.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fa4de6fb0c686fd231ead8a0b05e54c7d7217932828160677c7a936887e5ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasks/task-detail-sheet.tsx: FileTooLong \u2014 1674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1174 over it, 3.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492acd8969da2ce3998ca677b3232fd80c474c16adb49107830201c2154dc6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: terminal-context.TerminalProvider: FunctionTooLong \u2014 TerminalProvider runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/terminal-context.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29e730068ec868121708e8d51f9677783ab9ecbd702849ed792547e8f11a55c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: channel-events-tab.ChannelEventsTab: FunctionTooLong \u2014 ChannelEventsTab runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.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":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"770523c479cd8fd832506bfd3fab044bdddc5a0652aa4a2abf58dcf0b8e04703"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::registry::get_agent_meta: FunctionTooLong \u2014 codeg::acp::registry::get_agent_meta runs 329 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) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/registry.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac8546639f761e7d8fb7a31a1a55137087f09b3b9d5550e3772599b27e8342e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: general-settings.GeneralSettings: FunctionTooLong \u2014 GeneralSettings runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b6d727802fe86f6123efdb2a3a685b25b097bda6f1201af8496d14dd888253"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: git-credential-context.GitCredentialProvider: FunctionTooLong \u2014 GitCredentialProvider runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/git-credential-context.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"137eef0b7bf97ec7f68cce0a385c6d441286eb06575b975f2daa7e972fca1635"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-connection-lifecycle.useConnectionLifecycle: FunctionTooLong \u2014 useConnectionLifecycle runs 323 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 223 over it, 3.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bb6b25f6ff291a27534e0f77d7937cbebe11351258c978e378d9d2bf5a4823"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-settings-dialog.ForgeSettingsScope: FunctionTooLong \u2014 ForgeSettingsScope runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.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":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d690788c4c2314bac95ea2c467ecb3045b3b17092e0b5967c66c3251a65a27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: qoder-config-panel.QoderConfigPanel: FunctionTooLong \u2014 QoderConfigPanel runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"796878f8af91ef265f5885aac07095d6457ad3c5de7a987f2e677c033c13b0ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-selector.AgentSelector: FunctionTooLong \u2014 AgentSelector runs 314 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 214 over it, 3.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":"src/components/chat/agent-selector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d898cd9c21763b3d94cc3ccac36ff3b88676a2447d2846dda33282b1b6ab49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1559 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 1059 over it, 3.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc618d6d48930087fd472acc702a72046af3d68fbc5c3c9784faee4fa914c960"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/windows.rs: FileTooLong \u2014 1557 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 71 free functions. The bar is 500 significant lines; this is 1057 over it, 3.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52bf8b971b6aa37abcc8a52cf1de5c6587b821507db25b3e67fe353a8b01a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperframes-launcher.HyperframesLauncher: FunctionTooLong \u2014 HyperframesLauncher runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.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":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d3a4e680edd2dffebdd419c14ebf31290555536e5a8e107ed909c90b21002f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::build_agent: FunctionTooLong \u2014 codeg::acp::connection::build_agent runs 309 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) in one body. The bar is 100 significant lines; this is 209 over it, 3.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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbc10081c019d5d10de5e94fa3a06c385bd88e817f9d0a302ee8a8cac98a2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-bar-computer.ComputerPopover: FunctionTooLong \u2014 ComputerPopover runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.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":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58533156b4af0e15bc1fc4ac806dedbc8d2a62692a59e3a5462ba75f6228d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/mcp-settings.tsx: FileTooLong \u2014 1531 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: McpSettings (412-1921). The bar is 500 significant lines; this is 1031 over it, 3.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6d7c8608a3735445b59307624607f8ac208b57774900a9fc35648d9113ca0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: channel-list-tab.ChannelListTab: FunctionTooLong \u2014 ChannelListTab runs 303 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 203 over it, 3.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72edd05a9d6cf4273bc3404f9b816fef2c69a2f1a452f35e42104f621aa5d37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: web-service-settings.WebServiceSettings: FunctionTooLong \u2014 WebServiceSettings runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"219c18942f03307d16d02ef057505dd2e347b531f59128a52e2cf9b8ca2d773b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: files/file-workspace-panel.tsx: FileTooLong \u2014 1486 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: FileWorkspacePanelBody (779-2149). The bar is 500 significant lines; this is 986 over it, 2.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be33f96f502725ccd9809a08bdb451d27ea295e5c5df11dd45c89534747398f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/canvas-view.tsx: FileTooLong \u2014 1485 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 985 over it, 2.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"facbb9fc7f3cd5aad045e74ac9aff13946666169747c5696aec95c449da9354f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: message/message-list-view.tsx: FileTooLong \u2014 1483 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 983 over it, 2.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04181b72b37862dfc9775421596981f00ff2b64d67b5afc459b18a072a103fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::deepseek::parse_session_events: FunctionTooLong \u2014 codeg::parsers::deepseek::parse_session_events runs 296 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) in one body. The bar is 100 significant lines; this is 196 over it, 2.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":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f7116ce60d820d2c60cac3a4af3912e3e78c3b6435d2dc14cbbdb53ae6e45f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/message-input.tsx: FileTooLong \u2014 1473 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 973 over it, 2.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639258818e059c876182805da3d8957ce5b79904409d7a0ccae80e1f7608a744"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-permissions-section.OpenCodePermissionsSection: FunctionTooLong \u2014 OpenCodePermissionsSection runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace80fffb87d8ed06bb77d8fc9aae82778ecbffc902ed0a6c390cae8525cb4d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/remote_proxy.rs: FileTooLong \u2014 1426 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 926 over it, 2.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d244e10e4235b2e954279a0f065ec8da332841569a000c48a84b36c68b991a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SessionState: TooManyFields \u2014 85 stored fields beside 29 methods. The bar is 30 stored fields; this is 55 over it, 2.83\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":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"795d11bb4ec59e51b5ba082d224583acd94765cf4444c3f321023586e2fa9fec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: virtualized-message-thread.VirtualizedMessageThreadImpl: FunctionTooLong \u2014 VirtualizedMessageThreadImpl runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/virtualized-message-thread.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f672e2ec8c8b81c89d276ddc0c5a9c1382fc463827c1cfe834b6644650d675ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reply-artifacts.ReplyArtifacts: FunctionTooLong \u2014 ReplyArtifacts runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"874c3d7037aee7f5fca2badf1bc5c28f2026313f95f5c98b4bb0c6569626d31f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer-add-menu.ComposerAddMenu: FunctionTooLong \u2014 ComposerAddMenu runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb9de48699f5bd8cc5be0b4edb360be0e8f5af325d572668bc5ebab85fecb9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-marketplace-dialog.PetMarketplaceDialog: FunctionTooLong \u2014 PetMarketplaceDialog runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9203ccfb4f3a91cfb145aac3785868c78386c5134a471b8c55dee3f3f1fa774"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::codex_catalog_commit::prepare: FunctionTooLong \u2014 codeg::acp::codex_catalog_commit::prepare runs 273 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) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a13e97bc34652ced10133838a58c943f6cacfe6203a6fa0687f897b0df7103d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-model-list-editor.CodexCustomRow: FunctionTooLong \u2014 CodexCustomRow runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a27364c42b312200eacc13899a706ab94c82d31b1068368ee903f508557aa45"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ComputerService: ClassTooLong \u2014 1084 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), 46 methods, 2 blocks, lines 441-2167. The bar is 400 significant lines; this is 684 over it, 2.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"876b42886fd35cbbdadda59090688305a2e72098261f11f813f58694c4b765bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/codex_code_mode.rs: FileTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 64 free functions. The bar is 500 significant lines; this is 853 over it, 2.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"217447169e741be6643c4e1a21e12fac69ea483f4f8b364c0d388fe16259f10a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex_catalog_commit/mod.rs: FileTooLong \u2014 1350 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 850 over it, 2.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa80e167e519d55ca5755c7d5010c579e008ed81144df2fa20a12452eb3ef89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/forge.rs: FileTooLong \u2014 1343 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 66 free functions. The bar is 500 significant lines; this is 843 over it, 2.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/forge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"becb7e0cff81a64a8b7503df4d352b1484ddb910f5023b9a57138c8b95dba214"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskEngine.launch: MethodTooLong \u2014 launch runs 268 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) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ff0ee803a5f4b7d101e88bed8e75270c9a4e357ed455ef1792ef7f1506db99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/pi-config-panel.tsx: FileTooLong \u2014 1332 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 832 over it, 2.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ca2392065411ba3fcc0c45bfb038531ec36b0025267d0ec72cdcb43c0716e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: permission-dialog.PermissionDialog: FunctionTooLong \u2014 PermissionDialog runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3211c53fef63739431025d84ef902d64797f45ee3f0c316612767c9622ba2428"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectionManager: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0871f311e16b0f3ac586fa31e06924ba12bec15732642f31f420d3a43e1df0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-connect-dialog.OpenCodeConnectDialog: FunctionTooLong \u2014 OpenCodeConnectDialog runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc300c79b4ecb2b1e4918cd6df0f9323da070e922180670cc39da891c0328ab1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: computer/targets.rs: FileTooLong \u2014 1313 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 813 over it, 2.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cd510c438497de97f9162846dbcd7783ecbf681d40f3b0bfe892055a72aa2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-dropdown.CommandDropdown: FunctionTooLong \u2014 CommandDropdown runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.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":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f5f3de8baf6f2a3acf2be41ee1903b37ad10c0461d9c2137be66af3b538c16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: selection-action-bubble.SelectionActionBubble: FunctionTooLong \u2014 SelectionActionBubble runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.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":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a301baa95949eb7cd3d2f03678b8ec3ac1fde01c896e07f61186922a34df3cab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: create-project-dialog.CreateProjectDialog: FunctionTooLong \u2014 CreateProjectDialog runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9278d2e88fcd91d4b960ee1855045bb3c7db5e7934810075a5d0b99da3a3aa19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-runtime-store.buildStreamingTurnsFromLiveMessage: FunctionTooLong \u2014 buildStreamingTurnsFromLiveMessage runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0002e65460711d6986b6a2b856519d981ce4e3642095823727a9560aeaa9cae4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-auto-settings.ForgeAutoSettingsSection: FunctionTooLong \u2014 ForgeAutoSettingsSection runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d75c4a5f3aa7556bf065c4c04208bb40e56cb874c60209a56729dddcae1c5d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: search-command-dialog.SearchCommandDialog: FunctionTooLong \u2014 SearchCommandDialog runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.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":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e31b9be40be28249025bf6a0af92feaf24e8d1775f3a033471728a946bd7ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-chrome-controller.WorkspaceChromeController: FunctionTooLong \u2014 WorkspaceChromeController runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.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":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"008a7e33028f1cb867c763279a4a6bbb295d13d8bf02c96b753489e2843d9fb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: appearance-settings.AppearanceSettings: FunctionTooLong \u2014 AppearanceSettings runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.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":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29ff6ebef44ec96f02f7d731cb104242a9d62b875deb01fdcf823e1400c03b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionManager.send_prompt_linked_full: MethodTooLong \u2014 send_prompt_linked_full runs 254 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) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d352ed39e080127a3d81f3485f22e2fb5a0e72992742e1d3232621a893f47e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/session_state.rs: FileTooLong \u2014 1269 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), about 79% of them inside a single declaration: SessionState (2 blocks, 256-2684). The bar is 500 significant lines; this is 769 over it, 2.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e161bbb8a476a15516fdf208f0f1dc4bdcde1d4c2b2ed0587bac0a5b46f7b41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: branch-picker.BranchPicker: FunctionTooLong \u2014 BranchPicker runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.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":"src/components/shared/branch-picker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73437bf60b39777dad34f391e5dce85be297fd6c1c5197b54303cdc82075e31"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionState: ClassTooLong \u2014 1005 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), 29 methods, 2 blocks, lines 256-2684. The bar is 400 significant lines; this is 605 over it, 2.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"140c7f8470346e66cb85dc5e6cb954206aabd1ca60b6958049bec768aca12aad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-tools-settings.AgentToolsSettingsSection: FunctionTooLong \u2014 AgentToolsSettingsSection runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2cb72968355dad7343bc28a7e44c30d24616cb797a919ac0f5df2f9c11c685"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server-file-browser-dialog.ServerFileBrowserDialog: FunctionTooLong \u2014 ServerFileBrowserDialog runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/server-file-browser-dialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3532556e74560e3268a48d14d735e1297c00f99a78307c3a00d83755a8b2219a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: token-usage/token-usage-page.tsx: FileTooLong \u2014 1242 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 742 over it, 2.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4120f62d95a6961717c310d35ce1d437072a5489b492b71ceb7482abd0f3dad1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::grok::parse_updates: FunctionTooLong \u2014 codeg::parsers::grok::parse_updates runs 248 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) in one body. The bar is 100 significant lines; this is 148 over it, 2.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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd4cb8be3a29175c04e6defe2f2b3340d297f19ff7309820578b3101693b329"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-combine-dialog.ForgeCombineDialog: FunctionTooLong \u2014 ForgeCombineDialog runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.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":"src/components/forge/forge-combine-dialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc26ed479fda08c633044e292e35ebde7ac3a5377f77697a41619ebd2fa73084"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/acp.rs: FileTooLong \u2014 1215 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 83 free functions. The bar is 500 significant lines; this is 715 over it, 2.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/acp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11a49ed787f91266121b0e6a7f4ed56bff9abe12421645b1da293b4527c9bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: doc-guest-preview.DocGuestPreview: FunctionTooLong \u2014 DocGuestPreview runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"65567116b1e13d54241d48337c7af89421704901d9d3ec10237a4c46f1a2686b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat_channel/session_commands.rs: FileTooLong \u2014 1193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 693 over it, 2.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f19b9c89fb7ee47a732e9212c53e9926f9fec57d33065505945b442ac134bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration.up: MethodTooLong \u2014 up runs 238 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) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260211_000001_init.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a68e4724ea34740da477dc2158d7fbe041b6329cf00843f6dd7f6703abbd6ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/layout.tsx: FileTooLong \u2014 1185 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 685 over it, 2.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":"src/app/workspace/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac2159f5e2691206c178fef8121acd6d0b1dd7983c9c606c553402693408e27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-screenshot-markup.ScreenshotMarkupDialog: FunctionTooLong \u2014 ScreenshotMarkupDialog runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-screenshot-markup.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d388999957b942280e86267ac948f50941d2e3454752d8c95d3fc9696ba451"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/github.rs: FileTooLong \u2014 1180 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 680 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de25db9c1490a19ed30d51cc46950ba5c8504fd617e80304ddf44c9c3018656c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-background-section.WorkspaceBackgroundSection: FunctionTooLong \u2014 WorkspaceBackgroundSection runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e559b39ea075ac93b413672d3043e61f687718c385d7e677618f9968da5e6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activity-gallery/page.gallery.tsx: FileTooLong \u2014 1167 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 667 over it, 2.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":"src/app/activity-gallery/page.gallery.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6694faa9c635f70932704a62aeb40805313ba4957d82fcb682ba8604a6d5ff6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-node-menu.AddNodeMenu: FunctionTooLong \u2014 AddNodeMenu runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f6c72cc7f9430ec2541959c79c3c25ad768ec843bb2f5d9dc3230b36cc2063"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aux-panel-tasks-tab.TasksAuxTab: FunctionTooLong \u2014 TasksAuxTab runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f180ac6eea3794dc26bd4d14d364fd955722eaf5dd8f2b02f67829339267bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-surface-host.NativeSurfaceHost: FunctionTooLong \u2014 NativeSurfaceHost runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe5206bd58a9d78bcfba24845b9be853b639f6d684a6ea36d50ac6f0f83478e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/commit-dialog.tsx: FileTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: CommitWorkspace (240-1460). The bar is 500 significant lines; this is 659 over it, 2.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a9d8258a034d1619c1058d58b0cf7ad0a5c353af16800e7d5f3fcca4dbd445"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-session-feedback.useSessionFeedback: FunctionTooLong \u2014 useSessionFeedback runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-session-feedback.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c00beab648bd301b4660f24af2f6ee5889760669f8c9484dbbe386a59e743a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/act.rs: FileTooLong \u2014 1148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 648 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7adc9cb8f577ee20fceb33302d67b963be315da15f5173c502e948c126f67f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: automations/automations-page.tsx: FileTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 647 over it, 2.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":"src/components/automations/automations-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab3cbac89d90d6c58333eeee60d3939f44bcb34cc9dfa196a9839fb4e8139cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edit-model-provider-dialog.EditModelProviderDialog: FunctionTooLong \u2014 EditModelProviderDialog runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a4becfb3ab1f07922504693786bba71ebd6f961b4f3510552b22e2a51955c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: office-tools-settings.OfficeToolsBody: FunctionTooLong \u2014 OfficeToolsBody runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4b622a9b40f3d9e72ee33cd002601d679a2a36ea2e7967eb78867f2b9a88e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-connection.useConnection: FunctionTooLong \u2014 useConnection runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72fd0d1821258eb04c9ea244d59885642c5b1d8802bfdca757010910b2ee3e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delegation-settings.DelegationSettingsSection: FunctionTooLong \u2014 DelegationSettingsSection runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c9dc1dde0a43a81d0b391091f1d68eafb7da5570ddb4e1ac89e08caccc7a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-behavior-section.OpenCodeBehaviorSection: FunctionTooLong \u2014 OpenCodeBehaviorSection runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3cda50df47487f2cc797bc132321a87454a7d71646e3b0fb44022351f7e78a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/cursor.rs: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 37 free functions. The bar is 500 significant lines; this is 608 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62465003c0c5be8981f0eeed1ef282589a3c3cda7961cd2c3b5825c5f439a0af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-timeline-window.useTimelineWindow: FunctionTooLong \u2014 useTimelineWindow 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":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b4f8dbdf2088e616f0d62d95593e9829428f0d0e3c58998296519e6a55a86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-permissions-section.PermissionRow: FunctionTooLong \u2014 PermissionRow 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd896b50ac4d2bb238ca4fa14a920a1d5a30ffa8c9e5d2fc38c0288a769cc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: merge-workspace.MergeWorkspace: FunctionTooLong \u2014 MergeWorkspace runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"36682119a778fa2f52f96d6379a6447dba0e2317554fdc7a33cc96a2884fcbf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CliRunService.launch_steps: MethodTooLong \u2014 launch_steps runs 218 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) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ac4c03717f76dba1e0ae90fa21c757c1cc985d05329b2df22755dfdd7f3c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delegation-agent-defaults.DelegationAgentDefaultsPanel: FunctionTooLong \u2014 DelegationAgentDefaultsPanel runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-agent-defaults.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b206e708b7e78411ddc66969e1b12f9444cb2cc73fae9f1030004e2493a200c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::cursor::decode_tool_variant: FunctionTooLong \u2014 codeg::parsers::cursor::decode_tool_variant runs 217 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) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e21fbbaf011e2be1202c86be95fa7bf30d94351f8d1af74c5ddac0d9dd6560"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace_state/mod.rs: FileTooLong \u2014 1080 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 580 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b3e40ad28e0c51dbcd382fecff0423c11dfebfcbe414b51901deaeff4dfe9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer-context-usage.ComposerContextUsage: FunctionTooLong \u2014 ComposerContextUsage runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4c9caaa74ebdbc7deca2c85958f2e7b5c39c16211d8a178fe819eed04d707"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/config-sync-settings.tsx: FileTooLong \u2014 1068 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 568 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b07221c9407b29b2f21b0f85b9bac7c09ccb2448dd649070bccb764842708a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-issue-row.ForgeIssueRowItem: FunctionTooLong \u2014 ForgeIssueRowItem 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":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"286733657d66d1fe4c3c11301624a164f2982cd61f69d5155f43ac249d0fd8b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unstash-dialog.StashWorkspace: FunctionTooLong \u2014 StashWorkspace 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":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"405fa54822eca25935588b6053005c0c28d1d92ee34f2f854e907b60a5cd961d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/mod.rs: FileTooLong \u2014 1048 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 548 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55aa6253b67cb19e8bb472031684ce81db52056be90e82c9f113233b309a7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-model-provider-dialog.AddModelProviderDialog: FunctionTooLong \u2014 AddModelProviderDialog runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.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":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"87267867aecc329abcdfead10ffe967f8f316ed01601b2a585e6faac59faa5a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/question.rs: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 541 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b393872d4bc2a4b1f1ac97b77428c3ea275717c4b8cc2887a3df5474491da33c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-model.deriveFlowGraph: FunctionTooLong \u2014 deriveFlowGraph runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.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":"src/components/canvas/canvas-model.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"7304174c55bfc049c99a87a7a67f52df80ccb928c445a4792711c1ec100f1449"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-bar-mcp.StatusBarMcp: FunctionTooLong \u2014 StatusBarMcp 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":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f66dbf63cc397857edc823a8e0276bc3ef0116ba8249ae713dd7fba0e5cafb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-connect-dialog.OpenCodeCustomProviderDialog: FunctionTooLong \u2014 OpenCodeCustomProviderDialog 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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"364260753b2a8751265b1526b9864167704b9871aeb9f6bed9c0ac92931fb62c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/skills-settings.tsx: FileTooLong \u2014 1033 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: SkillsSettings (166-1351). The bar is 500 significant lines; this is 533 over it, 2.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":"src/components/settings/skills-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69ec7be9925cf562198021a352092c871302891ac50e58bb58301cf00f068c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-plugins-modal.OpencodePluginsModal: FunctionTooLong \u2014 OpencodePluginsModal runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-plugins-modal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfb352943080d0e20f31cac5dc48ff54d13cbd7899f3a5dc73c0ea12ccd46be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-chat-channel-dialog.AddChatChannelDialog: FunctionTooLong \u2014 AddChatChannelDialog runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"82896a53c80dc22e1bd9409fc2a95bf3154d7a05bcfc64df31393a957183702d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-open-file-tabs-watch.useOpenFileTabsWatch: FunctionTooLong \u2014 useOpenFileTabsWatch runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3d21a7d26084b052e7957ea7aea0c1e73933e85b0de9265a0879d0ee2dbb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/grok.rs: FileTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 517 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a86bb902447e77f8d73c4c3b58d12e5fb4945ecb70283b578576c212398ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/delegation-card.ts: FileTooLong \u2014 1016 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 516 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff69746ad7c4ec6af4176cb7200606cf74665b10265ed540f42c24ea55cadf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/conversation_service.rs: FileTooLong \u2014 1015 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 37 free functions. The bar is 500 significant lines; this is 515 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ef28848e76bba3a47fb49b204e2f89bc05b738bbe5fcb40f7ce5293f7d9bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-details-content.SessionDetailsContent: FunctionTooLong \u2014 SessionDetailsContent runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eae94fd974ae8d601e6e2c4022e7c93adc9423e843c790f08393d6add339d53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: charts.TrendChart: FunctionTooLong \u2014 TrendChart runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"28499109626322f8b1513ff55029f3f72672bbe9de3d2dfd4c31b9ddf41faf09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/kimi-code-config-panel.tsx: FileTooLong \u2014 1012 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: KimiCodeConfigPanel (479-1361). The bar is 500 significant lines; this is 512 over it, 2.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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a0a5ded05db23abd37e6e679f3dd2cacd7ef69b1549fe0d4cdf123570cdcfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/lifecycle.rs: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. 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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa1bc139c7978ef5bf610efe69533ae38e54d0ef1cc33863c58daccf350ad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-task-dialogs.useTaskDialogs: FunctionTooLong \u2014 useTaskDialogs runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.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":"src/components/tasks/use-task-dialogs.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6b356fef85b68d2338a6944fbc79608061406fc06c9e55e17177e24d0e3435"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/gitlab.rs: FileTooLong \u2014 1003 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 503 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":"src-tauri/src/forge/gitlab.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0081891122a5dbea310820868107cb27adcfe76dc744553a1017efb8acd27cc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DelegationBroker: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec815baa6185aad50098487cd685582528fa20d6844ccab7393971d97263f6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CliRunService: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb775435acfc54d4a5b3d0dc9625542af6b439aba03e578b19f3c1e212bd0cb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-option-list.ModelOptionList: FunctionTooLong \u2014 ModelOptionList runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ec0c21b0c78e43782f984104e2345ddccff327e703c033b1b1b72f674c6617"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-models.ModelPickerDialog: FunctionTooLong \u2014 ModelPickerDialog runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3c429c0a1ef524ccdebb97741e78e0cf302d41b8dee500cebbafe960d44137"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/background_watch.rs: FileTooLong \u2014 994 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 494 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0db241971c9752d1f2b56bd59c82d70950da38fb9bd42aaa41065dfebd47a08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quick-actions.QuickActions: FunctionTooLong \u2014 QuickActions runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504be7e36472bec8fb97d3d5394475ea0b0986ad52f641c523f4ff8dac9749e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: image-preview.ImagePreview: FunctionTooLong \u2014 ImagePreview 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":"src/components/files/image-preview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd5b45acf88cf19a1bd2c27bbf8358a22a8597b8e07925790ed8f3d089d5a2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assistant-avatar-picker.AssistantAvatarPicker: FunctionTooLong \u2014 AssistantAvatarPicker 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":"src/components/settings/assistant-avatar-picker.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c55e3b70c651ac9b09d462021aa832d9a04076891b66720905d71bb66a0e526"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: update/install.rs: FileTooLong \u2014 978 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 65 free functions. The bar is 500 significant lines; this is 478 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21a5ddd2e01117df90dfd20b223fc32f895a8d16f4df200e27e73e0fcb18d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-background-market-dialog.WorkspaceBackgroundMarketDialog: FunctionTooLong \u2014 WorkspaceBackgroundMarketDialog 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":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c0b55f358b81f1a337bc357586b9fdeed4e67106dfa6ada269cbb3659c3eb7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TargetTable: ClassTooLong \u2014 776 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), 32 methods, 2 blocks, lines 549-1668. The bar is 400 significant lines; this is 376 over it, 1.94\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f69e61507b872e67249753243c86b595c27782f7da11edb9debd49a4987ced"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/ops.rs: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 469 over it, 1.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c895a8de0a13f04ecca539764879ddfbc77f93ecbabb45396157b8aa1135ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/antigravity-config-panel.tsx: FileTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 460 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a653ccc0777622d4c6a525fb560f9a719463d9a9a9fe1b61dbadd9d344c0754"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WeixinBackend.start: MethodTooLong \u2014 start runs 192 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) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"563dd48895b60a214b1a17a8280ac893c48da1f14db5c2ae5ce2456dbdd40ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cron-builder-dialog.CronBuilderBody: FunctionTooLong \u2014 CronBuilderBody runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/cron-builder-dialog.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b27092bdebb6f2da756263cab886acc2a690650ff3c3221a8bc9b8be392b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-schedule-dialog.TaskScheduleDialog: FunctionTooLong \u2014 TaskScheduleDialog runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-schedule-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4e4696883e9cda59e70f61778c3c41681cf6e7dfc2e4ae44d8dbb8b8f83b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/codex-model-list-editor.tsx: FileTooLong \u2014 955 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 455 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"379999f9b6952bbbffec92db9355475609da2547d655f3afd9d0d12a74760da1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/tauri.ts: FileTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 446 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"060efe3756429634814c9dece5ffdea833d19826a36a4240ebe0472f7629a5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar-section-header.SidebarSectionHeader: FunctionTooLong \u2014 SidebarSectionHeader runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-section-header.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ef5129f33a6e63262557bf006d8d8e88cce9aaeb8f9622c5d4b848aa1c320"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/types.rs: FileTooLong \u2014 941 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 441 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6f6cd4bb23d92158660eef3833cde6080fe60013a4b05736df9dca986dc96c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shim/windows.rs: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. The bar is 500 significant lines; this is 441 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01336408335aa74f55ef2fe21cf34301ab8b03349fab02a8e9718486c67dfb8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: composer/use-composer-attachments.ts: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: useComposerAttachments (211-1478). The bar is 500 significant lines; this is 438 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":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a45d41453e0b6a9c21f9e9d00a040190fbc3652d49746387338d6ac07897ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenCodeParser.load_sqlite_parts: MethodTooLong \u2014 load_sqlite_parts runs 187 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) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c9f60a607baecb1cb2661a04d02774e95329f4a15aa479ed9db4bdbad762a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg-mcp-tool-card.CodegMcpToolCard: FunctionTooLong \u2014 CodegMcpToolCard runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb96b2323686568f7e69b80c7ab2df522c0b564c178d47dcde67d83610d73db7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-settings.BlocklistRow: FunctionTooLong \u2014 BlocklistRow runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b35cb9fd28f58b16b28528c4378c3c97e72d3620f7672287bb3ab6b9282283c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-message-composer.TaskMessageComposer: FunctionTooLong \u2014 TaskMessageComposer 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":"src/components/tasks/task-message-composer.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a6b8990d0cddf0650998322153c013a18425c92fb0ef36f8673a057e98c29f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/mod.rs: FileTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 47 free functions. The bar is 500 significant lines; this is 424 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e46d3b123daee28485aa5d3ba492d736b9edbdcd4b4422b0f71d295c7e7a28c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/conversation-manage-dialog.tsx: FileTooLong \u2014 920 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 420 over it, 1.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f03babe89e1e9f8f59651232e17666fca46430d8ab3efd696f67a7a58db1a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PetWindow.PetWindow: FunctionTooLong \u2014 PetWindow runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.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":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a03145ab25deb29a58b6612b28a6915d1cc2f10e07d0659aee09aa6935ae5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-shell.ConversationShell: FunctionTooLong \u2014 ConversationShell runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.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":"src/components/chat/conversation-shell.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67f6bd9827b53d063dad7c4acc664ba16690f8e7d1040f9f28d02678497efe4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edit-chat-channel-dialog.EditChatChannelDialog: FunctionTooLong \u2014 EditChatChannelDialog runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"69df0dfe9ea1c6f86005ed1bd5626f2fc14c5a4c2cb3c67ec6f9e043f5dd3ca8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar-conversation-grouping.buildRows: FunctionTooLong \u2014 buildRows runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"70567bff062d11a026dc07d9a3091819e929a2035c20f9928c6fbcf4f09d8fa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: message/conversation-message-nav.tsx: FileTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 409 over it, 1.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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da93da6fb803a94c68c4801a7e7bfba01390eaf80ae4123450cd172e204faff2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::delegation::companion::computer_act_request: FunctionTooLong \u2014 codeg::acp::delegation::companion::computer_act_request runs 181 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) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3941}}}],"partialFingerprints":{"codehealthFindingId/v1":"707ec1209b56777a0f832d478b93eb30af03e4961e9e08aeeb3ec4ae89135f13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::computer::helper::handle_op: FunctionTooLong \u2014 codeg::computer::helper::handle_op runs 181 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) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83b429507e44c6b30f42bd57836ac71afde532e96726c0449a9322cd68bfd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/browser_bridge.rs: FileTooLong \u2014 902 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. The bar is 500 significant lines; this is 402 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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51e23c433fa41e93ae607985b0138d55ada25209fcd2cf8febfe3778786020c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-merge-dialog.TaskMergeDialog: FunctionTooLong \u2014 TaskMergeDialog runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.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":"src/components/tasks/task-merge-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b194c80cbcc07909f54f23611caf0ac6c8256a0c9b1e0c00c464fd72310e4af4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::spawn_agent_connection: FunctionTooLong \u2014 codeg::acp::connection::spawn_agent_connection runs 179 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) 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaf9b882337699eb606857d350fcebd0b645f864e373163dc0c07827786ae2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-tag-list-editor.ConversationTagListEditor: FunctionTooLong \u2014 ConversationTagListEditor 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":"src/components/conversations/conversation-tag-list-editor.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2aa57ee558dc2f65295f71175db1bf99a8fb421956477b73d30df20a9d5bca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/office_tools.rs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b15ad06bc20be956604dffcacdf74221b8f0152178111f7270355a40217129"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/cursor-config-panel.tsx: FileTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 386 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4857b92c367b4583e91af89976a4a09a520879aa93ec488ab2d27eb4ddf07bd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/browser-settings.tsx: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e443d7cf9acc7b4abeeb4fe3f66428b82bc8b7c72919b334e304a149cee810f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-new-issue-dialog.ForgeNewIssueDialog: FunctionTooLong \u2014 ForgeNewIssueDialog runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-new-issue-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb66b4a9a380943f43769a8b1cf0aa74bc3424dc355d5c236a8dec78ed1b6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: delegation/listener.rs: FileTooLong \u2014 884 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), about 68% of them inside a single declaration: DelegationListener (2 blocks, 148-1337). The bar is 500 significant lines; this is 384 over it, 1.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ed9711a16ab4ec0315ee5e932203312b8247e1edbdcc3f0dbe9c27b24443f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/cline.rs: FileTooLong \u2014 882 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 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":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0715903e12f9617b559b0b3f8a2ecf1ca66172625d1d61c4b05eb4cbdbd61c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration.up: MethodTooLong \u2014 up runs 176 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) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260621_000001_automation.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15b9b9eda9fd3d529e70045354909f6abb95797e22520761d47379b83b97261"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/qoder.rs: FileTooLong \u2014 879 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 379 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":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a44155d2fd38ab5a76e69a5512a5552b69c43eda861a91239a9fbeba6dd033f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::workspace_state::start_workspace_state_stream_core: FunctionTooLong \u2014 codeg::workspace_state::start_workspace_state_stream_core runs 175 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) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea46346d29c3a4ff87f2847b2603d53ae8f8be6c12ce423de593b556dbf91c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-icon.ZCodeColorIcon: FunctionTooLong \u2014 ZCodeColorIcon runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4e01166c210bde2cf132ca77f27a427a4d0db1833cf86b1ed3e986898bb7c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/backup-settings.tsx: FileTooLong \u2014 872 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: BackupSettings (118-1034). The bar is 500 significant lines; this is 372 over it, 1.74\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfb4cc991f0a2a4b34b9d042c120df9a7edcc4e0c22c3b612e4407f9850d58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-bar-web-service.StatusBarWebService: FunctionTooLong \u2014 StatusBarWebService runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-web-service.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b169aa6e689d7d09788d44dec16f89dd75b11e2ec77c596d1629ff0f64810afd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goal-tool-call.GoalCard: FunctionTooLong \u2014 GoalCard runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3fc74457e772f6a41d24a6d08089d7f846a27890d47a16a5d3e519e3d51045"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-catalog-source.CodexCatalogStatusLine: FunctionTooLong \u2014 CodexCatalogStatusLine runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee451390b61b9d205a4284756b17498faec53e08f01a86587a313c40776d4d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/skill-agent-matrix.tsx: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 367 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a0011396b68361059bab195ccbb310b373273c1885373ab4bf060a8233ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/work_task.rs: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 77 free functions. The bar is 500 significant lines; this is 365 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5161850baa28cf968b1ba76f6e5d66914fb15009017b99a0a4f72f25f8a5c7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unified-diff-preview.parseUnifiedDiff: FunctionTooLong \u2014 parseUnifiedDiff runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"910854d88b95bcb9a1e2117d2b797576547b25148f021678714dcb618c87bd20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::computer::helper::act::act: FunctionTooLong \u2014 codeg::computer::helper::act::act runs 172 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) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d7a708bc4e4feebe7814ae2c54a826ae7eb35f5e64034d1e339f3da084622"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-editor.PetEditor: FunctionTooLong \u2014 PetEditor runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-editor.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb03550ff01ebac60216f88b446bd63bb9039d29d521bf3270b9b5b7c9b12143"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/gitea.rs: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 358 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014c34306dc2f869f1216bc9dc91061097d040d88e631651fcdf05de908b3f0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::conversations::import_selected_from_summaries: FunctionTooLong \u2014 codeg::commands::conversations::import_selected_from_summaries runs 171 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) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e525f44c67404901a1fab3cce7ee86e81e1f800de15abecfabe0c41190f0f8fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conflict-dialog.ConflictDialog: FunctionTooLong \u2014 ConflictDialog runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58049fb96480ec54272fa59d6546d1327ecee2e8d9d95f71099b0600d16f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeBuddyParser.parse_detail: MethodTooLong \u2014 parse_detail runs 170 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) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89caf7b0d9f50698f66cdbfe2e24afbf0001ce84fa43012a4ea904be2936dde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::web::handlers::workspace_files::upload_workspace_file: FunctionTooLong \u2014 codeg::web::handlers::workspace_files::upload_workspace_file runs 170 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) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb93b89aa02e90cebe35b1a8b0eb1bbc92973db350aa783b78e7968bfbbf2610"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: image-diff-view.ImageDiffView: FunctionTooLong \u2014 ImageDiffView runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0a0b5b0506c01f77903d1a184dfc6c88feee9379586c59a8c94c440d2bfd49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::agent_turn_files::extract::tokenize: FunctionTooLong \u2014 codeg::agent_turn_files::extract::tokenize runs 169 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) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fb3e6421d223f78b6e801b45c3e1ecf58f5f45c9a294531e254c24e2c0a976"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/surface_child.rs: FileTooLong \u2014 842 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 342 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bda59cae6753bc4b8c505c316f43eec3ad66e725c82b59d0ffeedc6195aad50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/_common.py: FileTooLong \u2014 841 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 341 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/_common.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268b2b526527ad46d08f8e3160d296bc1cac74c40bbf9e61c17a315d108c1f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::folders::get_unpushed_hashes: FunctionTooLong \u2014 codeg::commands::folders::get_unpushed_hashes runs 168 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) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1284963565f33cb0cfea74c0f374add7cd37e56357756408c69fa73178df5c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::qoder::parse_transcript: FunctionTooLong \u2014 codeg::parsers::qoder::parse_transcript runs 168 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) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4c63599b04b5d9d8a0a729e027aa4079421e6c690ed8d27441033d25c55d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generic-row.GenericRow: FunctionTooLong \u2014 GenericRow runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810f543a33f4aa8e5ede27465b9d93b50c7e0723d9d2b59b9d2bd9858a449ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/custom-skills-settings.tsx: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 339 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2dc02c87bc2313c3de382bbac32fcae5d9feb2123bdd8e14a3e2150142348e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/validate_hypothesis_schema.py: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd3e991eb4012efc8301fae711665f521e55a14ac5e005b3a33eefee0ce1812"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TelegramBackend.start: MethodTooLong \u2014 start runs 167 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) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9981c4ee73a2ebe3fab570e03314ccb183f6959ebe0896dc236426be9f3dee88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/antigravity.rs: FileTooLong \u2014 834 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 334 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9261d4fbd9cc5918d6f134d5ff3492c4c794d618715dd62693234c81515cc5d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/canvas_service.rs: FileTooLong \u2014 832 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 332 over it, 1.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6853a657515c69b8059349992551ea41bad05e74d4077f18e8263c34375181"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::kimi_code::parse_wire: FunctionTooLong \u2014 codeg::parsers::kimi_code::parse_wire runs 166 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) 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":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"368fe2ff52986ab7c5063b9b7d97fc90e0c7f23f9dd8e9a15d5c90cbc38f546e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-provider-settings.ModelProviderSettings: FunctionTooLong \u2014 ModelProviderSettings 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":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eafb0382637d3565de08d8169e336699c2bfc8c4f33cd34908abd7fcc30f4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::chat_channel::session_commands::handle_task: FunctionTooLong \u2014 codeg::chat_channel::session_commands::handle_task runs 165 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) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dad57896461bf122b33130fe69862ecb138076c76b820e6c5aac17e008f5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codebuddy-config-panel.CodeBuddyConfigPanel: FunctionTooLong \u2014 CodeBuddyConfigPanel runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e66de9535e77ba0077363b61a5a6b551836fae99a4fea6d57a8d0c06e2717"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/pi.rs: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 43 free functions. The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f900af48a23ee093b1144efdb0a9d267ddcf49d2ddb62b0a498702e8acff61b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/appearance-provider.tsx: FileTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: AppearanceProvider (399-1234). The bar is 500 significant lines; this is 310 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8fe592014bb13dbbd098be4786af2234f7fc73b6426568c5a32feabdf98f30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-page-handoff.BrowserSendToChatControl: FunctionTooLong \u2014 BrowserSendToChatControl 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":"src/components/browser/browser-page-handoff.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"80346537cefa7a0b5682890e7c62af399ad935d943307231fb3098f04008bd85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diff-viewer.DiffViewer: FunctionTooLong \u2014 DiffViewer 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":"src/components/diff/diff-viewer.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"302d9feb07854e3407a893a67254006ad2c6fc6cc00ee99d5360c0677aba8605"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-forge-account-dialog.AddForgeAccountDialog: FunctionTooLong \u2014 AddForgeAccountDialog 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":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"983479c79652500a2ab613a9a0066702d5600f9252e744f3cbd316b57a2dfb6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/sidebar-conversation-grouping.ts: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f7e697a2cc4046f130767cda7136144e9604e2a14b634ee9dd6d99897c36e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diff/unified-diff-preview.tsx: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b005784668dccc835bcbc5b17e7b2b5b8fa5edeedb53357963e38b729e9d7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command.stripMarkdownCodeFence: FunctionTooLong \u2014 stripMarkdownCodeFence runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"56da63c7f56d65af28d1b66795743a530232a4072f5523ca6595b5f19b39ecb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/computer-settings.tsx: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 304 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a5aae5e202856e6adda05c49d9f1b32f70a383989cb38e3b690b2d45a62872"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-git-quick-actions.useGitQuickActions: FunctionTooLong \u2014 useGitQuickActions runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-git-quick-actions.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"18910581be32cf8cedf9d9ac20a55992be29f1874158b4563f961126c03cf421"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/kimi_code.rs: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 297 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b16a51cbf53bf15980e68164a9fab1e45bb23d361ac8c389f046476ff71bc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-composer-shortcuts.useComposerShortcuts: FunctionTooLong \u2014 useComposerShortcuts runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-shortcuts.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ce33f696022218283b044deb6bad27bb195e2238b87e2d3307ad095329b030"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-viewer-drawer.FileViewerBody: FunctionTooLong \u2014 FileViewerBody runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f96eba26d3690f6693a6a437dde855784f909c6f3d1ff5d7131e633c443cbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/codebuddy.rs: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 36 free functions. The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee32c0f5edc49e6ba5d1b538b54995bb2e2bdf4d06bac6ca3402d8ab3f9dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shim/macos.rs: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 50 free functions. The bar is 500 significant lines; this is 290 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9e5915e81b481659ec56cee3ad91284556a0ca8345fc508af51ff065acae18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration.up: MethodTooLong \u2014 up runs 158 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) 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":"src-tauri/src/db/migration/m20260801_000001_work_task.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a23425d1908de46785829b3348346d52d4022207f9da4c1504680e7142b3af3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::handle_elicitation_request: FunctionTooLong \u2014 codeg::acp::connection::handle_elicitation_request runs 157 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) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0658f3bb59f1f6d4eb30eb4886eb25d51e00434136963396dfadf6fd9391b238"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::process::node_bin_dir_candidates: FunctionTooLong \u2014 codeg::process::node_bin_dir_candidates runs 157 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) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49306237b6abb37da5c850f9b0f4ed943adbecff84b4be8769952ffcf8d7c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ask-question-result-card.AskQuestionResultCard: FunctionTooLong \u2014 AskQuestionResultCard runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d0af5c3e116bc0b67b1aa94aa5a0f16484de1ba34e8963aa8705caaaf14620"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/workspace-upload-dialog.tsx: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: WorkspaceUploadDialog (153-1089). The bar is 500 significant lines; this is 282 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":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c17730c95413c84054043d6b7b1c0ad0221bfce8809c67f2601b879cec7a3b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/openclaw.rs: FileTooLong \u2014 781 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 281 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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a058b351c2ded379d082097cb046aaaeaed1de4fc31ec880d08a7003c86d4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer-connection-status.ComposerConnectionStatus: FunctionTooLong \u2014 ComposerConnectionStatus 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":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08c85a3ef1c0ba0363f0bbbe3064964a00dbaf93debf0ab72e9634fbee04a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/antigravity_login.rs: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 278 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":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be4010a9a8d7021b7ed31d28f1a40819d6729a6124ead4f7081d91df9d2b3b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenCodeParser: ClassTooLong \u2014 622 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), 14 methods, 4 blocks, lines 16-1014. The bar is 400 significant lines; this is 222 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b8ca63fd7b237f1ea879564a179432578147665a5a9be82f8d98aeb923ca9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/act.ts: FileTooLong \u2014 777 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 277 over it, 1.55\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":"browser-agent/src/act.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"729df262e2f8c2e731d809e0f633c094f96b1c479164b6d8e8c30eb91ebe350e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser-injected/picker.js: FileTooLong \u2014 777 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 277 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f69ccf7bb92bd2dc392dccb8acf784f7eda63bab7efe6e8c375ca06ee049c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::handle_fork_or_exit: FunctionTooLong \u2014 codeg::acp::connection::handle_fork_or_exit runs 155 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) in one body. The bar is 100 significant lines; this is 55 over it, 1.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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4657d42c011956bdabb521de400ba7af674359fa576144b2cfc798026afa845"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::work_task::engine::compose_prompt: FunctionTooLong \u2014 codeg::work_task::engine::compose_prompt runs 155 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) in one body. The bar is 100 significant lines; this is 55 over it, 1.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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":7738}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c60d5f3ebb964d71c5ce2f619c131334a691d18b3a93c0198d33f9b9331d9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/workspace-folder-dialog.tsx: FileTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 274 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc96114264337002b784761eff57460d1433b03a914a2a58b1025573b6112104"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: computer/local.rs: FileTooLong \u2014 772 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 272 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":"src-tauri/src/computer/local.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"811c5b625713ea079d405e17985961c68ff9ead7a6c3c7200d803b4c036a4aa5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::browser::profile: TooManyFunctions \u2014 46 free functions. The bar is 30 free functions; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb49a064f4b09c7ca8518e4ec63f5a5953df15193362bccf0c57d2e9be497c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComputerService: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0c2c8de7996d4c835b1c99adf4dfe833a1532eb73e6715e1ce39fe6dedd1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::computer::helper::act::act_error: FunctionTooLong \u2014 codeg::computer::helper::act::act_error runs 153 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) 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":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a09e74a41143d8c2b398cd05833b043c709cf4e83a8948bbc8331afc033b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-settings.HostRulesEditor: FunctionTooLong \u2014 HostRulesEditor 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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"202c64343f6651480165d2094c5c0ea3f291133ef1d1a8e272e119bb26e9102f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeminiParser: ClassTooLong \u2014 610 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), 31 methods, 4 blocks, lines 14-998. The bar is 400 significant lines; this is 210 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dff9fd262c85f0000841c63ab88e57da5501875f00f1bcd2df0a6ae6ff5214"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: font-settings-section.FontSettingsSection: FunctionTooLong \u2014 FontSettingsSection runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8534a0e0e9e9dd2ed07f1cb399c4287ba3035e99ee5bfa75075f4d37283871f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/_tabular.py: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/_tabular.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8203010cacb9a485b393e41b76b89a14693277594d50fe554c4d7c1efc8cc47b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::apply_and_emit_session_config_options: FunctionTooLong \u2014 codeg::acp::connection::apply_and_emit_session_config_options runs 151 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) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e38e611b6288a53f66119221a8b8be131550e15a08544ac9b54377b230ec81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::folders::build_file_tree: FunctionTooLong \u2014 codeg::commands::folders::build_file_tree runs 151 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) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4891}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9aa66e5361f09e8e216d7c20ab890932daa0ede21bc936e0f1065060492a29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenClawParser.parse_conversation_detail: MethodTooLong \u2014 parse_conversation_detail runs 151 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) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5709d815207bcb8928a6929468a0f8eb0cc3071b6f651f9013fc8bf8e61941e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::web::do_start_web_server_tauri: FunctionTooLong \u2014 codeg::web::do_start_web_server_tauri runs 151 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) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"856b0d9716e80dc492cca4fb654f906ec05d8eaf3ef28d0ac3ed48402d6c84b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: terminal-tab-bar.TerminalTabBar: FunctionTooLong \u2014 TerminalTabBar runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f45c45c2cde8a2eb59cc58dd11a54f6d55f02c0eb622345767e58ab9d7689c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/cnb.rs: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 253 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7171bdaa1b9fa1a11740117c3b6e3743c97e2f9aee96ae8dd46844a2a6c25c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::antigravity::step_outcome: FunctionTooLong \u2014 codeg::parsers::antigravity::step_outcome runs 150 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) 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":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"117d947a000889dd93fdb64d9c9f3da9bf05df20bcf6c09f11d6f77429d86fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: custom-css-dialog.CustomCssDialog: FunctionTooLong \u2014 CustomCssDialog 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":"src/components/settings/custom-css-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0975492068dd07c00a497edd2a2512b995a0a2f2a261f18ce24ecebbf04419"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/binary_cache.rs: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. 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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f34e4e84e9ab028e81d052da9fd81042fe90235ab99a84a7dfad7f0780866d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DelegationListener: ClassTooLong \u2014 597 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), 39 methods, 2 blocks, lines 148-1337. The bar is 400 significant lines; this is 197 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53b6ca3478c5a9bfee8a36bdd116168fab202a61e98f116fd1e1785c47674ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeRecordAccumulator: ClassTooLong \u2014 596 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), 7 methods, 2 blocks, lines 1803-2882. The bar is 400 significant lines; this is 196 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6328a3003555059b7cdaaef03baedc62fad8eb17addd24faceed86cfbb6e5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::forge::forge_instruction: FunctionTooLong \u2014 codeg::commands::forge::forge_instruction runs 149 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) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/forge.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a65163590229bfe21792e0f16fe0806114e08e7a621af5bd1a80b897ff84a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-events-bridge.BrowserEventsBridge: FunctionTooLong \u2014 BrowserEventsBridge runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-events-bridge.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3dce8ac64537fff7f559818991993450ab17de3b3f88e42574ba4ef56f6534"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-folder-dialog.LinkRow: FunctionTooLong \u2014 LinkRow runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c417a4adedc3f58eb632680f092e9bd3ad04816fb18c6893bfd8db19a5ffcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-long-press-drag.useLongPressDrag: FunctionTooLong \u2014 useLongPressDrag runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-long-press-drag.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7ba5919d846573d8a2fc2c89484a0ab520b9d680481d07bc91c060cd7986a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-html-markdown.createChatHtmlProcessor: FunctionTooLong \u2014 createChatHtmlProcessor runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c4ac5224927d326a65343ce288e2b42aa4e55d4b90338fcacced36566261f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/session-files.ts: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dd8c274f7b98391c975e969fefa0831ed7b69568fde2cc901fbb59e47b4337"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::forge::create_forge_task: FunctionTooLong \u2014 codeg::commands::forge::create_forge_task runs 148 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) 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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8137566dd667348fe891fdd1db304c9561c6b3fd21679633939f3d5b3b03c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-width-handles.WidthHandle: FunctionTooLong \u2014 WidthHandle 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":"src/components/chat/chat-width-handles.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca68fb9691e1c7f244fc4f40e29efc73dc605b88932083ac1c818d7722fcc1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::chat_channel::command_dispatcher::dispatch_command: FunctionTooLong \u2014 codeg::chat_channel::command_dispatcher::dispatch_command runs 147 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) 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":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d6069b86e0c89727b11fa7558c3d3d102fc1657935f400fe93777522bdfb3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::claude::parse_subagent_tool_calls: FunctionTooLong \u2014 codeg::parsers::claude::parse_subagent_tool_calls runs 147 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) 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed24169233573c106d4519ead04631169a65b84f8ec04a35edd910954f632288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat_channel/session_event_subscriber.rs: FileTooLong \u2014 730 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 230 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7357144740d13378a9fac26df6f8f0ca74d0e40b9adcab5966e2da3569324d8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-reference-search.useReferenceSearch: FunctionTooLong \u2014 useReferenceSearch runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"40307daeaf0cfcc2e0752b792475f3514774564a7abc38d159f431dbb804573b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-git-account-dialog.AddGitAccountDialog: FunctionTooLong \u2014 AddGitAccountDialog runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d9444efab8b71abf837db026547527fe6dab5276788889e009fe8d4234e602"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace_file_search/index_cache.rs: FileTooLong \u2014 727 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 227 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b93be9afe4ed8890e97d4fb1b8304f807bd3ce42e9426afd696ca851d1d3ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePetDrag.usePetDrag: FunctionTooLong \u2014 usePetDrag runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetDrag.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4621734c085c7aaeea402797cc5c9425a64c74c846a91f4d4946cf2ad915a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-board-list.CanvasBoardList: FunctionTooLong \u2014 CanvasBoardList runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee048f9406e82c212a1bda0251376c5699a00175931939651ffbd34d451c8439"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity-header.ActivityHeader: FunctionTooLong \u2014 ActivityHeader runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f5ee14098c190f89212118187d6a9d82154493744a7f9a4490eb40c475280a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity-row.ActivityRow: FunctionTooLong \u2014 ActivityRow runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f82b8ef9e9489c19a83e44a2f62c2d9a1df539a35c7bf4767cd636f4a367b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: notification-sound-settings.NotificationSoundSettingsSection: FunctionTooLong \u2014 NotificationSoundSettingsSection runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/notification-sound-settings.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"522ad0d285593593b7aa0382e565b1dae44062d8fbff7876a2b656f62eb836c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::browser::surface_child::configure_child: FunctionTooLong \u2014 codeg::browser::surface_child::configure_child runs 144 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) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f359f74b8c4c80cf0027e4e4fa39b2a681fc0bda0cf66cbf2b2b83f32e6c55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/deepseek.rs: FileTooLong \u2014 718 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 218 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdf376ac56e8cf1401d0f128ff6b27a69466ab4d4cc1f32e82f16d22eea02cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: WorkTaskInfo: TooManyFields \u2014 43 stored fields. The bar is 30 stored fields; this is 13 over it, 1.43\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":"src-tauri/src/models/work_task.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a82e0cc58c8cdc9a7e1b8f595f84c067e2146bf44e8902e691da98d3e93b261"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-status-layer.BrowserNoticeBar: FunctionTooLong \u2014 BrowserNoticeBar runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ab7b0fe5d9dbb6b099b91c40e3b9c1abf7f034e312b62915b89b0977499110"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deepseek-config-panel.DeepSeekConfigPanel: FunctionTooLong \u2014 DeepSeekConfigPanel runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-config-panel.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4e0f9aa7603929181e174848656141eac66aa62ac6fbda883c75c4a2982a6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E: FunctionTooLong \u2014 createChatHtmlProcessor.\u003Creturned closure\u003E runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ba529f3e95d5f69104241b400fa384c160b9abbeeb4579b08df151c2b9a70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/add-custom-agent-dialog.tsx: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 208 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3846f87d635c609c73dbf2857d3cdd01a64788e021f5604a8984f02c08782375"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: automation/engine.rs: FileTooLong \u2014 707 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), about 70% of them inside a single declaration: AutomationEngine (2 blocks, 94-1160). The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3197004543c9bddc0e8e824e6386e8a72f801a1da6086182cb3f72842364bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::connection::map_grok_subagent_notification_inner: FunctionTooLong \u2014 codeg::acp::connection::map_grok_subagent_notification_inner runs 141 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) 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":21702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56106bd3eb9ccdeed9e9577b53e1b78e14a1574ffc4c3b80b8b6826f87d8712"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::question::parse_form_questions: FunctionTooLong \u2014 codeg::acp::question::parse_form_questions runs 141 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) 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":"src-tauri/src/acp/question.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df35f704a5fc51ff449a1cd140d62201e9a7599d24bd8b54d0d45fde6b56b27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::forge::create_forge_issues_task: FunctionTooLong \u2014 codeg::commands::forge::create_forge_issues_task runs 141 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) 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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6ff962eb7b589848ec31215e20352ea15584dc6615aeb2caf762fca8094790"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-importer.PetImporter: FunctionTooLong \u2014 PetImporter 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":"src/components/settings/pet-importer.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b463a1ba97401091f7750f6e87e3db7029915b2c8efa317f88c48af5a46704"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: charts.ActivityHeatmap: FunctionTooLong \u2014 ActivityHeatmap 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":"src/components/token-usage/charts.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9030ad20ffd3c67880f1e13d961058e2546d0de1940276c3d5042bf61d68d502"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: close-request-dialog.CloseRequestDialog: FunctionTooLong \u2014 CloseRequestDialog 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":"src/components/workspace/close-request-dialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b62862cef3714de36c309b0db669a8f8e0fe298a26802884725136068297e46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: permission-request.parsePermissionToolCall: FunctionTooLong \u2014 parsePermissionToolCall 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":"src/lib/permission-request.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b795a8c5464b620a7c716b75f84b5f38081faeaf27bc0f47fc676d94bca6a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/sidebar-conversation-card.tsx: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 201 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb45cc282dbe87d03a0794f30cc7a647ada3ec0d493e15090294fac33fe00bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/logs-settings.tsx: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: LogsSettings (272-960). The bar is 500 significant lines; this is 195 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":"src/components/settings/logs-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3ac68d426d0133464cb5a21d9988907a23bf29a242fe927af9c2fa17fcf5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/provider-models.tsx: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f2b57a63a6f7bccf25747e1ee371e1a9bed64e574e989fb1f098f11a32df69"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer-invocations.useComposerInvocations: FunctionTooLong \u2014 useComposerInvocations runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b0f29c584ceae4f0379fd24d740fd4d528b05b36445e63e41f0c53de74c425"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/token_usage.rs: FileTooLong \u2014 694 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 194 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/token_usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b30c08cda936d4a30752ee91def962403f3c95e3a9dc209d7239256de2fe812"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/gemini.rs: FileTooLong \u2014 693 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), about 88% of them inside a single declaration: GeminiParser (4 blocks, 14-998). The bar is 500 significant lines; this is 193 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":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bca20fa570929484f57783e4a32462bd3a267882a552c71db3b89f7d3986c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::external_transcript_sources: FunctionTooLong \u2014 codeg::parsers::external_transcript_sources runs 138 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) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"080c5277070519e1f0ab952ccf1678f0d464fee19e496b1b972866e7f60999ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-row.TaskRow: FunctionTooLong \u2014 TaskRow runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c4515454fefead8b9f0ccbb2c4fe6fe04ea791dbe0942e5c9204198e95ec6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/mod.rs: FileTooLong \u2014 689 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 189 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2643c7b0171bd6d8de776236a60b4334a3ba6fb42a76f89dd6da8dfb1ce59e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/experts.rs: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a964364186f56346e95de26bb890f706e3acf36e8c510b454002ad2fd86945"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/acp_native.rs: FileTooLong \u2014 685 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 185 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":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"815ba19089c90e85048a32a813c8c967798712535d3278cfcce549f90d692154"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::web::handlers::folders: TooManyFunctions \u2014 41 free functions. The bar is 30 free functions; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/folders.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf736273ea247726777eec9b508dae13eb0c32426797544d97a1607ebde378b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/system-network-settings.tsx: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: SystemNetworkSettings (108-890). The bar is 500 significant lines; this is 183 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9fff87fdedbb28d4d5d15db76aacd676b5b0565c530accce89dac63c0586fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/permission-request.ts: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 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":"src/lib/permission-request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184a0806a22eda97966ac227acf9a973f2adaa66dc36d7a1f8a9c88d247007d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::remote_proxy::remote_workspace_download_stream: FunctionTooLong \u2014 codeg::commands::remote_proxy::remote_workspace_download_stream runs 136 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) 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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6068cd3b9f985c16f5cff8d29cab791a670474478c5971806cb812d594df84b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::token_usage::aggregate_report: FunctionTooLong \u2014 codeg::commands::token_usage::aggregate_report runs 136 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) 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":"src-tauri/src/commands/token_usage.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e0d06ecebf01fe7beb095572c4b1118bbb44d2d403690950ab1e5533c2501"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::antigravity::project_steps: FunctionTooLong \u2014 codeg::parsers::antigravity::project_steps runs 136 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) 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":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f918c1c4e86c04d6eb5e3f0049a2d0bcd332524892a29a172171eaed3327ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-config-section.AgentConfigSection: FunctionTooLong \u2014 AgentConfigSection 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":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7084ef5c11d1d29e1b81e6252e29e69835292630851eaaef61e8a0ffed333794"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/mod.rs: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ed9c46bbbff75db77e242fc3684c9ebb6f00594f88ff5ae9f14083c84577b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatchState: ClassTooLong \u2014 541 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), 18 methods, 2 blocks, lines 818-2011. The bar is 400 significant lines; this is 141 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"2330c7f408c77cc19064b171515afc6855c3e9a036ebb9a73db02af14792b87a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasks/tasks-page.tsx: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab061c26c2ed2fb4fafe0fd361d5729d447c7863360f542fac5c6bd4afa89f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::remote_proxy::remote_upload_workspace_paths: FunctionTooLong \u2014 codeg::commands::remote_proxy::remote_upload_workspace_paths runs 135 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) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f77ec332318bafbece525794cdd5967d258acb7b5a05f2aa99b33dd8c3702e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-agent-access.BrowserAgentShareControl: FunctionTooLong \u2014 BrowserAgentShareControl runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f71359dfc73ae99f4831bf734ac3dd7871254d700434cad4f6b642f6d99accd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/file_system_runtime.rs: FileTooLong \u2014 674 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 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f70cd891f6175058835da202645fd307279076bfd1bafa2a4680d171c41649d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/push-workspace.tsx: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"256ee63aef8813e74790432e4969b9576ef996670b07eed8e8428ae1e23f0268"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasks/task-settings-dialog.tsx: FileTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51dbb00431cf9bc5543e647e49642f15198039e2d71e9f791ea211253e57191"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: computer/computer-window-picker.tsx: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: ComputerWindowPicker (348-867). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476709f3e3f504e4751a6d3b495459e1b02cd13fb87efe1c5ef4cbcd9372a8c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::acp::delegation::transport: TooManyFunctions \u2014 40 free functions. The bar is 30 free functions; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/transport.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc876215fc820730108dfd63db94a661cc6bfba9d005494a63ef1fd00af688c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::commands::pet: TooManyFunctions \u2014 40 free functions. The bar is 30 free functions; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/pet.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a185f241462d6fed91602f7f3926ceb58d88de5e6d2c15737f33f203cdc40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Model: TooManyFields \u2014 40 stored fields. The bar is 30 stored fields; this is 10 over it, 1.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":"src-tauri/src/db/entities/work_task.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"04329dd71f6acada7211cadc4437980a5aec1711280cfc00ae9bd39c64218b52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/command-manage-dialog.tsx: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: CommandManageDialog (202-826). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c03b7ce01a09724f6203448ffa9237b697b28158b7b3c663ba9c83b73b39be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-indicator.ComputerIndicator: FunctionTooLong \u2014 ComputerIndicator runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cdbe6da54542532e9fe4e459291a9fd6ab38cd8d27f3ba61ad6433871319a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai-elements/mermaid-block.tsx: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 163 over it, 1.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":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c83a09702a8aea4dbea59742c602366513d4a65863aa355170f3c4399a971a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/smoke.rs: FileTooLong \u2014 661 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 161 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e14e4654e94c147c67af748791d1106d6571ef9ed549812ea8de2258b2fb0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/codex_catalog.rs: FileTooLong \u2014 660 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 160 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/codex_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e130f83188871d53beb7b3f7483493d4758b810626e52920354f42fca32576"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-tag-picker.ConversationTagPickerPanel: FunctionTooLong \u2014 ConversationTagPickerPanel runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-picker.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"99507a0842f97d189dcbaf555bba1c4d68475271706e27a52697044cd1012ea3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-diagnostics-dialog.AgentDiagnosticsDialog: FunctionTooLong \u2014 AgentDiagnosticsDialog runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-diagnostics-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7234ba35c1f771a1297597f7783c727c1847e1a36f82772517d324838d81e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config_sync/domains.rs: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/domains.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8698881ac5f9b3d2727a24bda3cedd68bd3aabd0786bcca10f4413824f78e85b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::cursor::build_turns: FunctionTooLong \u2014 codeg::parsers::cursor::build_turns runs 131 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) 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59b3686d7bb6fcf924c6688cd8f6846f4c71373510fccf7a771d4d5be561fe8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-device-stage.BrowserDeviceStage: FunctionTooLong \u2014 BrowserDeviceStage 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":"src/components/browser/browser-device-stage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd160b94b7df36cd9142ca564401cb123ceb46e8256780a457764642296b4c91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: html-preview.InlineHtmlPreview: FunctionTooLong \u2014 InlineHtmlPreview 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":"src/components/files/html-preview.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"729f9c80ae2a0555e01c2af14d8966d8ced9fc567af242f4d9d06c559e2a0d8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: science-settings.ScienceBody: FunctionTooLong \u2014 ScienceBody 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":"src/components/settings/science-settings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bd8d6439362b1065c1fcdcfa23f0307bee196bedede20fe822e06e4e4b89b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-follow-up-dialog.TaskFollowUpDialog: FunctionTooLong \u2014 TaskFollowUpDialog 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":"src/components/tasks/task-follow-up-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b523ace4cb6375f564c2b5388bd58083c0986bd75b38dd8aaad12cbe556c439"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/branch-dropdown.tsx: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 154 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700cee24c738b42af21c3c5d46db8cdedfaa05b0543b27ec05515a853a4aeea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/canvas-model.ts: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 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":"src/components/canvas/canvas-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbb10c91648ad057a47d5e53b63d960e09122fdf04a08079108dd41d5b74748"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DelegationListener: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c443373af14c2ec35caedebcf84afee2b24638ed65b4741a478bbad07d84009"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: terminal/manager.rs: FileTooLong \u2014 650 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 150 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":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f11cc25b51228edb514395b8d20fde2b475d5c6800861a8f428201ce04ff4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenCodeParser.load_v2_messages: MethodTooLong \u2014 load_v2_messages runs 130 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) 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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e703caa87b4bd04b81fb8758a508292e5349cf76770731951279f403b9442b98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: folder-title-bar.FolderTitleBar: FunctionTooLong \u2014 FolderTitleBar 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":"src/components/layout/folder-title-bar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"933c69bec0fd00f0fa2fe99c8749b4d527963c0ca7e2d268a1de8a532a800d30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-actions.buildTaskActions: FunctionTooLong \u2014 buildTaskActions 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":"src/components/tasks/task-actions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55605d330680d26021de2899070874d30692126d481ed79e73f786fe523ba3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config_sync/webdav_sync.rs: FileTooLong \u2014 649 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 149 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":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ce0430ac4a1138ed25491e5ce499344a265cc05c810c16fecf7a55b8d76830"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: token-usage/share-card.tsx: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 149 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":"src/components/token-usage/share-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e72c52c0e04c9b247540cf5e89bafffff78bd74525991f13f92377f52ea2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/files.rs: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. 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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae0d47d32e1c5e3941c76a5d6b50996abadbcae9d5a686565d03be8a1b5acd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskEngine.merge_task_inner: MethodTooLong \u2014 merge_task_inner runs 129 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) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d83e4bc00878d0f7e13b5fbad01bae281748ffb872ec0ad3b6570fa5ba25c17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity-timeline.ToolStepView: FunctionTooLong \u2014 ToolStepView runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8deb4cc65b38cc66201b0189c56b96022f87adcfc35eb160828073bd9c02bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/version-control-settings.tsx: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 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":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51664658cb0805735883c53076515be8291de7b7eb00cf8ec2525b1aa9ced6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/branch-selector-list.tsx: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: BranchSelectorList (182-864). The bar is 500 significant lines; this is 140 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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21fc81f8e7059607e48f094bdcb45a0292b18e28df274f432b3487766ad9988"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::acp_native::apply_update: FunctionTooLong \u2014 codeg::parsers::acp_native::apply_update runs 128 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) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0fd9ec3edeb86508b31c070b60231325d05b9fca395d71b135811c42e0f1b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::opencode::normalize_tool_call: FunctionTooLong \u2014 codeg::parsers::opencode::normalize_tool_call runs 128 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) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc46398ecaa2b3d73cc56c5bb3b6d47e1e88c65c90355fcb24960c7a58f7449"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: html-code-preview.HtmlCodePreview: FunctionTooLong \u2014 HtmlCodePreview runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/html-code-preview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a917f2e7431f0d7c7e94e2fde7f568e0fc51000e82ab10f46b88160b5fd89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoProcessor.scan_into: MethodTooLong \u2014 scan_into runs 127 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) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"487576ec6c50a9c1d3ee1e21a232b6b0370fddf37c971dfbfa3a406997d51890"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: experts-settings.ExpertsBody: FunctionTooLong \u2014 ExpertsBody runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/experts-settings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"519d35e0dff60710de8301878ceacbe9b41775267da4834049aa3a28b17e7443"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kiro-config-panel.KiroConfigPanel: FunctionTooLong \u2014 KiroConfigPanel runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kiro-config-panel.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dc219387c8499207759730909e1e33f40ed207ffdb8d7afaa76dcc0fbc30ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pet-marketplace-dialog.PetMarketCard: FunctionTooLong \u2014 PetMarketCard runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c06515d30d42016a4d47b023220c57b6dff0abe92bcb05d9ea8401f2d7f915"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: i18n-provider.AppI18nProvider: FunctionTooLong \u2014 AppI18nProvider runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/i18n-provider.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f6d09616dcee2a0020d700aa6be976c21d90bd4546ffe6ff5c16eac0141ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: calendar.Calendar: FunctionTooLong \u2014 Calendar runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/calendar.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5397d8a2fcae55418bd304fce6fc1ba61e98c4b227d4195613911c8c53be47fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: terminal/terminal-view.tsx: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TerminalView (118-965). The bar is 500 significant lines; this is 129 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a323f1fd65b0e921e1e38b3f0b01f1a241a02c1bc240fd1be845b1d469a564"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/canvas-dock.tsx: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe78b288bfc95394fcd449b5f1ef5e7a7e3cdda17d93dde85888f9f55a958d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/image_metadata.py: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/image_metadata.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3767473a0d98a1b8d822a334943035caa4ea577a7890a9161c1a3e74fd46b0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backends/telegram.rs: FileTooLong \u2014 626 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), about 71% of them inside a single declaration: TelegramBackend (3 blocks, 11-619). The bar is 500 significant lines; this is 126 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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fd6ef8d675b3b554ae031dfb7bbbd2585c607eda43329b9edd784adcd8a608"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/canvas.rs: FileTooLong \u2014 625 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 125 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2b12996afed82d474eb789a3974b966a467ad1a443509879b03aaa9d7990b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/forge-auto-settings.tsx: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc93e4e6c0e87c4d60da58f6863a843e0a222e8458144947373f7a74e84e57fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer-invocations.ComposerInvocationsPopup: FunctionTooLong \u2014 ComposerInvocationsPopup runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a4928291c20025f5e52169deb916449ebc12c906f4d761745d557446080120"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/opencode-connect-dialog.tsx: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afff2807a13cdec4f234ee6600b1aea41b85919258a32ee74ca5932296a44c7f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutomationEngine: ClassTooLong \u2014 498 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), 17 methods, 2 blocks, lines 94-1160. The bar is 400 significant lines; this is 98 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcfed26e53809966756108a804786334e78e2cd914c8eed2d0d5f0b02eb54f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-input.ChatInput: FunctionTooLong \u2014 ChatInput runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/chat-input.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"762025d89fd91011cc2931701b245367a087b7cc81d9f7cd5b711e2712e3dcd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backup/restore.rs: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2febaaf72e21e1ef4095437276421047b16cda1196902a9d3d97ef59248f229a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/deepseek_settings.rs: FileTooLong \u2014 617 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 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7addb9980ff66eb2a19f9999799f44a64a992c122506c679f7850bb9cda19c02"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserSurface: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e05e0b4a4b9d779f460d4b56ad5925302ade15839c1d916ffdc5f2fc3c0709"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/remote-workspace-manage-dialog.tsx: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: RemoteWorkspaceManageDialog (160-736). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9190a3e560702efc3b4f671b6e1fb7bf8a68fa06451581e15335ff7ffa979f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DelegationListener.serve_one: MethodTooLong \u2014 serve_one runs 123 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) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d587224766b15cc317e7dd6dc0fb0a8c5eab7f53f563055c0f2c69d0ef6bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::browser::open_tab_core: FunctionTooLong \u2014 codeg::commands::browser::open_tab_core runs 123 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) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6302e4dcd46df4140d97b42d729af133baad3dde8fc4bd9221d19bdfd2fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TerminalManager.spawn_with_id: MethodTooLong \u2014 spawn_with_id runs 123 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) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73814a3d7b3154a0444870d94be9c2ce9458caf04b7e4671530c59ad199f85f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trae-config-panel.TraeConfigPanel: FunctionTooLong \u2014 TraeConfigPanel runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/trae-config-panel.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f86b365129f8e1065976ee0642eae359878003b496f8c3b5753dcb204ed17ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: branch-selector-rows.buildBranchRows: FunctionTooLong \u2014 buildBranchRows runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc329017890498e0e60c55a85890376e8e702b0b66003d6674d24f2960038ba9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: weixin-qrcode-dialog.WeixinQrcodeContent: FunctionTooLong \u2014 WeixinQrcodeContent runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/weixin-qrcode-dialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5dbd1166da5cbddf1a8ec627dc954ac8d11c6d2fc5e88cf059eafc7c63f0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tab-context.TabProvider: FunctionTooLong \u2014 TabProvider runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/tab-context.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d034779feeb9a4a70b435cf9ce14069539d03760913d5d6478e6de099bea9e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-runtime-store.computeTimelinePrefix: FunctionTooLong \u2014 computeTimelinePrefix runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3914}}}],"partialFingerprints":{"codehealthFindingId/v1":"4648bf05648193a2699ff0d42ccfac2e6d2e22f465c821a006af3c4a69c947d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LarkBackend.start_ws_receiver: MethodTooLong \u2014 start_ws_receiver runs 121 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) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"311055244f2d40f3a78f40e1b269b7628bbdbfe794e173e80c9b123ce359b553"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::conversations::get_folder_conversation_core: FunctionTooLong \u2014 codeg::commands::conversations::get_folder_conversation_core runs 121 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) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c986e02c75357750f3f4e892c9158c0038defb1dcd926c5f43ebed3881f1a1b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::web::browser_tunnel::pump::pump: FunctionTooLong \u2014 codeg::web::browser_tunnel::pump::pump runs 121 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) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src-tauri/src/web/browser_tunnel/pump.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbdab4009f8505b5aa4b684f34580b17a5b856b1f4a3e1f64de19aeadf6c090"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskEngine.deliver_pr_closing: MethodTooLong \u2014 deliver_pr_closing runs 121 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) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4739}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e50ddd7c6cd058b419684e096647c0256d445fab956c8e280c6a749bfbb78cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-tab-view.NativeBrowserTabView: FunctionTooLong \u2014 NativeBrowserTabView runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c7b13f7ad85f628483797eb019c5060ef2297e553d279881ce27de1322ffd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commit-untracked-files-dialog.CommitUntrackedFilesDialog: FunctionTooLong \u2014 CommitUntrackedFilesDialog runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.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":"src/components/layout/commit-untracked-files-dialog.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42792d196108a379145fbc20a3a1fa1efbf779b978b2a2883d2f77978cff354"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backup/external.rs: FileTooLong \u2014 603 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 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0192a13d1cc2f0a288cacd685d586e073f9cb37339bc94384e5f0ddc85015a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::web::handlers::work_task: TooManyFunctions \u2014 36 free functions. The bar is 30 free functions; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/work_task.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b731404f679e8412dff9f47beb7077bf0ac803fe0e5ec00926aceecb2189e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::work_task::git: TooManyFunctions \u2014 36 free functions. The bar is 30 free functions; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61ca4740161c3eafaf92e6175654d3e452e50eb9f762255635c494f8a091e05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClineParser.legacy_conversation: MethodTooLong \u2014 legacy_conversation runs 120 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) 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":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89be13725f6331ebe849abf9de575a8246436024f08b6b1403dc5331656bad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::supervise::run: FunctionTooLong \u2014 codeg::supervise::run runs 120 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) 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":"src-tauri/src/supervise.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"872abca6975e5e96e0816a7aed9989b13c2bbe3b10a7a692d977977f815043d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generative-ui-settings.GenerativeUiBody: FunctionTooLong \u2014 GenerativeUiBody 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":"src/components/settings/generative-ui-settings.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e579379198181da06c05ba4a589067e4c87d41063c892093a3d2cea85150b6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: LiveSessionSnapshot: TooManyFields \u2014 36 stored fields. 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":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b98a4bfdc6bfcdae9c5994a7b82c92bef0745753c96b7067a917dc4157bfaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/kiro.rs: FileTooLong \u2014 598 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 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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d00950b71021577d1a1277b5b0ea7da1f20755d256ca6d3df5063eee675349d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activity/describe-tool-call.ts: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"269f1702043e90b0b27891e7e097a8da6452181aa0dc5c968d2f9aa7fbced78d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/egress.rs: FileTooLong \u2014 595 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 95 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db275f0fdf2b9d5617b0486a44ef67a0995459d7293a32555ceab6ec918c99d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::computer::helper::screen::act: FunctionTooLong \u2014 codeg::computer::helper::screen::act runs 119 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) 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":"src-tauri/src/computer/helper/screen.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc91ffeec820fb5d73cae69ec20a16ee0a51fc53aa060fc03eb3b4dab64dc25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: move-conversation-dialog.MoveConversationDialog: FunctionTooLong \u2014 MoveConversationDialog 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":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b10963c18386d5d94a9416eb1a2ec0803c847e12ace916d5736b0a65c80a3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity-timeline.ActivityTimeline: FunctionTooLong \u2014 ActivityTimeline 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":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b9e3c3d8856a7c73b6838f1ff4fc45605e72c3f15d8fb61a957379425ae9ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: required-agent-options.RequiredOptionsSection: FunctionTooLong \u2014 RequiredOptionsSection 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":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aa88f373190b616c4a7c6411ff69b3dc1031cec2720bf27ce257f512d43458"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forge/deliver.rs: FileTooLong \u2014 594 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 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb12e750aa6fc006d610d4a5ac650b881444754f187c9147396fc221f7b7999d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/agent-icon.tsx: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4064282de71e5fd12b79b4c77ea1172d9bc723efd4a2c77bd68fb6a993e11086"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/folder_links.rs: FileTooLong \u2014 593 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 93 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"035b575859901257aec8bc5f7348011aad247f14f5e8b15871b0f812dc79a8fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: import-sessions/import-sessions-window.tsx: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ImportSessionsWindow (85-778). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3747b2712f1a916010094be8825679b139a46105b1fbd78a5c3b51904efebfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/deepseek-model-list-editor.tsx: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: DeepSeekModelListEditor (302-845). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80304d049c28f810474c4a66f867210bbfaebc71c77b54d12196dd2dbbd85260"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unstash-dialog.StashCard: FunctionTooLong \u2014 StashCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabacf31e20bca97ed9236a5a41fe17ced4c0a1b6e12a7b57d9a15ff3b17ce66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-settings.StopShortcutRow: FunctionTooLong \u2014 StopShortcutRow runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af5743b723aa1bfd0ca5800f1f503b33bfec6be16e34553948345bb47ecf047"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auto/mod.rs: FileTooLong \u2014 588 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 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee80ae01a5cb188540282f9f40ef3426fd6ce8cd0eeb4ffd7666ee101c9ac3ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/update-provider.tsx: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: UpdateProvider (181-997). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"028a057bfeca971804b95fc71fa72d901d1ac47007e1fec1a82a3ef2f6c24d68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/science.rs: FileTooLong \u2014 586 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 86 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":"src-tauri/src/commands/science.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1347987b0cc0fd55fa7df81e7054a011e4c73ef46314b1e9162b02ac4b8c98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acp_transcript.rs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. 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":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edbbcebe638dc77b71b26e98aa97647925449545d9422c0d13b059e99d16add"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::config_sync::webdav_sync::upload_snapshot_core: FunctionTooLong \u2014 codeg::commands::config_sync::webdav_sync::upload_snapshot_core runs 117 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) 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":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac99754eb84ce95fcc8771855f6933347a5f6fe5c4cfd944fbdfc7bf47f3e22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-details-content.SessionDetailsCard: FunctionTooLong \u2014 SessionDetailsCard 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":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"01573d81f54d50f3d45d16c2a77fe8070f8a3a4520b99eec2e860f74716b59c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-code-config-panel.CommandCodeConfigPanel: FunctionTooLong \u2014 CommandCodeConfigPanel 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":"src/components/settings/command-code-config-panel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"076b3fabfa1ad85a961eb5b5e662eaef9fdabb35a25366731d46e7cd952f6c28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChildHandle: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f93f656c56332c6e1af416ed9b0812789b7a5ce4d73235b7202fedfff57c49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AcpAgentInfo: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\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":"src-tauri/src/acp/types.rs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcda7d865a166a64e9ab39ba61bffa61618a64b87e9842ea659dd0e14c84563"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/assistants-panel.tsx: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 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":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e45e361172150cb8a5cac2551270ad0bae8b9a70de8b6e3dfb6f29bf1fa469e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/codex-catalog-source.tsx: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc3c10203342f5cb67c5015df96f436e2364de320c2eeca14c43e16cf77b24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::parsers::codex_file_citations::win32::normalize: FunctionTooLong \u2014 codeg::parsers::codex_file_citations::win32::normalize runs 116 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) 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":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7708f5beae34653e495a12fa3b1236f2884fa25c85ee41e3cc233d1b2e9eb552"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mermaid-block.useViewportController: FunctionTooLong \u2014 useViewportController 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":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f091f677091499ffd3fe5178d5e7049c81472703f3f25e34ebf3228955dae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-dock.CanvasDock: FunctionTooLong \u2014 CanvasDock 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":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbf04659af3987e7262879c08b592e635df5001d28254b72f1912ec7000f03c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-tag-form-dialog.TagFormBody: FunctionTooLong \u2014 TagFormBody 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":"src/components/conversations/conversation-tag-form-dialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1ced4908f1e458a13790304f25f74022076e29da9a93fb9b8107a144ea10d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: computer-use-settings.DriverSection: FunctionTooLong \u2014 DriverSection 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":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404b90b4eab667de67b14791ce0a334d6b824d1a15ee3dc1f58961ab8a9a8c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tab-store.applyRemoteSnapshot: FunctionTooLong \u2014 applyRemoteSnapshot 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":"src/stores/tab-store.ts"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f100a563d1e9d8559898cd0cd1aad51dc02db29561ec24e5a05f4ae70a164"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/registry.rs: FileTooLong \u2014 577 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 77 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bce4e08593e0672973e58c47555d4c68b889e6b97f645d685c673e8bed3c367"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WatchState.tick: MethodTooLong \u2014 tick runs 115 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) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aa17e472b0fed398d9e12a09c500b55c8b2afe94627889406954785349ebcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::token_usage::token_usage_sync_core: FunctionTooLong \u2014 codeg::commands::token_usage::token_usage_sync_core runs 115 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) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/token_usage.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"274666632a123566540d8f8c97f6145ea2366eb3d9f50381a2488effd814cd89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: markdown-link.MarkdownLink: FunctionTooLong \u2014 MarkdownLink runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/markdown-link.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe529d203630410d484a85be0e0f6fcc82f69f35462e86f67e4450cc0e57775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-settings-picker.SessionSettingsPicker: FunctionTooLong \u2014 SessionSettingsPicker runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/session-settings-picker.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b09209583cdde8f0bf823228db45f242e1cf86797e470a7306d284be6337a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: token-usage-filters.MultiSelectFilter: FunctionTooLong \u2014 MultiSelectFilter runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-filters.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf9523ca65bf37d2ef4279c87f9b1a82c3301adf3ac6662a5de8d1e0f64d3af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/opencode-permissions-section.tsx: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2ad0f99b862da961e41d09f8748cbe6d6f1018df758b1f82ebca7df24d7b48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/run.rs: FileTooLong \u2014 571 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 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8340fad24374f6fab748dd80445fef64ac4c14ef8d9b5fe6b6c8a310e5f6dc6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: term-keybar.TermKeybar: FunctionTooLong \u2014 TermKeybar 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":"src/components/terminal/term-keybar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22840e5d9ef5f82098c8b198f4203185be30e7f2f665f365cdc745a64193758"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/git.rs: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 52 free functions. The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/git.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1aafba16b08fe25ca83b90e448880917232d66b7f5d9cd122210b3af861813"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/canvas-conversation-surface.tsx: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: CanvasConversationSurface (181-948). The bar is 500 significant lines; this is 69 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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb78d28ecca3cadeb7e0ba26c52e285bcd36d9d51f4c3a277cfd92dd72de4807"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/workspace_files.rs: FileTooLong \u2014 568 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 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9fe08b0a56a486797556043fdc03c8077dd0f1982f2b7a15a7360b5d0be1de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/terminal_runtime.rs: FileTooLong \u2014 567 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 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3776e80b61185afabed9234c3393585dc8cc03c229a578a9d5a12045cf002872"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WatchState.account: MethodTooLong \u2014 account runs 113 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) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0e9bf7e742378df00476db2cac33cf848bc7fed83cb560dc6ec59eee2dbe0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-board-list.BoardCard: FunctionTooLong \u2014 BoardCard runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3550258bf5f4ab8489c2a54767e8235d617551ef91bf3d8c1bf68001fec07e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: forge-page.ListFooter: FunctionTooLong \u2014 ListFooter runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4052a9089ee603b3071dd82cf9c9c4fc4d65a0bc6dc2579b3a1a048e9bf0bf2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: office-tools-settings.DetectionCard: FunctionTooLong \u2014 DetectionCard runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa5d6ae5ed55e76477527a7712a091f3ae2809788744e3831707983d1b8bbc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/surface_window.rs: FileTooLong \u2014 563 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 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7330a2a9165e12e00097b5aa2cc68820f0c74fdf3d26f88746ffacd5812b5ed0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: office_watch/mod.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2df56fca377ad9567a73f9246a810f10aa41c0567caee4d810bd8b734dea17e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: merge/three-pane-merge-editor.tsx: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: ThreePaneMergeEditor (53-685). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acc31d0dc2e48c9b01907bb0809b85631f5374cb0e3ff1c15a6267c56994dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskEngine.compact_before_prompt: MethodTooLong \u2014 compact_before_prompt runs 112 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) 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dbce6d2fc5b60fcbbc7ed57f1752364aa6713117a2b0b83395a28f4d909fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-rows.CommandLabel: FunctionTooLong \u2014 CommandLabel 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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beef176ee25fc4c7c0e56f9d3a4fb6c6634ad8e4118dae19c78a45cc0caff54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: shortcut-settings.ShortcutSettings: FunctionTooLong \u2014 ShortcutSettings 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":"src/components/settings/shortcut-settings.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5effb77d2390272f324459ed367bd7047548208f6e76c7393b4185c864f4cce6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TelegramBackend: ClassTooLong \u2014 445 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), 7 methods, 3 blocks, lines 11-619. The bar is 400 significant lines; this is 45 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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08523d160c2242c31326666dd5dd27a5be021881a2b794b5a800d55109b23f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rows/command-rows.tsx: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaebf8ddfe35afbc018e4e47deb3653fb37bfebeeb3ed43e42ca82cb8b373169"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LockedHome.commit: MethodTooLong \u2014 commit runs 111 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) 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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d22a50f5d5836ac5859b4b06d4ec76d72f840cf5517cd2cd22f05f71261b12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionManager.fork_session: MethodTooLong \u2014 fork_session runs 111 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) 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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"59274b5711a0c34991d5e801cc9544b78149e3710989ec76661e30faef0eea9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: async-task-row.AsyncTaskRow: FunctionTooLong \u2014 AsyncTaskRow 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":"src/components/chat/async-task-row.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b54e3913c63011ee83b35efd9d65abad990ac1cd852db6f1a53a063b3a8427"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-packs-settings.SkillPacksSettings: FunctionTooLong \u2014 SkillPacksSettings 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":"src/components/settings/skill-packs-settings.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce5403b3a5c996120f0fd53618e33543d695875af228746416898bb855a5d6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/assistant_service.rs: FileTooLong \u2014 554 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 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c76021cc548e88d1c0cd274b656ad64b8d29548a1462bcdbf8dafbed0f31bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: token-usage/charts.tsx: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dce40a3bca2d853e2fe33f29acc357ecc591e8fbc5ba07a2b933c61545d1ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::acp::scratch_dir: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429ba508e099a987a73bfea71301519682b5b01d1ad162ed4cb63fef193c44c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::browser::shim::windows::on_event: FunctionTooLong \u2014 codeg::browser::shim::windows::on_event runs 110 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) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"30614c54e7083f9fa909c85f289a2824dd30fcdce28a3d9cafb4b68c9ac4eef1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::forge::forge_issues_instruction: FunctionTooLong \u2014 codeg::commands::forge::forge_issues_instruction runs 110 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) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/forge.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8274f8c9ca39623e7762928aa6bdcc91bb2936ff11a9af06ba8c87aee271c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::mcp::mcp_get_marketplace_server_detail: FunctionTooLong \u2014 codeg::commands::mcp::mcp_get_marketplace_server_detail runs 110 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) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb1928325b325660f82df2f4b70df1e80630028d761949bda6b137e7142bcac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-workspace-panel.buildDiffOutline: FunctionTooLong \u2014 buildDiffOutline runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb904b8011fd44da7828d6b94f69a066d413a3f7007b810cea496edf65e51c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: background-task-rows.BackgroundTaskRowView: FunctionTooLong \u2014 BackgroundTaskRowView runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2d2edf93f0c4a1df44b83286b9cb300d3af7ed500ab511a070e6f90c083a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-restart-dialog.TaskRestartDialog: FunctionTooLong \u2014 TaskRestartDialog runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-restart-dialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3d0796f14ee46c63cf5b4b005955bd2a1154f42dc82b29cdc9500bd44b64fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build-activity.collectSteps: FunctionTooLong \u2014 collectSteps runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb456235e022a2bf63f22153710c88bd202d5d95ccb28537d744f0f89b2a3248"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/sidebar.tsx: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 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":"src/components/layout/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fac3e5ec9765efdd51be03f7209ed3eea385715f633bc54df7268756b483eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/figure_export.py: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-visualization/scripts/figure_export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e49038ff7ea7899af286fd484060b92a4e17e7efecb6173368c8cec252b472c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/directory-browser.tsx: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2df60fb932abe5fbd1601fee3af06cf9243a9424676b65f90dcbe4cbce13f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::mcp::codex_entry_to_canonical: FunctionTooLong \u2014 codeg::commands::mcp::codex_entry_to_canonical runs 109 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) 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb1a62a21d2fd310bafc92fe02b2ca9b28baa672eb6fd069a1c33f9aaa09b09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edit.describeEditFiles: FunctionTooLong \u2014 describeEditFiles 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":"src/lib/activity/edit.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"905305ae5a332866df273a05f96d21bdc7bb38f1cd881395247a611c8ef69c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/preflight.rs: FileTooLong \u2014 544 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 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/preflight.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd80d3024a47632f738272b54a48cc7925bd82755b1760f0130a5b92ee1c873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/web-service-settings.tsx: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e6342cd83068a28fa0eefae39d396184304976118cffd362cfbe46528f1638"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/codex_file_citations.rs: FileTooLong \u2014 541 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 41 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":"src-tauri/src/parsers/codex_file_citations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429eb87702b5fe16e910125d94e21b350ddaa12d27096d7a216c1205db8ab78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/tool-call-normalization.ts: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 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":"src/lib/tool-call-normalization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f15dc329a54b3aa4c589dba8b5b379da96f16e3a8d2aefc015a9c19c9036e18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::browser::surface_child::new_window_handler: FunctionTooLong \u2014 codeg::browser::surface_child::new_window_handler runs 108 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) 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":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41df0ab102bae648c9807964fcf282d5b922059afb31917d9e9384e95bf459f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings-shell.SettingsShell: FunctionTooLong \u2014 SettingsShell 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":"src/components/settings/settings-shell.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2003f154d540657f1c08b94a6ed9a29d264d516c84070c3f3a15f1b037b2d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grep-no-match.pipelineStages: FunctionTooLong \u2014 pipelineStages 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":"src/lib/grep-no-match.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3636b63e9082f1922a84a9447b5a558032ec8aa2cfd3fc2e023b5d7f4e8ee528"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conversations/session-details-content.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":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeff0ba2d96de53ea372f2a77e108896288603bff02d53cee0519e8e21cd6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/chat_channel.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 48 free functions. 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":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea916101f5c3047dd83604f5ce63de673faf7bea6c9f772d4730f6c3618754"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backends/weixin.rs: FileTooLong \u2014 535 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), about 68% of them inside a single declaration: WeixinBackend (3 blocks, 247-802). 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":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f24e22121edc020b400506041687da758e2cf38149073c4ba2e88e2df5b78b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DelegationBroker.resume_delegation: MethodTooLong \u2014 resume_delegation runs 107 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) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"c086efbcfca24bf7d208f4af7da2662088c8f0f4d033c983127adc666921d896"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::agent_turn_files::extract::scan_command: FunctionTooLong \u2014 codeg::agent_turn_files::extract::scan_command runs 107 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) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b612502755c9cc466cff0231f21e05d7c760ec94dc50d9806a7867b1fd82c80d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::db::service::conversation_service::bind_external_id: FunctionTooLong \u2014 codeg::db::service::conversation_service::bind_external_id runs 107 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) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a372cc5ad91deff813fa1151d4a2c5c2767bc8613504fd870aba7815d22005a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-find-bar.BrowserFindBar: FunctionTooLong \u2014 BrowserFindBar runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-find-bar.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"86952fcbf81df9c8df3a85ca8bf4c1f7a19ed4e56e345e326f79cdb2b7da506b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clone-dialog.CloneDialog: FunctionTooLong \u2014 CloneDialog runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/clone-dialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b767ce3299c54b49807f57bd8e51e51c7e9d084c519874d0c145626b3f7fb7a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tasks-skeleton.TasksSkeleton: FunctionTooLong \u2014 TasksSkeleton runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-skeleton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"62148a54f73e735717dc36fcb2af8654499bd60478a05725f87ce6da95aef7d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TargetTable: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.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":"src-tauri/src/computer/targets.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"886c98b908acea81a81dfbcc77dd160ed83bf33dba9abe55452afd25150ea7de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodeBuddyLiveState: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":20635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8c496e637286ea17c5bee0bf66be453a6283340288649631054ded0136f392"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activity/edit.ts: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 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":"src/lib/activity/edit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8094c610d0c091facf84d6e153c9083bdfd416ee714a8b6bde02d92a5f0440"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::db::service::canvas_service::group_into_region: FunctionTooLong \u2014 codeg::db::service::canvas_service::group_into_region runs 106 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) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ab11a0d2751423f063857dc40ca2d1d06d8d46678b1a7787153d852ab50c28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-context-bar.FolderPicker: FunctionTooLong \u2014 FolderPicker runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02aea9300858819d947192fc984e1166a2f9181161358cc541ca9a038d492e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-control-strip.RemoteControlStrip: FunctionTooLong \u2014 RemoteControlStrip runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/remote-control-strip.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89d47d9265e557a899d3a6eff772ca9aeb0306089db58b2bdf47764d398ecb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: command-rows.CommandDetail: FunctionTooLong \u2014 CommandDetail runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbf484ba966856ee54eee4f249058c7f86629a984efd2059a907cd1ccfeb20a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app-workspace-context.AppWorkspaceProvider: FunctionTooLong \u2014 AppWorkspaceProvider runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/app-workspace-context.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c517a5829e31bda516bfe2ff5428b057a244812a23946c40c9e2bf1d9c271"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-delegation-card-model.useDelegationCardModel: FunctionTooLong \u2014 useDelegationCardModel runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-delegation-card-model.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d0a1dafff73d05221adf04161d9ef8fd5ca2e7bc3a67460ab3d795d42cf82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/codex_endpoint_catalog.rs: FileTooLong \u2014 527 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 27 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07b20ed77896c429558fd8e4a9360c4b0fe8eb4d34b57419ba3c34ae2df9882"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::file_system_runtime::agent_root_slots: FunctionTooLong \u2014 codeg::acp::file_system_runtime::agent_root_slots runs 105 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) 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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b017ce2ee2642d4639487429c4736ab3e173c5a05ffc9fecbd9cbb6b7b06b3ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::browser::doc_open_core: FunctionTooLong \u2014 codeg::commands::browser::doc_open_core runs 105 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) 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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b3eef6abebcf72c6052d19c78875a6b3b2f760e175ca71554b53d84cfd6616"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/html-preview-inline.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83df73e72c1aa05300d98f6b5c88426c6b6bbc6070c2499e6fb9a74a2d321761"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::computer::targets::resolve: FunctionTooLong \u2014 codeg::computer::targets::resolve runs 104 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) 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":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0ac69a5c08a4317134fc5a22600fb6fe42c42b5b21c2ddfa0d6b4dd08a6a68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Migration.up: MethodTooLong \u2014 up runs 104 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) 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":"src-tauri/src/db/migration/m20260703_000001_chat_channel_thread_binding.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e08cf48152f787e193cb3e9b2c7cac0d9b77ca9752f7e2af63cabc34bab8114"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-dock.CardActions: FunctionTooLong \u2014 CardActions 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":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e43635c0afe93af34d3c3ab928f623d6f0c6559cbb270874863a0735ca676"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unified-diff-preview.DiffFileSection: FunctionTooLong \u2014 DiffFileSection 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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f66d45ab0e2d25896fb4523f47a654b68931175c4746674d3dbafbf0e37964a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-path-breadcrumb.DirectoryTree: FunctionTooLong \u2014 DirectoryTree 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":"src/components/files/file-path-breadcrumb.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"64065524d6a5adf94939e2c08bfb4c2278e5ecd857d375b28837da2a1b2075af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-catalog-source.useCodexProviderList: FunctionTooLong \u2014 useCodexProviderList 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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb73d8e8120ef8d609d5fcb278d33a188144b6062a9e20d2029f47e9ca8c26"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codeg::browser::shim::linux: TooManyFunctions \u2014 31 free functions. The bar is 30 free functions; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd4a9d454aa5a6711b26bec1698172154213d3c36c0473cb9a03e37f9f847bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GeminiParser: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"050c3d003d3f8562704df7b112aefd446c4dca55684fc238fb785e2f9235c26b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::folders::git_log: FunctionTooLong \u2014 codeg::commands::folders::git_log runs 103 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) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da753e59276fa6295cb2e03bdcb3267d21698b277ca2d47b66f91c03b443d9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::remote_proxy::upload_one_workspace_path: FunctionTooLong \u2014 codeg::commands::remote_proxy::upload_one_workspace_path runs 103 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) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7139ed0e25347d11613667a6d1ba2eaeff23d76052b8db42dd0e41ecdfac765"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/hermes.rs: FileTooLong \u2014 514 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 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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb67b0fe30e54f052d59945cf855dac919c82c316da7de1fcbaf188902385b30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/system_settings.rs: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d090c7975f068f27f451020cb9e1563e846609e03b27486440198ab63fb8e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent_turn_files/extract.rs: FileTooLong \u2014 512 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 12 over it, 1.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":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dff8f3fd94f136781aebd008888ddc7aca8075f0e6395e8e9ce96f469a1099c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/doc_guest.rs: FileTooLong \u2014 512 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 12 over it, 1.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":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c22b127656ce55fe0c0f7113632ad980c8b9d938432654b6037aaa250865e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::acp::antigravity_login::start_claimed: FunctionTooLong \u2014 codeg::acp::antigravity_login::start_claimed runs 102 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) 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":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"16857d84d4b3c73abaa76ca4ac0abb21bdafdc4bbacb49dfe2fc68c4487fe8dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::conversations::move_conversations_core: FunctionTooLong \u2014 codeg::commands::conversations::move_conversations_core runs 102 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) 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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e58a8cd87db7e817a94042ec2974dea0a4bed03c23884b701a57e9079cb022f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::deepseek_settings::splice_models: FunctionTooLong \u2014 codeg::commands::deepseek_settings::splice_models runs 102 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) 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":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"58daee7c68d4761bc4a037908b6a40b1988088c8f55286e32dae3f50639a5bf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::commands::folders::git_remove_worktree_core: FunctionTooLong \u2014 codeg::commands::folders::git_remove_worktree_core runs 102 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) 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8481fb5d94fe49c325828c70205b7f888d27f3ba7927c70e227154746a8deb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generated-images-block.GeneratedImagesBlock: FunctionTooLong \u2014 GeneratedImagesBlock 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":"src/components/message/generated-images-block.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882cda1f76f52a908426f4037606b0c159efbb2010fa5c6d65569bb0c52bf12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: describe-tool-call.describeUncached: FunctionTooLong \u2014 describeUncached 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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe20b64673e1299f6db1e19a9b44bd810f1e6840a6a9ca4fa687c1856a97143"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: summarize.summarizeActivity: FunctionTooLong \u2014 summarizeActivity 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":"src/lib/activity/summarize.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc963cb3e75117106539ddbc0e4e3b93aa494879780dea9015ca4ab572f1332c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/pet-marketplace-dialog.tsx: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.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":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43051e4ec13e5ef9c3c945586231579590e8d2d61c60e9c1068d6317492d69de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/app-workspace-store.ts: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: useAppWorkspaceStore (327-899). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/app-workspace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"843fb11621dbdc6bbe4fb54ef57429bd20fbd271821f772301233ad60385dcff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: automations/automation-editor.tsx: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c98787a4f601eccdac3d86404bad15c8d227680e6cb7105b1f5dbf5fff8eaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: message/codex-visualize-card.tsx: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"831a80502ebacc049d9f0d2daf9ff2acf4a56af46af9fef6d79792c09d580023"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/agent-options-editor.tsx: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13db6745cf5abc45c57d451d835f6993071a5220d3435dfa3f133ce2f129aa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeg::chat_channel::session_commands::handle_resume: FunctionTooLong \u2014 codeg::chat_channel::session_commands::handle_resume runs 101 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) 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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60f11096461cd07dedeb8b98540e493fe3773e7d40696821b5bb67f2b22b797"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-node-menu.AddFileSubmenu: FunctionTooLong \u2014 AddFileSubmenu 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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d26b9fb995dc126e4505caa00b5a307bfb42066c98ffc3550422f8a7bd6e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-settings.ProfilesEditor: FunctionTooLong \u2014 ProfilesEditor 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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"49288a0371aed68093e58b56d2d65e53f913f7f6bc5e7812832d20d39252060f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: required-agent-options.useRequiredOptionsGate: FunctionTooLong \u2014 useRequiredOptionsGate 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":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c184d8dbd0323cae8ecc75bd423d585fae84de73b345a89fccebfe453ecbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-call-normalization.inferFromInput: FunctionTooLong \u2014 inferFromInput 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":"src/lib/tool-call-normalization.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"126512f0530c9cc9dcc649c3aa04bdf86c5935f8016b216601b943da2216b648"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acp/computer_tools.rs: FileTooLong \u2014 504 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 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/computer_tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b055434e758465b3bba6634247de9fa2d6d3a88c85428af78e50cb7a8427777"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/commit-message-settings-dialog.tsx: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"600352ef1c9e552d9075f64b12e88fa8595524c5c166f46db48193036b86d740"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 28 shared lines): src-tauri/src/parsers/codebuddy.rs:1319-1394 | src-tauri/src/parsers/codex.rs:7162-7239 | src-tauri/src/parsers/gemini.rs:1000-1082 | src-tauri/src/parsers/hermes.rs:785-859 | src-tauri/src/parsers/kimi_code.rs:1310-1385 | src-tauri/src/parsers/openclaw.rs:1103-1174 | src-tauri/src/parsers/opencode.rs:2295-2371 | src-tauri/src/parsers/pi.rs:1448-1523 \u2014 These 8 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b5fb733717706c8065f87f7be7f76479a803c3a9d850c05fe8150f470fdd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 8 shared lines): src-tauri/src/commands/windows.rs:654-705 | src-tauri/src/commands/windows.rs:986-1040 | src-tauri/src/commands/windows.rs:1109-1155 | src-tauri/src/commands/windows.rs:1174-1254 \u2014 These 4 members are variants of one another: a block of 8 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90dfa59529cee8337d447126473854041de75e276f977f12323d879b68c8e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): src-tauri/src/acp/connection.rs:10563-10694 | src-tauri/src/acp/connection.rs:10726-10833 \u2014 These two members are variants of one another: 60 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10563}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e27484216b88a1969d875a9b5ccfc01cf1514b3b2f7257d70622a7b6ab9b19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): src-tauri/src/web/mod.rs:612-717 | src-tauri/src/web/mod.rs:845-1074 \u2014 These two members are variants of one another: 52 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":"src-tauri/src/web/mod.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7975d35af2179a4d36e49cba2e549d725d88f1bd3237a482bb23ab022ccff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): src-tauri/src/parsers/claude.rs:3687-3737 | src-tauri/src/parsers/qoder.rs:1649-1697 \u2014 These two members are variants of one another: 41 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"66913aa98ffb2ec3a896a265050f08749363e87b4b30dacef5ff07b898bcae70"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): src-tauri/src/commands/acp.rs:13127-13221 | src-tauri/src/commands/acp.rs:13424-13590 \u2014 These two members are variants of one another: 39 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1a8a645c199e427c1752ab1cc05504a42232abbcb083777a4f50d4daaae89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): src-tauri/src/commands/folders.rs:5556-5624 | src-tauri/src/commands/folders.rs:5655-5739 \u2014 These two members are variants of one another: 34 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00142bf32154c3ad2970a870b770b9580e493423a04f9b282682fbc252dbc10"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): src-tauri/src/forge/gitea.rs:407-462 | src-tauri/src/forge/github.rs:651-737 \u2014 These two members are variants of one another: 27 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a63feb0874d6ffb06b314e43e4d0a94b82202bf76524956f2a6a78dd243930c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): src-tauri/src/acp/cursor_ext.rs:95-197 | src-tauri/src/acp/question.rs:504-586 \u2014 These two members are variants of one another: 27 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":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842f664d9fb85f7b8671881a61eef2894704c9014ee10da476cc805b4a972ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:1112-1186 | src-tauri/src/chat_channel/session_commands.rs:1244-1280 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9b1769f870ef2b901a6ed1d729e617a546e3f548921ab550ce880591601fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src-tauri/src/commands/custom_skills.rs:308-334 | src-tauri/src/commands/experts.rs:763-789 | src-tauri/src/commands/experts.rs:1010-1035 | src-tauri/src/commands/office_tools.rs:1211-1238 | src-tauri/src/commands/office_tools.rs:1285-1310 | src-tauri/src/commands/science.rs:581-607 | src-tauri/src/commands/science.rs:825-850 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f0ff3cada49f56024bff31d4c59c125c0d59666694d1dea91fadf9480b1278"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py:30-77 | src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:21-69 | src-tauri/science/skills/exploratory-data-analysis/scripts/eda_analyzer.py:50-113 | src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:29-53 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:21-80 | src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py:32-68 | src-tauri/science/skills/exploratory-data-analysis/scripts/tabular_profile.py:22-65 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cac68afe049bbb802e2008282b6c32deae76375d56124aaec32c331aed98f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src-tauri/src/commands/conversations.rs:2799-2816 | src-tauri/src/commands/folder_links.rs:450-470 | src-tauri/src/commands/folders.rs:1703-1719 | src-tauri/src/commands/folders.rs:1722-1738 | src-tauri/src/git_credential.rs:387-405 \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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"101a31dbb9ac4b65b5833df1a93f58b0c16512ea9bbac30f7f3bd22d4b4c3757"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src-tauri/src/parsers/claude.rs:3214-3228 | src-tauri/src/parsers/codex.rs:6380-6396 | src-tauri/src/parsers/gemini.rs:403-417 | src-tauri/src/parsers/hermes.rs:720-734 | src-tauri/src/parsers/opencode.rs:1438-1452 \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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b77f8448f704edb4861c4c5c4a762e5cfc0dfb18fc751f062ab135f9a7725b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/chat_channel/backends/telegram.rs:56-87 | src-tauri/src/chat_channel/backends/telegram.rs:105-141 | src-tauri/src/chat_channel/backends/telegram.rs:494-543 | src-tauri/src/chat_channel/backends/telegram.rs:549-590 \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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27779c6fc18fe1fc207432cf474c759e3d95e0cc7255f0f2f51d6c51b9b5879"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/acp.rs:6025-6063 | src-tauri/src/commands/acp.rs:13127-13221 | src-tauri/src/commands/acp.rs:13265-13375 | src-tauri/src/commands/acp.rs:14582-14791 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6025}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8753068b2abd60a04111770b6f58fe0c3dadc4079644b08fa1f1d688cf65b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/custom_skills.rs:353-405 | src-tauri/src/commands/experts.rs:832-894 | src-tauri/src/commands/office_tools.rs:1089-1148 | src-tauri/src/commands/science.rs:657-717 \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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"93090fce80bccf327f0e276aa2d03cad17ba2b261a331cfd3ae64cecf104481c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/custom_skills.rs:448-480 | src-tauri/src/commands/experts.rs:972-1004 | src-tauri/src/commands/office_tools.rs:1245-1280 | src-tauri/src/commands/science.rs:788-820 \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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d0478f31a31acd6ac9fc0f4a984252ca3f99aae77d918589d2f73fe71d2e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/folders.rs:2547-2586 | src-tauri/src/commands/folders.rs:2593-2632 | src-tauri/src/commands/folders.rs:2639-2668 | src-tauri/src/commands/folders.rs:6013-6170 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8c12c8a0cde72d11922abf7cb8084d8be4193bcadb5cf53dd45dc10b5e51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/remote_proxy.rs:385-449 | src-tauri/src/commands/remote_proxy.rs:649-774 | src-tauri/src/commands/remote_proxy.rs:1044-1157 | src-tauri/src/commands/remote_proxy.rs:1294-1448 \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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7195987ed96f5f9e47036337bfd71cf68191d1ee395bc0f851a973d76624d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/commands/version_control.rs:249-319 | src-tauri/src/commands/version_control.rs:346-423 | src-tauri/src/commands/version_control.rs:445-505 | src-tauri/src/commands/version_control.rs:525-610 \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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"182c0302bb29064f0aa96b4ac6a3f918b77f682813c95cae80fc449f91dfbfec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/parsers/codebuddy.rs:466-497 | src-tauri/src/parsers/codebuddy.rs:499-524 | src-tauri/src/parsers/pi.rs:455-480 | src-tauri/src/parsers/pi.rs:482-516 \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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf618a481280108ab12ee30ea74bf11bcf68789f139ab41c68508619ec933acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/src/parsers/codex_code_mode.rs:1513-1538 | src-tauri/src/parsers/codex_code_mode.rs:1540-1580 | src-tauri/src/parsers/codex_code_mode.rs:1662-1685 | src-tauri/src/parsers/codex_code_mode.rs:2110-2135 \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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"932df86c3a2130a2588328b3f34c666fb2f06c72fe95e29364812bb44b395cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/science/skills/citation-management/scripts/extract_metadata.py:658-740 | src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:163-262 | src-tauri/science/skills/citation-management/scripts/search_openalex.py:266-321 | src-tauri/science/skills/citation-management/scripts/search_pubmed.py:302-430 \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":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abda745edbda38e923f71888600371e1e2129d8790b4d817bfca68accf211b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:25-40 | src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py:197-214 | src-tauri/science/skills/scholar-evaluation/scripts/generate_report_scaffold.py:187-214 | src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py:241-255 \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":"src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08fc7292011ab19c5bcc058490fbf471b69d6357c9f1380923a9205f9934723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (504 corresponding lines): src-tauri/src/acp/delegation/broker.rs:2484-3135 | src-tauri/src/acp/delegation/broker.rs:4288-4791 \u2014 These two members are one piece of code written twice and then edited apart: 504 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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f66dd69ce98a89b686418d095f4c69ecc32844cad74ea4d76fa6c844b152557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): src-tauri/src/commands/mcp.rs:1599-1737 | src-tauri/src/commands/mcp.rs:4148-4242 \u2014 These two members are one piece of code written twice and then edited apart: 95 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5129ba0836bff1822dab5171cb4394f5abf468c405beb31eff28f7bd90334cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (120 corresponding lines): src-tauri/src/commands/project_boot.rs:141-260 | src-tauri/src/commands/project_boot.rs:495-625 \u2014 These two members are one piece of code written twice and then edited apart: 120 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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63ffec5a15b82317fc6b65e55a9898dd4f740c92c9b0bbeb7db5f695c07e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): src-tauri/src/db/service/work_task_service.rs:1296-1378 | src-tauri/src/db/service/work_task_service.rs:1428-1496 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a37d2a39732cae149c764cf25f4f0252c91b2839de9e5faf5ad904c2262305b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): src-tauri/src/db/service/work_task_service.rs:2209-2310 | src-tauri/src/db/service/work_task_service.rs:2461-2541 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf54ce4e36e145c9dcfa403d48ce8e60e27a16910e26061635fe2b5a08ce2c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): src-tauri/src/commands/experts.rs:608-679 | src-tauri/src/commands/science.rs:426-498 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"674cea0fdd770ca62b283cf2a8a7b78751136fbc96b20c473eb03a277b1f9026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): src-tauri/src/acp/connection.rs:10310-10394 | src-tauri/src/acp/connection.rs:10949-11031 \u2014 These two members are one piece of code written twice and then edited apart: 83 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f505d3aea77bf3e00fa54add76480d9fb8024e18663396b9f345a3761da997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:159-207 | src-tauri/science/skills/peer-review/scripts/_common.py:124-180 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ced0bd12679cc19b3bcd07e803efaf7d83b2f9e70f286fc2037af9f583d195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src-tauri/src/commands/mcp.rs:5093-5146 | src-tauri/src/commands/mcp.rs:5379-5427 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5093}}}],"partialFingerprints":{"codehealthFindingId/v1":"580d0a4f41a19b8ed743d96600ebe5623e6dd083066304001151526d60499856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): src-tauri/src/parsers/claude.rs:3447-3515 | src-tauri/src/parsers/openclaw.rs:959-1034 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21ed796fb47333469f5e13e61b258fed76250402b9b3348ce0432828a7cf42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src-tauri/src/db/service/work_task_service.rs:1834-1882 | src-tauri/src/db/service/work_task_service.rs:2099-2159 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78570c21b5211bec713cc9bc984803496d25d8aea10e06c0eb94921bf33e37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src-tauri/src/db/service/work_task_service.rs:1514-1586 | src-tauri/src/db/service/work_task_service.rs:3092-3140 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f34ab4edf860877cf2c0b423698674b09ff6abc747342f6cef58d9a968ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src-tauri/src/computer/targets.rs:1240-1280 | src-tauri/src/computer/targets.rs:1393-1435 \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":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f04346d83a64a54682d9b1db4530d8dd4538258873e09d06db913374df2e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): src-tauri/src/commands/folders.rs:4685-4741 | src-tauri/src/commands/folders.rs:4761-4820 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c38d4922ec0ec65f0a126452724001b9599cd7ffa88e68407dea492ca26a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src-tauri/src/update/install.rs:609-666 | src-tauri/src/update/install.rs:668-713 \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":"src-tauri/src/update/install.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"48913a79ea63642370c81102cae882610d8df6fb3b8650f86130956a67909df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src-tauri/src/computer/helper/driver_proc.rs:451-507 | src-tauri/src/computer/local.rs:1078-1121 \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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f79b5a3f72f82b3f174bd6141a49f4457241b12a3afa4a982f5276c002fd855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): src-tauri/src/forge/gitea.rs:64-122 | src-tauri/src/forge/gitlab.rs:164-246 \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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4db62be6af6b095f005d80b698f55477933e9ebad6c915cd3007e70fa3c19e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): src-tauri/src/acp/manager.rs:4755-4815 | src-tauri/src/acp/manager.rs:4885-4953 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":4755}}}],"partialFingerprints":{"codehealthFindingId/v1":"54caca0bf30a7c1826ea95dad00a1ad508587692dd5b1a65f64187e4f7ad9512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src-tauri/src/acp/file_system_runtime.rs:1166-1217 | src-tauri/src/commands/folders.rs:4534-4577 \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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a00adbc1cb6db614a8f9a070db502f35174b3e747f5aaace6b3f4efe7cad81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:119-162 | src-tauri/src/chat_channel/session_commands.rs:170-201 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8e9679800467c4b233ed27e6ae9fe80a7598173c3cb394c5801c11d6c79a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src-tauri/src/db/service/work_task_service.rs:2948-2985 | src-tauri/src/db/service/work_task_service.rs:3010-3045 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e20790f052bcb6ce8ce2bc4350677843c26e29dbecfbd9b9d4cb82d809189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): src-tauri/src/db/migration/m20260219_000001_folder_command.rs:8-62 | src-tauri/src/db/migration/m20260401_000001_chat_channel_sender_context.rs:8-92 | src-tauri/src/db/migration/m20261022_000001_tool_approval.rs:8-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 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":"src-tauri/src/db/migration/m20260219_000001_folder_command.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b16c2bc3d114373f9b12cfc40bd8d1c41d752ec2ae7196a41d8cd02595695d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 39\u002B corresponding lines): src-tauri/src/db/service/work_task_service.rs:2579-2626 | src-tauri/src/db/service/work_task_service.rs:2644-2686 | src-tauri/src/db/service/work_task_service.rs:2704-2742 | src-tauri/src/db/service/work_task_service.rs:2754-2797 | src-tauri/src/db/service/work_task_service.rs:2845-2895 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 39 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbb20380cfe3f4a01af30218948cda774f8a7d1dd1f102a5e7874f3be2479be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src-tauri/src/chat_channel/command_handlers.rs:9-47 | src-tauri/src/chat_channel/session_commands.rs:1375-1410 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_handlers.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d9b6f57c7709b894e7dc2fd26d3fbdb8bc59a4cd88b2fbe200af6176a029e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src-tauri/src/db/service/work_task_service.rs:2334-2375 | src-tauri/src/db/service/work_task_service.rs:2905-2939 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a815f997f020c1bd76a717fcf3f91e4d4a5ec74edb06d5192c54e22538324314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src-tauri/src/commands/config_sync/domains.rs:802-840 | src-tauri/src/commands/config_sync/domains.rs:878-916 \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":"src-tauri/src/commands/config_sync/domains.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba1dff2f051d201dfd7f97aa403f496a4c656d99557de6ed45b0dc6ebbd788"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src-tauri/src/parsers/hermes.rs:508-547 | src-tauri/src/parsers/opencode.rs:101-140 \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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c9b17b4d2000277bc41367d1982c8ab5e293608c456eaf44ecc5ea4c235c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src-tauri/src/commands/experts.rs:695-733 | src-tauri/src/commands/science.rs:514-551 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab096b7b326ecafba8f9a0cc1638fcc24679e92af7b69375f21c3fd03eddbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src-tauri/src/commands/experts.rs:556-596 | src-tauri/src/commands/science.rs:380-414 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92cf6a5642fcd3774ba97c4836658b4200647d8f55cc0ddf5b67d93a3e7459a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): src-tauri/src/db/migration/m20260513_000001_remote_workspace_connection.rs:8-76 | src-tauri/src/db/migration/m20260803_000001_folder_link.rs:8-78 | src-tauri/src/db/migration/m20260829_000001_folder_group.rs:8-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 69 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":"src-tauri/src/db/migration/m20260513_000001_remote_workspace_connection.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0668694b1b0116412f0b64838494a176a1779804a04a846c3e66e1e0159540e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): src-tauri/src/commands/custom_skills.rs:411-441 | src-tauri/src/commands/experts.rs:916-961 | src-tauri/src/commands/office_tools.rs:1170-1206 | src-tauri/src/commands/science.rs:739-780 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 31 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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c471f72feb7606a4835cc3bcea17e47fd810ba463b2b9aab255afcca70f7fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): src-tauri/src/db/migration/m20260226_000001_agent_setting.rs:8-69 | src-tauri/src/db/migration/m20260726_000001_custom_agent.rs:8-62 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"src-tauri/src/db/migration/m20260226_000001_agent_setting.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc99ab2f37be649c5d3947071598a29522ea8bdedcd712af4b84913fff30821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src-tauri/src/commands/acp.rs:10843-10866 | src-tauri/src/commands/acp.rs:10998-11028 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1966b66f95b75580713617a0568f05e51b0ae0c4e33b5529d8956734c7f2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): src-tauri/src/forge/cnb.rs:188-236 | src-tauri/src/forge/gitea.rs:146-185 | src-tauri/src/forge/gitlab.rs:264-308 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9806dcbd163be59ef0abfdb93ea3c1704d1abd512888c81c760ac526e58663e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src-tauri/src/acp/connection.rs:10851-10910 | src-tauri/src/acp/connection.rs:11040-11078 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10851}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4be5d400e84cb0659aad74406bd999136c4dc8546fd907409cdedc75fc82ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src-tauri/src/commands/chat_channel.rs:96-139 | src-tauri/src/commands/chat_channel.rs:141-173 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc772f58857d93c5194837497cd017261262d4bb133af3207fe4c566be70801e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src-tauri/src/parsers/kimi_code.rs:199-251 | src-tauri/src/parsers/pi.rs:400-445 \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":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f5d372f85ecc2e82922114e7067f89ba5137dc77af6d4fff3938627441acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src-tauri/src/commands/experts.rs:256-285 | src-tauri/src/commands/science.rs:221-250 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec37057de625ff82459997a90a69acf3812611cae5195bee1b34960ce294f5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src-tauri/science/skills/statistical-power/scripts/simulate_power.py:232-266 | src-tauri/science/skills/statistical-power/scripts/simulate_power.py:271-298 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"src-tauri/science/skills/statistical-power/scripts/simulate_power.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a907b176170cde41ee9e46237e613f6874be982ce95654a39d68fea304a215a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src-tauri/src/cli_run/discovery.rs:518-559 | src-tauri/src/cli_run/discovery.rs:585-616 \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":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dc226b71adcb312eabd7e6e221f61596bcb976c749d011622043c0d1ca26a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src-tauri/src/backgrounds/mod.rs:89-127 | src-tauri/src/pets/mod.rs:75-116 \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":"src-tauri/src/backgrounds/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"96af756e3adafe7112c9bf21118417ec2e0ee13049bc8c334aa8bdc25a0bffa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src-tauri/src/parsers/codex.rs:384-415 | src-tauri/src/parsers/kimi_code.rs:125-152 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9db608fb43053cd67850719c88e518e8a05b460e928486fbe3b176ab94330c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/browser/surface_child.rs:1158-1178 | src-tauri/src/browser/surface_child.rs:1194-1215 \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":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d84e28975d31acff1d4d970f9dc95d722f98844f2f571cf3e3ee49662476e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src-tauri/src/forge/gitea.rs:1307-1336 | src-tauri/src/forge/github.rs:103-138 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35fb69d219a1c063dd53e140b696245e4312dd975a91862eac117d4ce04d1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:301-332 | src-tauri/src/chat_channel/session_commands.rs:340-361 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e28d0b5e36d5ab31a392b0740bc13459973451decfed981a3632317f6616b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/acp/registry.rs:332-361 | src-tauri/src/models/agent.rs:144-170 \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":"src-tauri/src/acp/registry.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd058cde0acc4d88bef9234d2ff2664c0110f5289274154dc66a88936384181"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): src-tauri/src/db/service/work_task_service.rs:1629-1664 | src-tauri/src/db/service/work_task_service.rs:1674-1703 | src-tauri/src/db/service/work_task_service.rs:1754-1793 | src-tauri/src/db/service/work_task_service.rs:2167-2191 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19da946823ebeb30710becae740b84c77bfe16317d162f4501df2b9ab75af34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): src-tauri/src/commands/mcp.rs:2967-2991 | src-tauri/src/commands/mcp.rs:3086-3110 | src-tauri/src/commands/mcp.rs:3189-3213 | src-tauri/src/commands/mcp.rs:4048-4072 | src-tauri/src/commands/mcp.rs:4673-4697 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d7a3935e285d13a0db99acee7f999b07d93e8c6954a28eb97643102d3293d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src-tauri/src/db/service/chat_channel_service.rs:45-72 | src-tauri/src/db/service/model_provider_service.rs:43-70 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"src-tauri/src/db/service/chat_channel_service.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e69737841e261d57a2c0d5297a2297c94856203f82fbae2f4f6d27bff1e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src-tauri/src/work_task/engine.rs:5013-5051 | src-tauri/src/work_task/engine.rs:7611-7638 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":5013}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e412627e18fa3a013247ea49438f50d857b01d9d39b8985301b41105d04971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src-tauri/src/browser/shim/macos.rs:191-226 | src-tauri/src/browser/shim/macos.rs:299-334 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429a69fa40cbd746943bc4f44111b09b9c9f35660b2c97dacf975ecf4debdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/forge/gitea.rs:475-509 | src-tauri/src/forge/gitlab.rs:725-751 \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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5199d9764e6a4496ef0c4928e626a37bec918e27848f57f486135e9b50d88eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src-tauri/src/commands/browser.rs:1292-1318 | src-tauri/src/commands/browser.rs:2359-2378 | src-tauri/src/commands/browser.rs:2698-2717 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ee144a879cd29462994a735a09b3aca688c2b45341ce4e900954ea9f0306ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src-tauri/src/acp/file_system_runtime.rs:984-1019 | src-tauri/src/acp/file_system_runtime.rs:1024-1062 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d4439c61c797ff0d84945828c1ca69559210fa41ae1ade1e925ad72f5df78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 26\u002B corresponding lines): src-tauri/src/commands/mcp.rs:1762-1788 | src-tauri/src/commands/mcp.rs:1823-1854 | src-tauri/src/commands/mcp.rs:1919-1945 | src-tauri/src/commands/mcp.rs:1974-2002 | src-tauri/src/commands/mcp.rs:2574-2599 | src-tauri/src/commands/mcp.rs:2766-2791 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4f534e2a34e19c1723f160157d72ef3620badf325842a8c1a634a83a96c343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src-tauri/src/db/service/work_task_service.rs:1071-1096 | src-tauri/src/db/service/work_task_service.rs:2380-2405 \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9743586d88be3a6aa0b4b1fbbc40c0df17f2b5e7dc948146531a0f38d01586f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src-tauri/src/commands/acp.rs:6261-6289 | src-tauri/src/computer/helper/driver_proc.rs:117-139 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc819c720db12931e0c40d8d5f6f86079d1b9d85ded81569702103822096657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/commands/computer.rs:926-958 | src-tauri/src/commands/computer.rs:968-994 \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":"src-tauri/src/commands/computer.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f2d659bbafc679d01c45661c7562abf6c57461b3ab8120135c86ef332b234b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/forge/gitea.rs:1096-1114 | src-tauri/src/forge/github.rs:1729-1747 \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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b5041744f1de211a8c4983bfe160588f66d5c2a622e07e5d2646f8eea7343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src-tauri/src/forge/gitea.rs:1218-1243 | src-tauri/src/forge/gitlab.rs:1192-1217 \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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5555b6cdbbd0d2adedb2ead055638dfa596eda49e2116805bcd230c44039d207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/acp/delegation/listener.rs:1474-1498 | src-tauri/src/acp/delegation/listener.rs:1518-1542 \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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5366dd8d5f39ba802ff5a6a744e17cd51dd5e4fe7171f6db2908f07a2fa2943f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/commands/experts.rs:332-353 | src-tauri/src/commands/science.rs:300-317 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"516ab3f8a2ebaa852d813715449a2941be7e9cd32b24803cbf5a994574e32797"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/db/service/folder_command_service.rs:162-188 | src-tauri/src/db/service/quick_message_service.rs:88-114 \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":"src-tauri/src/db/service/folder_command_service.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3af2c0152d4df63890c44e0632e4288cb903dbeb2cd545e63c893ecbcd9092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/commands/mcp.rs:3998-4038 | src-tauri/src/commands/mcp.rs:5023-5044 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"665c91b85bc34054da9072f4570ea46a6a084bd5129b921a475c6cbfeb4842ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/forge/cnb.rs:972-993 | src-tauri/src/forge/gitea.rs:1457-1473 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f25bbde24a9d67d777a453f44a9d797f8bb14243c5bf76b3048b9fc92d116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src-tauri/src/forge/cnb.rs:360-376 | src-tauri/src/forge/github.rs:571-588 | src-tauri/src/forge/gitlab.rs:604-620 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09192f245c7d071d3642e3ec1c55cb85ae2864e4154235c0faf49dc3e560b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src-tauri/src/db/migration/m20260404_000001_model_provider.rs:8-42 | src-tauri/src/db/migration/m20260801_000003_work_task_template.rs:8-41 \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":"src-tauri/src/db/migration/m20260404_000001_model_provider.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"29427047da27a4c87f09d22debddf9def924283004ccd1b9102a73bd556512a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src-tauri/src/parsers/codebuddy.rs:1251-1291 | src-tauri/src/parsers/kimi_code.rs:1093-1129 \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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ecb0edd25cef8d9833af927215e803200b726ffb8443f6ccb58ed644fa87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/forge/gitea.rs:950-967 | src-tauri/src/forge/github.rs:1679-1701 \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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"67174ab63942c0a6d8918c97cf81a3a6492854fec286bb0645127361a88a1f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/commands/experts.rs:302-318 | src-tauri/src/commands/science.rs:270-286 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9242f80c573405743440a343011dc8454339aa0ea0ec74a247c86d287120d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/commands/experts.rs:359-380 | src-tauri/src/commands/science.rs:323-344 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f33ad32503f167dde694d392f98aacccc98dc58b5facb50f69bfc4255cd932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): src-tauri/src/commands/forge.rs:953-978 | src-tauri/src/commands/forge.rs:997-1017 | src-tauri/src/commands/forge.rs:1030-1047 | src-tauri/src/commands/forge.rs:1058-1075 | src-tauri/src/commands/forge.rs:1088-1105 | src-tauri/src/commands/forge.rs:1175-1196 | src-tauri/src/commands/forge.rs:1255-1273 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 18 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/forge.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"720737c53ecae921087cca3e9f094da035101311534ce835ba26a5640c0b9459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): src-tauri/src/db/migration/m20260522_000001_delegation_columns.rs:11-56 | src-tauri/src/db/migration/m20260818_000001_work_task_source.rs:8-57 | src-tauri/src/db/migration/m20260831_000001_canvas_node_group_grid.rs:8-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 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":"src-tauri/src/db/migration/m20260522_000001_delegation_columns.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b48de22ee26989eb5c698a8811d32feec3647b973b86a22abb995d63b161ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src-tauri/src/acp_transcript.rs:953-979 | src-tauri/src/turn_timings.rs:246-269 \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":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9cc1c6472879f8c7a03b1fa911924ee7890aef31c4deb8b02215fc7f11f897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/commands/acp.rs:15131-15149 | src-tauri/src/commands/acp.rs:15226-15246 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15131}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bd5a3dd7fd9b94b2fd3347d298e2a91ea1cde7ff459e1855464238b156d164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): src-tauri/src/commands/browser.rs:3414-3443 | src-tauri/src/commands/browser.rs:3449-3474 | src-tauri/src/commands/browser.rs:3480-3510 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":3414}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c51c3344ccec78168bfa8a977d838e9b45fd50dada15c2fc51e2f6d7463192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/forge/cnb.rs:563-591 | src-tauri/src/forge/gitea.rs:999-1025 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"73db40caae2a8b6ace6857ccda7b0eb83c58a8c4f02aed626ac091f40fcd1af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/acp/manager.rs:4227-4255 | src-tauri/src/acp/manager.rs:4384-4408 \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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c86ece58c06a8390b57cefbe642a09b5e76a9f00d3d4d91b7cabd8e9dc83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/browser/shim/macos.rs:901-918 | src-tauri/src/browser/shim/macos.rs:998-1015 \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":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccbfbdfda231685ee45d7f43e270429f02844df540cb9c92a000f2f217d8285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src-tauri/src/db/service/work_task_service.rs:1726-1744 | src-tauri/src/db/service/work_task_service.rs:1804-1822 | src-tauri/src/db/service/work_task_service.rs:2049-2062 | src-tauri/src/db/service/work_task_service.rs:2074-2091 \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0ba6262726a0d9e3431d92ca4e3cd80e2d5605def8ac852ee0035754eb9c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src-tauri/src/parsers/claude.rs:2821-2853 | src-tauri/src/parsers/codebuddy.rs:1147-1175 \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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94faac6e8873b8f507c35a6e286158050351371068d186c6cd6aea17f7b13c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src-tauri/src/web/handlers/app_update.rs:213-250 | src-tauri/src/web/handlers/app_update.rs:253-301 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"src-tauri/src/web/handlers/app_update.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8652900bf0af4a4e7dafca2c84df5f8701ba2ed115d4d8161535f2b5c3067af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/commands/backup/crypto.rs:106-120 | src-tauri/src/commands/config_sync/crypto.rs:144-161 \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":"src-tauri/src/commands/backup/crypto.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca3e0a99c2daeaa06a1abd18704c5f6e682f0d61364557e9aab0e6aac44530a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/commands/mcp.rs:4373-4397 | src-tauri/src/commands/mcp.rs:4474-4498 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"912dd1d073479995af25ee3d397efd0a7353de3f73d417717fb51098ebdbd556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/forge/deliver.rs:674-698 | src-tauri/src/forge/deliver.rs:712-732 \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":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"968c097124c5e7a0cf8e10f7132713cac456963dcdc3e6f41c1f49659227f32f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src-tauri/src/acp/file_system_runtime.rs:1225-1257 | src-tauri/src/commands/folders.rs:4585-4619 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6615a2823081d4bec9291ea80758588dfd8363bba0892c96c097e1a7df5bf3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/commands/acp.rs:4979-4998 | src-tauri/src/commands/acp.rs:5066-5088 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b802ff28c025c483c5f3ce458ddad9c9441abe30c9e83655f4e3be2f907a4b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/commands/experts.rs:1040-1059 | src-tauri/src/commands/science.rs:855-874 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40161da39f7f1b76b883c09b6bca6959df31130bdda0f19dad8897e1b716c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src-tauri/src/automation/engine.rs:216-246 | src-tauri/src/work_task/engine.rs:475-497 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd677283ed06b76fa507b20d11859715e10ae0cd63cd7bd63be6983d88b145d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): src-tauri/src/forge/cnb.rs:619-639 | src-tauri/src/forge/gitea.rs:1055-1075 | src-tauri/src/forge/gitlab.rs:502-522 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"131a7d87d4b4d26dfca46ea431faff0c2e02ec660e0ec215363bf3c365925c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src-tauri/src/commands/experts.rs:791-821 | src-tauri/src/commands/science.rs:609-646 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f62b494f4e384c6feab159a5a59455c7cf967ec68dc33ad02c96ecf3916387"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): src-tauri/src/db/service/conversation_service.rs:218-237 | src-tauri/src/db/service/conversation_service.rs:249-268 | src-tauri/src/db/service/conversation_service.rs:290-308 | src-tauri/src/db/service/folder_service.rs:404-423 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 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":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3755395615d8702bfbff80bc033843faa838d3452e442a2f4bab1a8c0476a786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/computer/helper/driver_proc.rs:608-625 | src-tauri/src/computer/helper/driver_proc.rs:628-650 \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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8815cbc140a8d22829a1671a51e17c76250b32c34bd77e52e5e48c0c3e3e6fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/db/service/folder_command_service.rs:44-69 | src-tauri/src/db/service/quick_message_service.rs:36-57 \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":"src-tauri/src/db/service/folder_command_service.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0470bf4c8964a943b8689e97e17cc83a69d151e706083875d710f0dfc15e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src-tauri/src/db/service/import_service.rs:169-198 | src-tauri/src/db/service/import_service.rs:213-256 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"630bb154847b71ff36fde52556a982cfe56c0b4f8f9b8a354ae75eae4a08e82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/acp/background_watch.rs:2025-2039 | src-tauri/src/parsers/claude.rs:1427-1446 \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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcd4922dc322847345bc86e72a07b2ca47ab3207edb1edd8bc1be9bea7cde0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/commands/acp.rs:10752-10767 | src-tauri/src/commands/acp.rs:10783-10798 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b12383a16801f4a2b140db073ba5e89dc34daee1e3a23a833dde1345f3d4533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/acp/question.rs:898-924 | src-tauri/src/acp/question.rs:926-954 \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":"src-tauri/src/acp/question.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f088a054f047a471a8ed1af764ce7bf068dc7a41e26ef80a0c3969207076a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): src-tauri/src/forge/cnb.rs:447-472 | src-tauri/src/forge/gitea.rs:247-273 | src-tauri/src/forge/gitlab.rs:923-955 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2275e671918e2620f3860cee03f7bc8fe2756991d66a3b502c387c192f6161"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/acp/delegation/companion.rs:700-721 | src-tauri/src/acp/delegation/companion.rs:731-751 \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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6151d08ac4f285d1b3b2b365b03a84768504c6fed66982531905061946c53af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src-tauri/src/backgrounds/marketplace.rs:436-459 | src-tauri/src/pets/marketplace.rs:392-421 \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":"src-tauri/src/backgrounds/marketplace.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"047444af2ef61ccd291833e6333e0977327da0c5cd0f2e728dd53aa0c741862d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src-tauri/src/commands/folders.rs:4015-4040 | src-tauri/src/commands/folders.rs:4046-4072 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4015}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fdca3db05c4fb40a03028e4f967ec599090c77c7447a3f7fa065d79d0ce6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/parsers/claude.rs:3574-3594 | src-tauri/src/parsers/openclaw.rs:1088-1099 \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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e78aa9d7f58302d4322f38f75a1f7b55d15726b463e35ef30d5d93fde9f306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/commands/forge.rs:841-855 | src-tauri/src/commands/forge.rs:922-932 \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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f31da31d6123c43ace080f3fdd3369640eb9a6a2d152a3ceaa6f0c45ce9d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 11\u002B corresponding lines): src-tauri/src/paths.rs:46-56 | src-tauri/src/paths.rs:63-73 | src-tauri/src/paths.rs:99-109 | src-tauri/src/paths.rs:123-133 | src-tauri/src/paths.rs:149-159 | src-tauri/src/paths.rs:171-181 | src-tauri/src/paths.rs:193-203 | src-tauri/src/paths.rs:215-225 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/paths.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27c6908b656331f5ad2f51f72073283d79df323397de155f0bb58659202b4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/web/handlers/files.rs:576-599 | src-tauri/src/web/handlers/workspace_files.rs:180-197 \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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"036916d2cd500d215d7a087077520961d00b37d78e570e186b59d9f6dee2bffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/commands/acp.rs:10818-10836 | src-tauri/src/commands/acp.rs:10973-10991 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10818}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ebabb9ff8d4011863f8fd82c93dc9bf7e8849869a4c9904f05e204cf6c16e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/acp/agent_mentions.rs:226-251 | src-tauri/src/acp/agent_mentions.rs:372-391 \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":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8211458c62a5672075c810beadf3ed86b0242f32de73b043a5892565e8fed935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/acp/delegation/broker.rs:3385-3409 | src-tauri/src/acp/delegation/broker.rs:3428-3460 \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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b909722c5cc6b973788d73b9d21cf0f611a2f5925e0af2c693a566365066c4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/commands/experts.rs:738-758 | src-tauri/src/commands/science.rs:556-576 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32325b484c63e53a45135dc882dd8183d7c806ec209bbf472e23184467828ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src-tauri/src/parsers/hermes.rs:79-101 | src-tauri/src/parsers/opencode.rs:74-99 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7b7458bd4208d27ee0b096961c555bbd54387b173c8fe64cf5f558a58096a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src-tauri/src/commands/canvas.rs:568-601 | src-tauri/src/commands/canvas.rs:611-647 \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":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"1921d6831a629c1de3d74529657bf937692273eaab5ab130c597245a87f4abdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/forge.rs:1229-1237 | src-tauri/src/commands/forge.rs:1283-1291 \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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e9ed1a0a7412711c1695d29432db7cff841e1626d4f2cdc38dd1cbeacf8bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/db/service/folder_command_service.rs:128-151 | src-tauri/src/db/service/quick_message_service.rs:64-81 \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":"src-tauri/src/db/service/folder_command_service.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf41d229638fcefc77d7a5bd11160c9c7739e99a9058e145b3af1b44abf49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src-tauri/src/forge/cnb.rs:242-261 | src-tauri/src/forge/github.rs:376-395 | src-tauri/src/forge/gitlab.rs:327-354 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48295b9579d7af0f655df4bf36a86f0b7a73a8cd835ef01f75fcc635a4219ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/delegation/companion.rs:2194-2213 | src-tauri/src/acp/delegation/companion.rs:2248-2260 \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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b17131e38738bcdd4396a736d6d61b95396beb7b846826ad234cf3c0122a028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/acp/connection.rs:18787-18803 | src-tauri/src/parsers/grok.rs:1326-1341 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727616115a58aa1dbb58afd17bf69907842f2b6a99b88eeda241bf8afbcf5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/db/service/work_task_service.rs:485-499 | src-tauri/src/db/service/work_task_service.rs:503-515 \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6124dc3aa3bcb0c9cfad6ab2c28fc427e95f7270dad2e7a6c74842b824c43b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/acp/binary_cache.rs:905-924 | src-tauri/src/computer/helper/driver_proc.rs:256-274 \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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d2d7a53345a64a212183dea7bd32ad06cc4f50b91d95f525b01417f6a6b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py:255-280 | src-tauri/science/skills/scientific-visualization/scripts/_common.py:73-100 \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":"src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"958941341fe70c6cd7217d00a5babfdc5a9f33ea0debb0d5e0bdafbd1ed8df04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/commands/generative_ui.rs:278-295 | src-tauri/src/commands/generative_ui.rs:368-384 \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":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50a6b98bf0b727df3b003cea5218e9557d2f977b50c6ef3742ca2a271766e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/parsers/codex_code_mode.rs:1373-1393 | src-tauri/src/parsers/codex_code_mode.rs:1446-1465 \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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a18c7f8fc3d29deddaaf6264df8a1d458e67c2641518ba26ce3ffc07b8bf1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src-tauri/src/computer/local.rs:705-726 | src-tauri/src/computer/local.rs:793-827 | src-tauri/src/computer/local.rs:894-913 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"src-tauri/src/computer/local.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"db058e6aee8ba565a5a6843f0352510854df320d1b21bcd7c70e67396591cb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/update/install.rs:583-597 | src-tauri/src/update/version.rs:73-89 \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":"src-tauri/src/update/install.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d818104a7c59085d2a412851a5f3ab5e49647c5ecbf0e115c4991864e15acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/commands/mcp.rs:933-950 | src-tauri/src/commands/mcp.rs:4119-4133 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d0376b12a9f72ff90384f97ebd62dbaa15b4bc7726139815f2d5af9a42ee5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): src-tauri/src/commands/mcp.rs:1739-1760 | src-tauri/src/commands/mcp.rs:1896-1917 | src-tauri/src/commands/mcp.rs:2551-2572 | src-tauri/src/commands/mcp.rs:2626-2650 | src-tauri/src/commands/mcp.rs:2721-2742 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 22 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebef4c2c3654f0af64be7dfc5465df0652f8aa672dbb69a66ab6bf10398baae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/db/service/agent_setting_service.rs:235-249 | src-tauri/src/db/service/agent_setting_service.rs:271-293 \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":"src-tauri/src/db/service/agent_setting_service.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"690da49cff69c2e0e1cbe825744f76e70d9a03650fea3ccc0d036421ea289d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/db/service/conversation_service.rs:558-573 | src-tauri/src/db/service/conversation_service.rs:1041-1054 \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":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a153d4ff997818ea4022ca173e6aa7f29c80bf68e4c03b1b98db7f5ef3595cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/parsers/kimi_code.rs:159-192 | src-tauri/src/parsers/pi.rs:368-394 \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":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3205a044d4ed20b0af3c6cbcaa3d70e20b933630dc4760ee7581a7c3fa4238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src-tauri/src/commands/folders.rs:1671-1682 | src-tauri/src/commands/folders.rs:3701-3712 | src-tauri/src/commands/folders.rs:3896-3909 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccdd0f4d124c7e7b4a0b69ca1e19cf60a51626fb50f172f1b6b0d006fe05486"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): src-tauri/src/commands/mcp.rs:1790-1816 | src-tauri/src/commands/mcp.rs:1859-1876 | src-tauri/src/commands/mcp.rs:1947-1970 | src-tauri/src/commands/mcp.rs:2006-2023 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14d93e2bdad1d92ec0ec78fffdd5161231fa6d650be8bb98167352290c088bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src-tauri/src/acp/delegation/event_emitter.rs:162-186 | src-tauri/src/acp/delegation/event_emitter.rs:197-220 \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":"src-tauri/src/acp/delegation/event_emitter.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cb80ed0bd608272213455f898689b1b2b24edb5edcd0de63fdb1fa5d034d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): src-tauri/src/commands/mcp.rs:2997-3015 | src-tauri/src/commands/mcp.rs:3116-3134 | src-tauri/src/commands/mcp.rs:3219-3237 | src-tauri/src/commands/mcp.rs:4078-4096 | src-tauri/src/commands/mcp.rs:4703-4721 | src-tauri/src/commands/mcp.rs:5152-5180 | src-tauri/src/commands/mcp.rs:5433-5462 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 19 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64be722a2a126dfc2ae1b006e65c3fffcb099b0f582eab583fb66b4d38547ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/commands/mcp.rs:4348-4367 | src-tauri/src/commands/mcp.rs:4447-4468 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4348}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d35b8838dac08c8becd7f549dcdf461d739c8e2e8eb7ed284f1dd6e05246ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/db/service/folder_service.rs:348-363 | src-tauri/src/db/service/folder_service.rs:371-386 \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":"src-tauri/src/db/service/folder_service.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a04c62db2e36c13fc09dfe6f9ffc59a9c469f1e2f8ce5e31a1cb35d328b77a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src-tauri/src/forge/deliver.rs:366-379 | src-tauri/src/forge/deliver.rs:385-396 | src-tauri/src/forge/deliver.rs:398-409 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6f8e6add7b86640bbbfbff5478cc00f657366d6b6200e5e48eee727dc1d3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/forge/github.rs:1754-1769 | src-tauri/src/forge/github.rs:1810-1825 \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":"src-tauri/src/forge/github.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"231590293f13c7be4e638edd7302012da5d0cf949f43632cd38e12ff2526e9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/web/browser_bridge.rs:1339-1350 | src-tauri/src/web/browser_bridge.rs:1352-1364 \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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"466f0e87dc5bed150474f7157a8af8aa5b74da8cd7b91454cbe0aed925310b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): src-tauri/src/commands/folders.rs:2138-2158 | src-tauri/src/commands/folders.rs:2307-2329 | src-tauri/src/commands/folders.rs:2335-2353 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03359bde6a71434b0d95065f22d7c856eca067f671dc32542213b7ef4b3a27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/forge/deliver.rs:517-537 | src-tauri/src/forge/deliver.rs:549-562 \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":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a59027b4de687e3914856369b940486e05d86260cb3d417207a8563bb32fb62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/acp/manager.rs:1092-1113 | src-tauri/src/acp/manager.rs:3186-3213 \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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"47705f6510f8e24f8460c484c0f6485e30cab4c280e336b91af10a15e3963107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/commands/folders.rs:2965-2985 | src-tauri/src/commands/folders.rs:3064-3089 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caadca8e887c2bfffaaa6c4cead880c7d06b4d1fdc13f22fe4f6a9aef92b9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src-tauri/src/acp/stderr_tail.rs:261-323 | src-tauri/src/acp/stderr_tail.rs:464-507 \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":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0852e2044e019590c756199dd8baa56fedc42daf3ed3e7714bbf6917ea32acb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/commands/mcp_service.rs:386-406 | src-tauri/src/commands/mcp_service.rs:430-458 \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":"src-tauri/src/commands/mcp_service.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fa1143dd91d997b4beae611029b94fb7c7aaee4ae6b4bb1c1f8213732c6950"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/db/service/conversation_tag_service.rs:478-495 | src-tauri/src/db/service/work_task_service.rs:849-864 \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":"src-tauri/src/db/service/conversation_tag_service.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4ffb97967791f69ed0bb4fffeda527578358e1d9a80dc63c8627b1c71288cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): src-tauri/src/parsers/deepseek.rs:772-788 | src-tauri/src/parsers/grok.rs:1660-1680 | src-tauri/src/parsers/kimi_code.rs:1133-1149 | src-tauri/src/parsers/pi.rs:1338-1354 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb807bb442ebd05226e52954f6f7153d1bc849dd182a9bbca68b021afd0a27cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/acp/manager.rs:227-248 | src-tauri/src/acp/manager.rs:263-281 \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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dd4833b9151d2d591e236cae546726b1261b8e3eafe063c89b1c01c9ab89c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/browser/listener.rs:488-500 | src-tauri/src/browser/listener.rs:502-512 \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":"src-tauri/src/browser/listener.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"8562991888e984694647a2e63dae94c8d78dcc2c442ec5cd695dd9bb08cca286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/connection.rs:318-331 | src-tauri/src/acp/connection.rs:342-354 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe813addb8ab5c4e7c99c55535b8e97ad1788b4f9e37da40d89ced23a90965d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/commands/custom_skills.rs:767-781 | src-tauri/src/commands/experts.rs:430-444 \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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5ded21848ac30518c614ec5362d479183d798ada5add77fbcb0642a7c6721a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/acp/cursor_acp_retry_compat.rs:398-419 | src-tauri/src/acp/cursor_acp_retry_compat.rs:567-582 \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":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"40239d5829ee29f2ceaca8f3f8a2ba9357f215e656fb5145c8503d6ce4ce77ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/browser/shim/windows.rs:429-446 | src-tauri/src/browser/shim/windows.rs:996-1013 \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":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a816b00a3db9d0785b2cb832a57a3f32ef178eb7c6f467f0895e848dcae460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src-tauri/src/forge/gitea.rs:309-328 | src-tauri/src/forge/github.rs:538-559 | src-tauri/src/forge/gitlab.rs:576-593 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c75f7b2f598f687d18bec36e331561ecf97efa91355907bf5cea10c2aeb8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/acp/manager.rs:1283-1307 | src-tauri/src/acp/manager.rs:4633-4651 \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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"665d45891e5b65b38ea312cca94eb9be0185af5bd38f04d14ea0a56857226f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): src-tauri/src/commands/browser.rs:1723-1738 | src-tauri/src/commands/browser.rs:1817-1831 | src-tauri/src/commands/browser.rs:2132-2142 | src-tauri/src/commands/browser.rs:2189-2199 | src-tauri/src/commands/browser.rs:2429-2440 | src-tauri/src/commands/browser.rs:2978-2997 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"460bc79a62c1832c9eb0e747ac359164920b4588676fbdd6442ca227ccf00535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/commands/browser_tools.rs:151-170 | src-tauri/src/commands/chat_authoring.rs:688-707 \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":"src-tauri/src/commands/browser_tools.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f551997956d630f457e14b19fddc1d909d8dbfdfb2fa83ea26cbea90c6080a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/web/handlers/version_control.rs:80-94 | src-tauri/src/web/handlers/version_control.rs:120-134 \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":"src-tauri/src/web/handlers/version_control.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"733cf0f5e81ca1e0f12ae3d5bfd9cbc56354c90aa4627f4e9eb4b6a15bc06c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src-tauri/src/commands/canvas.rs:702-726 | src-tauri/src/commands/canvas.rs:733-755 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ddaffb871aa8ef4d86151b40f8c96d6fe3677a072f80dc3578b4f1902ea5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/db/migration/m20260211_000001_init.rs:303-320 | src-tauri/src/db/migration/m20260801_000001_work_task.rs:236-265 \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":"src-tauri/src/db/migration/m20260211_000001_init.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaff39ae5c2401c5c9bafb3540e718ac7aab7508b47c16a5dbd7ce41abd4f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/acp/provider_models.rs:274-291 | src-tauri/src/commands/custom_agents.rs:357-375 \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":"src-tauri/src/acp/provider_models.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5d562b04a0f0b1d67ad7ca586502656ea8c7e3811fde51458c8bd272328db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/commands/folders.rs:4178-4197 | src-tauri/src/web/handlers/workspace_files.rs:73-89 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4178}}}],"partialFingerprints":{"codehealthFindingId/v1":"45de62c0052e35c8c2a3d9f4fd1f9c04869758e1a8b86a03f4f627d15cb5103b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/codex_runtime.rs:491-507 | src-tauri/src/commands/acp.rs:623-635 \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":"src-tauri/src/acp/codex_runtime.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b2ae95add65cef127c754209220f882bbfe841a5b6905655da8f87f25e287c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/acp/delegation/broker.rs:2129-2138 | src-tauri/src/acp/delegation/broker.rs:2173-2191 \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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ca3ab2bca4dca37134c04cf98050a32d02224076e6b25f423851a50904613c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/acp.rs:2408-2420 | src-tauri/src/commands/acp.rs:2505-2520 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa17421b61dffe39766ce04738cfb98c16f35230b798c2a9e01a953da17d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/commands/folders.rs:51-75 | src-tauri/src/commands/folders.rs:84-99 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eac25d9c56af59eaaf2e51159b7853a8db0b28756875e9511f47d2c68c3618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/commands/folders.rs:386-403 | src-tauri/src/commands/folders.rs:6239-6254 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"100518add8e69fc81c7f89560dcdb9ef371e92b49b32d4290912e9909bdedc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 21\u002B corresponding lines): src-tauri/src/commands/mcp.rs:2941-2961 | src-tauri/src/commands/mcp.rs:3060-3080 | src-tauri/src/commands/mcp.rs:3163-3183 | src-tauri/src/commands/mcp.rs:3396-3416 | src-tauri/src/commands/mcp.rs:3815-3835 | src-tauri/src/commands/mcp.rs:4597-4617 | src-tauri/src/commands/mcp.rs:4769-4789 | src-tauri/src/commands/mcp.rs:5219-5239 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 21 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d4e6ce34ffb67cc024717cd980540146b549d6ccb14ff505a48a3abd8ad7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/db/service/chat_channel_service.rs:18-33 | src-tauri/src/db/service/model_provider_service.rs:17-33 \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":"src-tauri/src/db/service/chat_channel_service.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b260e4495bf499f960101ca3b41373c7bf39878fd41906ef0e1e7e0c0cddbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/acp/delegation/companion.rs:2220-2239 | src-tauri/src/acp/delegation/companion.rs:4268-4287 \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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9151aed63eca914acb53640a924b26e93988475c67fe5d3fda8e44ea28cbfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:238-250 | src-tauri/src/chat_channel/session_commands.rs:258-270 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d865729c07ceee8ab73f304d180bd70d2ec828b1086ad2a1e202de5003e73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/acp.rs:3780-3789 | src-tauri/src/commands/acp.rs:7206-7217 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e3fceb4aff044afe5e1e771b125a123f5d72e1bbe0cc212d43ba09ffa667e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/browser/surface_child.rs:1217-1232 | src-tauri/src/browser/surface_window.rs:641-658 \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":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac851ef169fb50a26e6643c5e57ad7f2ad7bb8c40f9b26b86a06f0e17278da9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/mcp.rs:4838-4847 | src-tauri/src/commands/mcp.rs:4851-4862 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4838}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51b807801f127209791c522a8a4eab47b0d1c5ab3f7b0397c76c138709c146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/update/mod.rs:54-65 | src-tauri/src/update/mod.rs:68-79 \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":"src-tauri/src/update/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a108a3bc937bd7e2cf600417cfeaba1f059496d55d1f10d1ddd8fed17e1c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src-tauri/src/work_task/git.rs:46-59 | src-tauri/src/work_task/git.rs:62-75 | src-tauri/src/work_task/git.rs:282-295 \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":"src-tauri/src/work_task/git.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c628fce5b763e6e80d260f4ec132179919c7cff56d57a8e1bf339bbc04e00fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/terminal/manager.rs:841-862 | src-tauri/src/terminal/manager.rs:873-891 \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":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f9ced5d3ffa6ded9fccbad8b44e26c88a096766f8b7c9720bca51c69315cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/forge/cnb.rs:306-317 | src-tauri/src/forge/gitea.rs:284-294 | src-tauri/src/forge/github.rs:505-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 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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"715d2afb7c3b7dc517081023d17524af17853298917bfecd198a9e9a5b8b3194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/acp/connection.rs:18976-18992 | src-tauri/src/acp/connection.rs:20319-20332 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace66cff1356577c00d3d24b90d8861d956747d28b2f08cdbbbf9f65c6252c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src-tauri/src/acp/manager.rs:4169-4193 | src-tauri/src/acp/manager.rs:4200-4217 | src-tauri/src/acp/manager.rs:4353-4377 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":4169}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c521f4b34b6fa2e8d3b78cc4419e8d5952b324c608173f7727f265926bb87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/chat_channel.rs:289-302 | src-tauri/src/commands/chat_channel.rs:341-353 \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":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a834a37c05860db21e16b955839d3f003b2694d05ff9e3f3b4c07f3f0acd005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 35\u002B corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/audit_evidence_ledger.py:69-131 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:127-184 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:188-244 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:248-306 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:356-390 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:394-436 | src-tauri/science/skills/hypothesis-generation/scripts/validate_prediction_matrix.py:44-108 | src-tauri/science/skills/peer-review/scripts/validate_claim_evidence.py:68-124 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 35 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/audit_evidence_ledger.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"968088c5d33dd7bcc3004a68ce10987af685d8023345bfef58e2eb331ed8e84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/acp/connection.rs:6308-6319 | src-tauri/src/acp/connection.rs:6350-6367 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6308}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f34bcabda6fe2d46bd95f436a87fb5aab65058695e4253b36bfaeffe4ebfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/session_state.rs:2325-2358 | src-tauri/src/acp/session_state.rs:2360-2372 \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":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fa3094f52aa4b51d046da6a4f588c0ca97f726b15f58aa41cfa28eccf0a3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): src-tauri/src/commands/folders.rs:2417-2429 | src-tauri/src/commands/folders.rs:2432-2444 | src-tauri/src/commands/folders.rs:2447-2459 | src-tauri/src/commands/folders.rs:3874-3887 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ed642add99aad7472f0bdf99f42f0f1737b0768aa3689059b473cc28aff60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/web/handlers/acp.rs:166-197 | src-tauri/src/web/handlers/acp.rs:481-505 \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":"src-tauri/src/web/handlers/acp.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"050c7ce221eb65f9feba3cc2cd0d00bfa0fb1555d7a8ce1b71aab080a7379c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/commands/folders.rs:405-420 | src-tauri/src/commands/folders.rs:426-442 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"688dd3a5e41f1593be638aaa78d75a912ed427221be2d0315d8d51eb47971053"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/commands/mcp.rs:6208-6232 | src-tauri/src/commands/mcp.rs:7128-7145 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d8acf223f22fe4d7c62972766e0d81abb1cc72944aafa5a4554409e5f1dcfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/db/service/conversation_service.rs:168-178 | src-tauri/src/db/service/work_task_service.rs:2419-2428 \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":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd8b2d852ed2768845b73667ef9c9ec19c7613459d7ac703e2e907f3df82c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src-tauri/src/acp/delegation/broker.rs:1112-1130 | src-tauri/src/acp/delegation/broker.rs:1176-1195 \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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed6809dcdf1c856cd0f65128fc089560fa12942b28e0cd3a02413e2967b4126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src-tauri/src/commands/config_sync/domains.rs:281-301 | src-tauri/src/commands/config_sync/domains.rs:780-797 | src-tauri/src/commands/config_sync/domains.rs:856-873 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"src-tauri/src/commands/config_sync/domains.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd33a37d234bc5c23b45f286d237ec4625c7ab4d90ad7e31f9e7710367855564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src-tauri/src/db/migration/m20260829_000001_folder_group.rs:90-112 | src-tauri/src/db/migration/m20260929_000001_canvas_board.rs:131-157 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"src-tauri/src/db/migration/m20260829_000001_folder_group.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea40cc9eb75358c696a14c752018ab4d9048dffecde33fbd93e1b16de9abf040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/db/service/chat_channel_message_log_service.rs:19-32 | src-tauri/src/db/service/work_task_service.rs:147-158 \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":"src-tauri/src/db/service/chat_channel_message_log_service.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d242bcdbbbcd7185b32890aec739a0712617f44ab3308b373d63cf7b9b4528c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/acp/delegation/transport.rs:530-541 | src-tauri/src/bin/codeg_mcp.rs:170-179 \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":"src-tauri/src/acp/delegation/transport.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efe317f2e33ede5831dc7dc0d36a25263d4469ba5dde0d4b16482f2bfb71af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/commands/custom_skills.rs:488-498 | src-tauri/src/commands/custom_skills.rs:504-519 \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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08be3c2c419c5df5d15a017a6a1df4b6d675d39cb3f8838fdb0361212b7392a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/commands/mcp.rs:920-931 | src-tauri/src/commands/mcp.rs:952-965 | src-tauri/src/commands/mcp.rs:4135-4143 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86861928278a62cc0f28bbf18519f60f342f7bbb44220ecf8a153d80e4cf0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/forge/settings.rs:368-379 | src-tauri/src/work_task/engine.rs:7993-8006 \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":"src-tauri/src/forge/settings.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f1e28c0fd9f7da016e818bee9f6e7611b6d5231de810a8eebf621b117e42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src-tauri/src/browser/hooks.rs:254-269 | src-tauri/src/browser/hooks.rs:275-287 | src-tauri/src/browser/hooks.rs:465-481 \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":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c441d812f16b96e4eac41937c15b72a3be8f0b5f2ee17aa8beb5963ea00299de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/commands/remote_proxy.rs:538-559 | src-tauri/src/web/handlers/files.rs:691-707 \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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e412b7ef47e63fb2d4ec94a200e5b51e7c7e63a43568461657b54d9ccf9ff29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/db/service/thread_binding_service.rs:102-111 | src-tauri/src/db/service/thread_binding_service.rs:116-125 \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":"src-tauri/src/db/service/thread_binding_service.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8186947ee2d445bbe9e4a77aac4514842f9ce29d6144af1860a659c45f2f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src-tauri/src/acp/manager.rs:2069-2084 | src-tauri/src/acp/manager.rs:2113-2129 | src-tauri/src/acp/manager.rs:2379-2395 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b1184e592c32c0c856672e36dc1758c6660b705c59aec5b1aff8e1f8f0bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src-tauri/src/db/service/conversation_service.rs:146-156 | src-tauri/src/db/service/conversation_service.rs:187-198 | src-tauri/src/db/service/conversation_service.rs:586-595 | src-tauri/src/db/service/conversation_service.rs:1366-1376 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8175d1da85d6422591693a1d0f3c660cc1aacf84413c9f31786a4132c0fc390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/chat_channel/backends/lark.rs:150-165 | src-tauri/src/chat_channel/backends/telegram.rs:25-40 \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":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c6d06fb21c41a3ffba4244aca372be9cf0b12fbb0082346cd59aaee507b601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): src-tauri/src/commands/acp.rs:13236-13256 | src-tauri/src/commands/acp.rs:13387-13405 | src-tauri/src/commands/acp.rs:13656-13683 | src-tauri/src/commands/acp.rs:13747-13777 | src-tauri/src/commands/model_provider.rs:571-592 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d6fce6d549e6d0216d4e54cb96321cede3d49d7366475ad35f28f055d1794d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/computer/codesign.rs:355-364 | src-tauri/src/computer/codesign.rs:368-384 \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":"src-tauri/src/computer/codesign.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0be62e66c4e74875be02aeb04071a20a1982cf7c84c2a79d648be375db306f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src-tauri/src/db/migration/m20260608_000001_conversation_title_locked.rs:8-43 | src-tauri/src/db/migration/m20261016_000002_conversation_assistant.rs:8-42 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"src-tauri/src/db/migration/m20260608_000001_conversation_title_locked.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a650318aa0e219cd756aa158768db3b6a85e6c26abc59ee9db4d7650a9b0733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/db/migration/m20260818_000001_work_task_source.rs:59-76 | src-tauri/src/db/migration/m20260831_000001_canvas_node_group_grid.rs:80-105 \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":"src-tauri/src/db/migration/m20260818_000001_work_task_source.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570de05f4744bb8766a055192ef94beab42552c1cbe4bf6a1d54d091639ffdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/parsers/codex.rs:6364-6378 | src-tauri/src/parsers/openclaw.rs:918-929 \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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":6364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceee65d7ed9364f127e4749d87757adb03b4afafd7dbdbf0104b4fb25774cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/backup/core.rs:265-274 | src-tauri/src/commands/backup/source.rs:253-262 \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":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e1618164f7d41c99d45d4ef310ed1770e424e787d86ddd70fe91636200a009"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/folders.rs:3738-3750 | src-tauri/src/commands/folders.rs:3772-3784 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3738}}}],"partialFingerprints":{"codehealthFindingId/v1":"924a05504347e3afd6b3bd798c24541c40778791cbec3364c50b97f0a0e7740e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/forge/cnb.rs:598-608 | src-tauri/src/forge/gitea.rs:1032-1042 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcc6d7fa9c4fed1a85bf91f8fe016a6498f2abb00bfd875395ddfad1230481b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/update/state.rs:178-191 | src-tauri/src/update/state.rs:219-236 \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":"src-tauri/src/update/state.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0c815b25964288946ca9f55ffd659edcc8d6179a9275f56264a736c6e9b925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/acp/binary_cache.rs:1260-1268 | src-tauri/src/acp/binary_cache.rs:1270-1278 | src-tauri/src/acp/binary_cache.rs:1280-1288 \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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108d381199b7c79f3460f1b3809b5249cac940b3aac23694081626203ae3591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/acp/connection.rs:1890-1904 | src-tauri/src/acp/connection.rs:1915-1924 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"315189f2d20d1aa08e98194f6c7d2b1be7525ccfc2157780e8e39cd9cffc8f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:370-381 | src-tauri/src/chat_channel/session_commands.rs:389-401 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e758975de4758b84c83906946bc7ec34599f9bd004821f54511b567e0c824ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src-tauri/src/commands/acp.rs:14908-14929 | src-tauri/src/commands/acp.rs:14948-14974 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14908}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b2839ac5ec80712e23f1d4dfb78194e6109593386d48d671ddd803745ee817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src-tauri/src/commands/system_settings.rs:90-104 | src-tauri/src/commands/system_settings.rs:108-121 | src-tauri/src/commands/system_settings.rs:292-307 \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":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99c72b2d0ba40d89e28a57b172bd45929321a4b8606aecbf810b07399699dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/version_control.rs:128-140 | src-tauri/src/commands/version_control.rs:173-185 \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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"428eff5150391267145d85ad01eb65b612e827c3c38b86533ae7e23a2d84fe09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src-tauri/src/acp/delegation/broker.rs:898-921 | src-tauri/src/acp/delegation/broker.rs:993-1013 \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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7106d013cdad1551ac1c60dbd3fede00a129b2628f17bea6617c95033f289e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src-tauri/src/commands/computer.rs:1506-1517 | src-tauri/src/commands/computer.rs:1591-1602 | src-tauri/src/commands/computer.rs:1638-1649 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd01181546c0893316da7c3ad1e622d939140a4849e7f8945d384379d6ef358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/db/service/automation_service.rs:613-622 | src-tauri/src/db/service/work_task_service.rs:446-457 | src-tauri/src/db/service/work_task_service.rs:3227-3235 \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":"src-tauri/src/db/service/automation_service.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35ee82a09a75da4575ed259eb44b8a980eb2614f97a583b1f40668a4682bd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src-tauri/src/keyring_store.rs:37-45 | src-tauri/src/keyring_store.rs:225-233 | src-tauri/src/keyring_store.rs:274-282 | src-tauri/src/keyring_store.rs:285-293 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f6b4f8e4364afabe6c246a9744b1618b7593e9e30fc5ad3f9db7ecb208e675"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/parsers/pi.rs:218-232 | src-tauri/src/work_task/engine.rs:8702-8716 \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":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8574c675e8c89619eec799caa21cabe9911ab802c81c2a3dae0ee963be1b7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src-tauri/src/web/handlers/acp.rs:678-696 | src-tauri/src/web/handlers/acp.rs:710-726 | src-tauri/src/web/handlers/acp.rs:1264-1279 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"src-tauri/src/web/handlers/acp.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"244532b9870d57ee09c5de23e6115ec86f313a091a8eaf2e5e26c3ef33b7a782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src-tauri/src/commands/browser_tools.rs:123-136 | src-tauri/src/commands/chat_authoring.rs:663-676 | src-tauri/src/commands/computer_tools.rs:339-348 | src-tauri/src/commands/delegation.rs:181-190 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser_tools.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1521e722f5de0f5771ad062d3231153f0fdf92cc13d06a018949be4918c2d186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/experts.rs:392-401 | src-tauri/src/commands/science.rs:356-365 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"3946cd99279028a5eadb509a1f62087d2b25e8d46dba8f776aa92ae86656318e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/chat_channel/session_commands.rs:99-111 | src-tauri/src/chat_channel/session_commands.rs:281-293 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c68382bd0a199df5a4c02038693194fb7cc1f61442e3d4d2aaa28d364a78c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/forge.rs:870-882 | src-tauri/src/commands/forge.rs:889-897 \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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"023de6daefc1c482720614b60007731114010d202b42d3828c6350305bdea84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/db/service/folder_group_service.rs:92-104 | src-tauri/src/db/service/folder_link_service.rs:62-73 \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":"src-tauri/src/db/service/folder_group_service.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7840eafdedf660697685520198d3156eb75de37a075fadaa925873b4f7b531d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/db/service/work_task_service.rs:381-390 | src-tauri/src/db/service/work_task_service.rs:412-421 \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"884456966f866c0204d86d43bd230de142f7935e0acf19f6b108c2b06ab760f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/parsers/antigravity.rs:728-738 | src-tauri/src/parsers/cursor.rs:388-398 \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":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d96c99e9e232b54ac2c877ced26e1ab4630aa1290a19af567e3b7f8626d2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/acp.rs:6655-6667 | src-tauri/src/parsers/codex.rs:6964-6973 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faf0002b404c837182c5b77fefcdff8e53a60358d44b3db85e0abfcead8853f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/backup/source.rs:190-202 | src-tauri/src/web/handlers/backup.rs:406-418 \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":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19652828ad5c3fe5ce120f1b461c0246542c11f6eae28ab0d269c2962782341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src-tauri/src/commands/system_settings.rs:706-720 | src-tauri/src/web/handlers/system_settings.rs:119-139 | src-tauri/src/web/handlers/version_control.rs:99-112 | src-tauri/src/web/handlers/version_control.rs:139-152 \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":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb44e0c180f3e4757287f5d214d26d68d3ad10f715d751a80a290fa631f8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/computer/helper/mod.rs:193-204 | src-tauri/src/computer/local.rs:1253-1264 \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":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d477ce082f8684777616c20161bea6057c2d9dcad9384320897de793cee4ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/computer/launch_req.rs:169-181 | src-tauri/src/computer/spawn.rs:56-67 \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":"src-tauri/src/computer/launch_req.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5d1074bf9f163ff5f7e963ed94fe5ba433ff98793300641f8644a8f43b26ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/acp/provider_models.rs:131-138 | src-tauri/src/web/proxy_auth.rs:132-139 \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":"src-tauri/src/acp/provider_models.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ca229fb936f16b2af58db3a1b92c0894f722dd74b508f1c4f7a77fc961bf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/browser/confirm.rs:167-186 | src-tauri/src/browser/confirm.rs:195-209 \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":"src-tauri/src/browser/confirm.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d33974a0d26fc0cb758e9c3d0f9ad0a110cab37d9a703927c5af9cac249e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/terminal/manager.rs:620-630 | src-tauri/src/terminal/manager.rs:632-647 \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":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dd683d95f87b545ea2707b6531787a4b5b164bbf08911e92825610cc295d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/web/browser_bridge.rs:1368-1380 | src-tauri/src/web/handlers/office_watch_proxy.rs:158-171 \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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"344a01a9859ba360a8669e57e186e4f57f98898c7e86f1ebc9e151e603e76f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/acp/codex_catalog_commit/mod.rs:348-362 | src-tauri/src/commands/acp.rs:3818-3831 \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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e192dfa06099b57efbe8117e01a4e3de4fc9f8d8910f03bda26d02033e32699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/commands/folders.rs:922-934 | src-tauri/src/commands/folders.rs:942-955 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"b126b15dcd98d5a42ee9cb7133ebac2cb5763af9342fdfe1b60fbaa2358fede3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): src-tauri/src/commands/folders.rs:1304-1313 | src-tauri/src/commands/folders.rs:1615-1624 | src-tauri/src/commands/folders.rs:1691-1700 | src-tauri/src/commands/folders.rs:1878-1895 | src-tauri/src/commands/folders.rs:3722-3731 | src-tauri/src/commands/folders.rs:3920-3937 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f483c44af47ad543303c72803f466206aee019b17b11c52b90613cb1090c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/mcp.rs:6242-6251 | src-tauri/src/commands/mcp.rs:7163-7172 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6242}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6eccd808dc82dd69baa17c82061535a7ec9d8dd6ff35c683b3973c9dfe271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src-tauri/src/web/handlers/upload_jail.rs:64-77 | src-tauri/src/web/handlers/upload_jail.rs:88-103 | src-tauri/src/web/handlers/upload_jail.rs:107-121 \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":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6466d93efdecd5172d893a4d36c1a9173c54723543415a51ec0ddb127609bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/acp/delegation/broker.rs:1153-1172 | src-tauri/src/acp/delegation/listener.rs:1615-1630 \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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b7876c2efd9f8a7105997ee40ceaf1e184056c3a66041a60580be37ba1f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/acp/manager.rs:2095-2106 | src-tauri/src/acp/manager.rs:2138-2150 \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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a3533d00011db04279ccd9a4a4e1a2a877756ce32e35b9a209b1d373a05960"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/acp/qoder.rs:130-137 | src-tauri/src/acp/zcode.rs:84-94 \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":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea145b0a206459103e695fc4dc4d064986f2a871abcd3579029bce60ce2dd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 12\u002B corresponding lines): src-tauri/src/commands/browser_tools.rs:194-205 | src-tauri/src/commands/chat_authoring.rs:731-742 | src-tauri/src/commands/computer_tools.rs:536-547 | src-tauri/src/commands/computer_tools.rs:555-566 | src-tauri/src/commands/computer_tools.rs:586-609 | src-tauri/src/commands/feedback.rs:112-126 | src-tauri/src/commands/question.rs:117-128 | src-tauri/src/commands/session_info.rs:424-435 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 12 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser_tools.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4a19f19c5e52ed2d79dba5005a1ffeeed8044306c6bf58fa4918e1b2a7cfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/experts.rs:681-689 | src-tauri/src/commands/science.rs:500-508 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ccbcd39a05cec087b1b94a1bea6091c3f4d940a00fbb6d1be3ccf1b7e80d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/science/skills/citation-management/scripts/extract_metadata.py:432-446 | src-tauri/science/skills/citation-management/scripts/validate_citations.py:576-590 \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":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3cc9fb34f8ab9054ec21b087fbfcacd76469a44df845649828bb576682e2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 31\u002B corresponding lines): src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:73-109 | src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:183-217 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:84-122 | src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py:217-247 | src-tauri/science/skills/exploratory-data-analysis/scripts/tabular_profile.py:69-101 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 31 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa17e009c481f66ab2652eb7c9bbb4fa395f459b7929948451150c49036fdadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src-tauri/src/acp/delegation/listener.rs:1578-1593 | src-tauri/src/acp/delegation/listener.rs:1596-1611 \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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c304d4c44316ac9a795b7715f97435cd1c58224b885b52961642a881bb7e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/commands/acp.rs:6211-6221 | src-tauri/src/parsers/agent_env.rs:86-96 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096f37d0ac35a6db5442539c577d3e38429fe0ebee684d39a6d4f84361dfd56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/commands/work_task.rs:774-788 | src-tauri/src/commands/work_task.rs:799-815 \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":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67afdbe52f35a549c99a7aefe1b8d29e5f2697a3ec642b4e6cd97613dd89b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/computer/launch_req.rs:132-140 | src-tauri/src/forge/auto/webhook.rs:143-151 | src-tauri/src/parsers/cursor.rs:494-502 \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":"src-tauri/src/computer/launch_req.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03e895e511eca6346f98dd9f990b7ee644e99d4751044a92165b29183f4b3f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/work_task/git.rs:269-276 | src-tauri/src/work_task/git.rs:373-380 \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":"src-tauri/src/work_task/git.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e701280865e78ff7496000561fb61c8269efb0572e0c1cba2f27122c5be82343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/acp/codex_catalog_commit/mod.rs:264-270 | src-tauri/src/commands/mcp.rs:877-890 \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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fb5ecedf627f09c94e045bc9d26dfa43ef0a38aabc9826d1ad78a6ac62db0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/acp/connection.rs:5212-5223 | src-tauri/src/acp/connection.rs:5311-5321 | src-tauri/src/acp/connection.rs:12410-12424 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b6acd260571df5d59146de2e874e89422e2481ae2a897a0bbd4a31aa54427e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/commands/version_control.rs:153-164 | src-tauri/src/commands/version_control.rs:200-211 \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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdadd1beff8f84947c9560b0c4f8f17bed9056c2e83aeb8e5648f0282a09fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/db/service/automation_service.rs:238-247 | src-tauri/src/db/service/work_task_service.rs:366-375 \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":"src-tauri/src/db/service/automation_service.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91e69758343c16659f25e70f53593a99461e097c0524abe449076b2e61cb712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src-tauri/src/acp/delegation/listener.rs:1074-1083 | src-tauri/src/acp/delegation/listener.rs:1088-1097 | src-tauri/src/acp/delegation/listener.rs:1102-1111 | src-tauri/src/acp/delegation/listener.rs:1115-1126 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb716f8e92e04b745cc3d95b040e428ac252cbb1c3d8951de6564c7888826e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/acp/delegation/transport.rs:1008-1017 | src-tauri/src/acp/delegation/transport.rs:1020-1028 \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":"src-tauri/src/acp/delegation/transport.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0da2d475c7c9e8204c6fa7a5ddc848a14e912e1a96d89e610340e1ea9fcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/commands/computer.rs:562-572 | src-tauri/src/computer/helper/act.rs:958-971 \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":"src-tauri/src/commands/computer.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"985331943e9421f38a9bb68aa3f8dce7fa15dc726ec8bcdb33770ec7353d6338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/computer/targets.rs:904-915 | src-tauri/src/computer/targets.rs:999-1014 \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":"src-tauri/src/computer/targets.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56efb770b1be3ff9c7480a639e2e929eb20b717ae0fe82d2aa9b77ab72962bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/runtime_lock.rs:85-92 | src-tauri/src/runtime_lock.rs:95-102 \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":"src-tauri/src/runtime_lock.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbc25d5dbed0f00dcbaf393b12df788047624d9ced62417da9f344af4ca9fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/acp/connection.rs:18772-18780 | src-tauri/src/parsers/grok.rs:1312-1320 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18772}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef66d3aaae902a1951a09bb18afc33f0f31149975f98ba2cd73b0e1f08726a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/question.rs:2088-2102 | src-tauri/src/parsers/qoder.rs:1199-1211 \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":"src-tauri/src/acp/question.rs"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6420629242f81e3bac450aaaf8a574262888008effe5bf64386025110d1c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/custom_agents.rs:263-272 | src-tauri/src/parsers/mod.rs:581-592 \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":"src-tauri/src/commands/custom_agents.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8089a2d0e80700674390a0d42160a394195e99aba43f89f48d076af98687202"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/generative_ui.rs:623-632 | src-tauri/src/commands/generative_ui.rs:634-643 \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":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"61314e8ace2e5d040869e0eca055e2095badf9f422ad6cebca4434b265acba54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src-tauri/src/parsers/codebuddy.rs:861-870 | src-tauri/src/parsers/kimi_code.rs:921-930 | src-tauri/src/parsers/kimi_code.rs:934-943 \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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a5c591958f3d858b03f6abee683bd329217835653f99bfef65410abeb47b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/parsers/codex.rs:962-971 | src-tauri/src/parsers/codex.rs:973-982 \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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a145be6d1ed96db03dea66c89e045e33328c9ea0dde8d813d927baae4be83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src-tauri/src/browser/profile.rs:804-814 | src-tauri/src/browser/surface_child.rs:89-99 | src-tauri/src/browser/surface_window.rs:372-383 | src-tauri/src/commands/clipboard.rs:189-196 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb205a07c7c4464ccd6e334269a219ec0f9fe4ec04c77fccdd3693d3df32858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/backup/archive.rs:329-337 | src-tauri/src/commands/backup/external.rs:1047-1055 \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":"src-tauri/src/commands/backup/archive.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e90a405acef881e6d824b34dbb0246168b81731aff3e8dcbf40aac6b5603fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/web/handlers/opencode_credentials.rs:34-46 | src-tauri/src/web/handlers/opencode_credentials.rs:57-69 \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":"src-tauri/src/web/handlers/opencode_credentials.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c4897cd4d184dc566963b8e6fa48efdae427d50fb1848d62acba3825e43c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:44-53 | src-tauri/science/skills/scholar-evaluation/scripts/check_process.py:220-227 | src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py:218-229 | src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py:259-268 | src-tauri/science/skills/scholar-evaluation/scripts/weight_sensitivity.py:255-266 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"903f99d698dde96d351f3a16ef48e93412ba98edecdd6a9f5a2a362fd4ff51fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/science/skills/scholar-evaluation/scripts/check_process.py:202-216 | src-tauri/science/skills/scholar-evaluation/scripts/validate_rubric.py:28-39 \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":"src-tauri/science/skills/scholar-evaluation/scripts/check_process.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f058eb6756f23684fd3026e126ea607ee768651226522d26cbacb434222d744a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/computer_tools.rs:215-224 | src-tauri/src/network/proxy.rs:138-146 \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":"src-tauri/src/commands/computer_tools.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac24a6af095e3dfda2b227ffcb46f6d61bd167c6d1252353f86cc43633db643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/work_task/git.rs:391-401 | src-tauri/src/work_task/git.rs:409-419 | src-tauri/src/work_task/git.rs:566-578 \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":"src-tauri/src/work_task/git.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e630e72495b0db856570f3e912be0053f8d97c174fe9531177a4dca9f77a3458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): src-tauri/src/acp/delegation/listener.rs:947-956 | src-tauri/src/acp/delegation/listener.rs:961-970 | src-tauri/src/acp/delegation/listener.rs:977-986 | src-tauri/src/acp/delegation/listener.rs:993-1002 | src-tauri/src/acp/delegation/listener.rs:1011-1020 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5584aeac72d531b84e4759053bdc4e6b24da36532383840dac9b1ba7c01ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/acp/delegation/listener.rs:1133-1141 | src-tauri/src/acp/delegation/listener.rs:1148-1156 \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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f1449b97df8a6c8924735944a135fdcf07a0693d331dd607f44286e127658c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/acp/scratch_dir.rs:622-636 | src-tauri/src/acp/scratch_dir.rs:691-701 \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":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d23a2218d8837501a383191432afd715a44326c68c5699a941dfe43fde75eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/chat_channel/manager.rs:152-162 | src-tauri/src/chat_channel/manager.rs:168-178 | src-tauri/src/chat_channel/manager.rs:200-210 \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":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1d5cb1e5cc9369c60844aeb1325667825e3fe57209108c3aedd454f2df1eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src-tauri/src/db/service/folder_service.rs:502-514 | src-tauri/src/db/service/folder_service.rs:574-584 | src-tauri/src/db/service/folder_service.rs:606-615 | src-tauri/src/db/service/folder_service.rs:623-631 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/folder_service.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5727ad13a783f4cfe49e11b6599e015e8442930b466f81969c64a3d5feee7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src-tauri/src/db/service/sender_context_service.rs:46-52 | src-tauri/src/db/service/sender_context_service.rs:59-65 | src-tauri/src/db/service/sender_context_service.rs:73-80 | src-tauri/src/db/service/sender_context_service.rs:95-101 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/sender_context_service.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a663dd210dd8749bc48d1eb419c70e43b845744b8bc326e8fd5253a58952c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/update/install.rs:1051-1063 | src-tauri/src/update/install.rs:1714-1722 \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":"src-tauri/src/update/install.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"0209d410f4dbb1ac4f4d696772f1959cec471ff303a57a0af7d950385e3f5092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/agent_process.rs:547-560 | src-tauri/src/acp/terminal_runtime.rs:1021-1033 \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":"src-tauri/src/acp/agent_process.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3684892f4f49c261dcaea7077aa50afa36f8e42be143795e65af3be838030f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src-tauri/src/acp/connection.rs:7618-7627 | src-tauri/src/acp/connection.rs:7656-7665 | src-tauri/src/acp/connection.rs:7678-7687 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc344d71134e78dd8f6ef39f43675c368a2d9243e207729bc205fce5d45042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/commands/feedback.rs:81-88 | src-tauri/src/commands/question.rs:86-93 | src-tauri/src/commands/session_info.rs:389-400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/feedback.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4922bea7bdb064395482b7a40c99cec1e1a969861f7b03a958c3b20feb74a270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/paths.rs:31-38 | src-tauri/src/pets/codex_import.rs:20-27 \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":"src-tauri/src/paths.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"364048132a111db23d2556fb62092cd15b188dd7766015e865b9a58aa42629cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/commands/assistants.rs:111-121 | src-tauri/src/commands/assistants.rs:128-138 | src-tauri/src/commands/assistants.rs:146-156 \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":"src-tauri/src/commands/assistants.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc322f8bf6fe033d16215ecdbf4433ec69d70c533f7dd7d89ac96058db4ea225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/backup/mod.rs:244-253 | src-tauri/src/commands/backup/mod.rs:257-267 \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":"src-tauri/src/commands/backup/mod.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5b2a32ce75502f12dab91f6bc5d005dd1702e6a3ad4e2acaf7ed7c7d3c79ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/commands/browser.rs:157-163 | src-tauri/src/commands/remote_proxy.rs:174-180 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00b933239b5c2e4fc2f53cb0a14f202ea96806fa966db1d5cfbed9a391a39d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/conversations.rs:2788-2797 | src-tauri/src/commands/model_provider.rs:609-617 \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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7104c69fabf09d12222e56416f9644669e0138696d417a0d498550253f567b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/db/service/conversation_tag_service.rs:533-542 | src-tauri/src/forge/settings.rs:523-530 \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":"src-tauri/src/db/service/conversation_tag_service.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8992cec57984e7abfa45bf80fd584c284c934eff81b5040ed991c79baad6361d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): src-tauri/src/forge/cnb.rs:815-824 | src-tauri/src/forge/gitea.rs:1161-1174 | src-tauri/src/forge/gitea.rs:1201-1211 | src-tauri/src/forge/gitlab.rs:1143-1153 | src-tauri/src/forge/gitlab.rs:1177-1187 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b3b49080311b4d41a159c533194ba01119684da3057d75e99913568a5ad9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/parsers/codebuddy.rs:671-681 | src-tauri/src/parsers/opencode.rs:1533-1541 \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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74535c962131f434756b0b28cc3d18e265f7a8502a6ed90edb2fcb4db8e38cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/parsers/cursor.rs:1954-1963 | src-tauri/src/parsers/grok.rs:1936-1945 \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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e48925d92ec60ae2ee8a8abb33b132e81216c4c607aca09e113798f169bfe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/parsers/gemini.rs:620-630 | src-tauri/src/parsers/opencode.rs:1409-1425 \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":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce678c906d9a5f375554b9fbe2ba4d46d58111e9852379301bc2dffaf2e3e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/parsers/kiro.rs:226-236 | src-tauri/src/parsers/mod.rs:874-886 \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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160aee0cbf98bd9c60b50eaa335e340196213cbcd3e773f92cbec0fccbd7291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/generate_preregistration_scaffold.py:370-379 | src-tauri/science/skills/peer-review/scripts/generate_review_scaffold.py:68-77 \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":"src-tauri/science/skills/hypothesis-generation/scripts/generate_preregistration_scaffold.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1322158a7cceb158f24e3ee534c88042d03c1bbd1b5ba91370ed38faa49f4770"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src-tauri/science/skills/scientific-visualization/scripts/export_plan.py:20-26 | src-tauri/science/skills/scientific-visualization/scripts/figure_export.py:389-396 | src-tauri/science/skills/scientific-visualization/scripts/style_presets.py:275-283 \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":"src-tauri/science/skills/scientific-visualization/scripts/export_plan.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"beac356d9d36ab3708658815fab5f28db08abe60e5b2abf8bbc35d2ad4190611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/science/skills/scientific-visualization/scripts/palette_audit.py:83-91 | src-tauri/science/skills/scientific-visualization/scripts/style_presets.py:144-152 \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":"src-tauri/science/skills/scientific-visualization/scripts/palette_audit.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc61836a6fada41762d5245a14e6292962884acc90869ff7052742d4759b933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): src-tauri/src/acp/binary_cache.rs:210-219 | src-tauri/src/acp/codex_catalog_commit/txn.rs:212-218 | src-tauri/src/backgrounds/mod.rs:264-270 | src-tauri/src/browser/profile.rs:611-618 | src-tauri/src/update/install.rs:1664-1670 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3711b4928901eaa5f995bb666f1b0e9313caa0c88e821d5b86ba8ceacc4724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/experts.rs:245-254 | src-tauri/src/commands/science.rs:210-219 \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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f0787a3331c73307f51c36f39f47b1bc9a76ee8ae7a60d8e82d6b416a0a276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/db/service/work_task_service.rs:3309-3317 | src-tauri/src/db/service/work_task_service.rs:3359-3369 \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":3309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a201c8f5c25aa18f96fa90679f1df0d365d6c13bf7737dffce9658c9a43ef4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/commands/conversations.rs:334-344 | src-tauri/src/commands/conversations.rs:394-399 \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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b6946c24fa2dd5dab36de796611009053512eddf36e15c024761e3d1dae9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/acp/codex_catalog_commit/mod.rs:384-397 | src-tauri/src/acp/opencode_plugins.rs:311-323 \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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"407c468294f073c94d1f1d85c74a4e774f61aa20bfa1ba97c8fc5cdb76176f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/acp/connection.rs:265-273 | src-tauri/src/acp/connection.rs:805-817 \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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c47179134f0a0786ce71be48a5f092481667919f6f4bccefff369a1797476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/acp/delegation/assistants.rs:135-147 | src-tauri/src/acp/delegation/assistants.rs:153-164 \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":"src-tauri/src/acp/delegation/assistants.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf4a3118ea19ef3fddfc51017489934fff0341d6698aaaf935397e538764056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/commands/config_sync/snapshot.rs:319-330 | src-tauri/src/commands/backup/mod.rs:57-63 \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":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ccc0de10627a79b5c305a5290f3fd3877f95d3fc71dde7c04bea6d0b00fb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/folders.rs:682-690 | src-tauri/src/commands/folders.rs:825-833 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"86654973c4c0e954faf1a0c36c4f7ceba618570a0650a13c9a751b0eba22a265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/commands/office_tools.rs:672-681 | src-tauri/src/acp/connection.rs:12815-12824 \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":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c83a1aff1f8c8dabd12a2a03fd6da934a10582d9f25113be43d3a40be17a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py:442-451 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:1067-1074 | src-tauri/science/skills/hypothesis-generation/scripts/validate_prediction_matrix.py:273-282 | src-tauri/science/skills/peer-review/scripts/audit_citations.py:194-203 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0ccd34848acce5fff728d8e3c82e0fdd83a4da2d353113324c8823046ca7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src-tauri/src/db/service/conversation_service.rs:336-344 | src-tauri/src/db/service/conversation_service.rs:346-354 | src-tauri/src/db/service/token_usage_service.rs:493-504 | src-tauri/src/db/service/token_usage_service.rs:526-537 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"be716f2570dab66388f7226e52babe9ef62ee9436a2d9355d97b993007acdeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/parsers/cursor.rs:1921-1933 | src-tauri/src/parsers/grok.rs:1419-1428 \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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ba25a7a52975482a28658ee094d72452d008a48b096c7a0dfa04f5c9c6bc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/parsers/mod.rs:1209-1219 | src-tauri/src/parsers/mod.rs:1230-1240 \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":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c55640fe38bfa7f660e6a74516d5bef7d58de50cec0c5ffa6362ccb249418c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/pet_state_mapper.rs:277-292 | src-tauri/src/pet_sessions.rs:40-51 \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":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca30bb1cea59e70e9a4afe4fe907f1894633568f8720c672687256cd70b07d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/acp/idle_sweep.rs:28-37 | src-tauri/src/office_watch/mod.rs:1041-1047 \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":"src-tauri/src/acp/idle_sweep.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"26493bcabe85be22e9aff0bc10122172f70ca07f7a5966f07374c2af73687f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src-tauri/src/acp/opencode_plugins.rs:130-136 | src-tauri/src/update/install.rs:1301-1307 | src-tauri/src/update/install.rs:1419-1425 \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":"src-tauri/src/acp/opencode_plugins.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab84bddcd23424f90b501cc3904b862ca09739d679cef2a9df7f52b54bba2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/lint_causal_claims.py:179-185 | src-tauri/science/skills/peer-review/scripts/lint_review.py:244-250 | src-tauri/science/skills/peer-review/scripts/validate_claim_evidence.py:211-217 | src-tauri/science/skills/peer-review/scripts/validate_review_intake.py:443-449 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/lint_causal_claims.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebe8b90efe22905464a30e60614d1543084e18a8224c0796126f6a0ed42073f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/acp/idle_sweep.rs:51-64 | src-tauri/src/acp/scratch_dir.rs:857-865 | src-tauri/src/office_watch/mod.rs:1109-1121 \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":"src-tauri/src/acp/idle_sweep.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bd27751481ae3cc433b60149c5e1a15167683448772f7e4690966fd49cca04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/commands/acp.rs:12429-12444 | src-tauri/src/commands/acp.rs:13717-13724 | src-tauri/src/commands/acp.rs:15272-15279 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dd7d3bce61dd7e1b44b0dbd46f12a3fa96ea5bec10b02f297bdf48240be215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/commands/config_sync/appearance.rs:126-134 | src-tauri/src/commands/config_sync/webdav_sync.rs:653-661 \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":"src-tauri/src/commands/config_sync/appearance.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee025e0443168fad3857ae66560fab793a865c090b51cc0bd5d5fafea10b8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/db/service/app_metadata_service.rs:53-60 | src-tauri/src/db/service/conversation_service.rs:1622-1629 \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":"src-tauri/src/db/service/app_metadata_service.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c938e2002f84faba5a4401e1f36f83f772963849166dd9668adbbd4cb9ead43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/web/handlers/acp.rs:1230-1238 | src-tauri/src/web/handlers/office_tools.rs:53-59 \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":"src-tauri/src/web/handlers/acp.rs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056ad6fb73058d39a4316c84f00d518823baf3fa1722aa4221d9489295779e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/db/service/conversation_tag_service.rs:188-197 | src-tauri/src/db/service/folder_group_service.rs:49-56 | src-tauri/src/db/service/work_task_service.rs:3419-3426 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_tag_service.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc315e2e3e77132a08db10f15a1fcbf1eeb6e13dfcbaed9a19339c6909c6970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/forge/cnb.rs:643-650 | src-tauri/src/forge/gitea.rs:1082-1087 \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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c56c078f99076d96093ea47e63486f99d93196a014167067a78c1e25479e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/process.rs:140-146 | src-tauri/src/runtime_lock.rs:52-58 \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":"src-tauri/src/process.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc20a4b184c27538c82e3514e4d8958b496974f71934c738344fb052918a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): src-tauri/src/web/handlers/acp.rs:1174-1185 | src-tauri/src/web/handlers/acp.rs:1291-1298 | src-tauri/src/web/handlers/acp.rs:1337-1344 | src-tauri/src/web/handlers/acp.rs:1541-1552 | src-tauri/src/web/handlers/acp.rs:1574-1585 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/acp.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce46799e9390bfef4624dc96d9e68ab18fedfd2338606df3fe48b6a34231efca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/web/handlers/backup.rs:333-343 | src-tauri/src/web/handlers/config_sync.rs:183-191 \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":"src-tauri/src/web/handlers/backup.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd18a9af67b8490b851baa28a427e33599dabccb4b7722d02463ef6d0d258010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/acp/codex_catalog_commit/lock.rs:132-139 | src-tauri/src/browser/registry.rs:205-214 | src-tauri/src/office_watch/mod.rs:332-339 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/lock.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"29500cc87ff5ed2b19c71c62e5f1114577292a3285afec1a2568f488bb6c09e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): src-tauri/src/db/migration/m20260221_000001_folder_is_open.rs:8-22 | src-tauri/src/db/migration/m20260611_000001_folder_is_chat.rs:8-22 | src-tauri/src/db/migration/m20260727_000001_custom_agent_skills.rs:8-26 | src-tauri/src/db/migration/m20261020_000001_folder_command_run_local.rs:8-26 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260221_000001_folder_is_open.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d3527a26db3ed9be9391984e6d8d5deeef0a272403a32e41a2f809eacad5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src-tauri/src/db/migration/m20260607_000001_folder_parent_id.rs:8-23 | src-tauri/src/db/migration/m20260717_000001_folder_alias.rs:8-22 | src-tauri/src/db/migration/m20260907_000001_canvas_node_path.rs:8-32 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260607_000001_folder_parent_id.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb218a670ff428f2ddb743b2d2c531048e2ef88e4b58a8681b29f66abf5bcd93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/acp/codex_endpoint_catalog.rs:319-329 | src-tauri/src/acp/provider_models.rs:520-531 \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":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07b8e9748c908e40916c23ff4b0cb0981081470c320d0e2a3f27d3bcefbbcee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src-tauri/src/db/migration/m20260330_000001_chat_channel.rs:127-134 | src-tauri/src/db/migration/m20260621_000001_automation.rs:250-258 | src-tauri/src/db/migration/m20260803_000001_token_usage.rs:163-170 | src-tauri/src/db/migration/m20261006_000001_conversation_tag.rs:159-166 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260330_000001_chat_channel.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a070a70f7cde298f62a29e57fe025e55124acb9b85c9388354c80f91eeb5dbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src-tauri/src/cli_run/hello.rs:34-42 | src-tauri/src/forge/auto/webhook.rs:155-157 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/hello.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ab8ddf468550bb72d02ea5ff4b3e7bb4b43a42bc6785689de429f83a053cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:315-319 | src-tauri/science/skills/peer-review/scripts/_common.py:287-291 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"74514eb7fd156b38c0b2f7d9e2e4aed432ea5057b999d06c22f112b05d3dc2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/chat_channel/session_commands.rs:1665-1673 | src-tauri/src/chat_channel/tool_detail.rs:127-134 | src-tauri/src/parsers/mod.rs:595-602 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ee4cf21264690795d862963b3a0bb3ed284ba4c68914095bf8bc18c83e03ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/computer/helper/driver_proc.rs:798-803 | src-tauri/src/computer/local.rs:1298-1303 \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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e76d6892e83a15d2c88b48998c1b69c88c679d4882f03add3b7cb1127cb7298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/db/service/canvas_service.rs:70-73 | src-tauri/src/db/service/tab_service.rs:48-51 \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":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff153aca3cc3bf3407da315caffc745f0300fa52a45c59995b0bd506fd8bd162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src-tauri/src/acp/codex_catalog_commit/mod.rs:406-414 | src-tauri/src/acp/connection.rs:14013-14021 | src-tauri/src/commands/codex_catalog.rs:717-726 \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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac936066b50f068ac5001400f670f339dfaae4b093303c6145a193dd6d96a66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): src-tauri/src/db/migration/m20260807_000001_work_task_scheduled_at.rs:8-25 | src-tauri/src/db/migration/m20260819_000001_work_task_completion_kind.rs:8-29 | src-tauri/src/db/migration/m20261015_000001_work_task_deferred_at.rs:8-27 | src-tauri/src/db/migration/m20261022_000001_work_task_delivery.rs:8-24 | src-tauri/src/db/migration/m20261112_000001_work_task_writeback_drafts.rs:8-23 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260807_000001_work_task_scheduled_at.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c633b2306114fdd7d79be6a3630055dbedccf7143c35fd7d21984dd0620c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/acp/qoder.rs:424-429 | src-tauri/src/acp/scratch_dir.rs:845-853 \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":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f484db1b50d124864fac7bc33e8d5af831e39f6f0d663be52074e2da015b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/db/migration/m20260728_000001_custom_agent_skills_dir.rs:8-22 | src-tauri/src/db/migration/m20260808_000001_custom_agent_supports_mcp.rs:8-29 \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":"src-tauri/src/db/migration/m20260728_000001_custom_agent_skills_dir.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0800c555454a9e6d0291befd9fa11793120fdba0f94979fd89d0a4f1da14ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/db/migration/m20260817_000001_work_task_conversation_title.rs:9-45 | src-tauri/src/db/migration/m20260930_000001_agent_setting_drop_adapter_channel.rs:9-28 \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":"src-tauri/src/db/migration/m20260817_000001_work_task_conversation_title.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"06291377813c95a3426b32e1e0800c9924b8feb36f775c138fe68060ff14432a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src-tauri/src/db/service/automation_service.rs:249-256 | src-tauri/src/db/service/folder_command_service.rs:28-36 | src-tauri/src/db/service/quick_message_service.rs:23-30 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/automation_service.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b5659ded3f5f1c6a6475528e03b5d8191ab6a7e79d7afec1fa7019fdd06315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/acp/trae.rs:100-105 | src-tauri/src/parsers/kiro.rs:65-70 \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":"src-tauri/src/acp/trae.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad3e9c12d28aae3219f853a625374c567ce34aa7171351971ce8cc65640c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src-tauri/src/web/handlers/experts.rs:54-59 | src-tauri/src/web/handlers/office_tools.rs:82-87 | src-tauri/src/web/handlers/science.rs:55-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/experts.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c12487529a846e1acd6f789db2adb2bd01245d3f4f0093ed553ccb3349745c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/parsers/deepseek.rs:804-810 | src-tauri/src/parsers/pi.rs:655-662 \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":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68a784d6daf0d8f19fceb6d273a3095cab93f720b3c92325039a1b9effab1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src-tauri/src/commands/backup/core.rs:313-326 | src-tauri/src/commands/backup/restore.rs:1117-1130 \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":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c7d829976419fddaa6937ec1ce14a16dc97a720f65c9057da1605c8258f0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/db/migration/m20260610_000001_conversation_pinned_at.rs:8-22 | src-tauri/src/db/migration/m20261017_000002_conversation_source.rs:8-23 \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":"src-tauri/src/db/migration/m20260610_000001_conversation_pinned_at.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71a91609e2656d492c763868a37b9f1489cc0498c6f305f1750062224294abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/computer/helper/act.rs:1088-1094 | src-tauri/src/computer/helper/ops.rs:78-84 \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":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f09575a1c50450c57fb8365ddee9169cdf915c90227217fb26c8543cfd8dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src-tauri/src/parsers/hermes.rs:426-433 | src-tauri/src/parsers/opencode.rs:1005-1013 \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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217b9d61d5b67958d806e20eca0ec535f7fc112db9c5a67b47edacdfad7b066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/parsers/kiro.rs:130-135 | src-tauri/src/parsers/qoder.rs:392-398 \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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb796d4939f0ac1e4e0d6548df97b4d9813fee2b20e0b6ba615757b6f1412c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/parsers/opencode_context_window.rs:557-560 | src-tauri/src/parsers/summary_cache.rs:98-101 \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":"src-tauri/src/parsers/opencode_context_window.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"937647d52a116812e35fa82108684a7cc66f4383dd237cc4fb19f133743e3d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src-tauri/src/web/handlers/custom_skills.rs:74-79 | src-tauri/src/web/handlers/experts.rs:63-68 | src-tauri/src/web/handlers/office_tools.rs:117-122 | src-tauri/src/web/handlers/science.rs:64-69 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/custom_skills.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e42cf14c45e664e9c427733b9c113145af67b98be81bca12f6733b1bc2063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/web/handlers/office_tools.rs:100-105 | src-tauri/src/web/handlers/science.rs:38-43 \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":"src-tauri/src/web/handlers/office_tools.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c404d6197a069f1ca7d7a61fd18c972f316c6632df6e93dba7585d189984c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/web/handlers/office_tools.rs:126-131 | src-tauri/src/web/handlers/science.rs:82-87 \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":"src-tauri/src/web/handlers/office_tools.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ed413996ea38968867ef8d0b2ca420eec05bc31395543a9bca8b909a4a7e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/browser/egress.rs:304-310 | src-tauri/src/forge/auto/mod.rs:315-321 \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":"src-tauri/src/browser/egress.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"81172f7e291f3ac323c9c28efa1340340303af0e193965871eb4f5ae6f635e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/parsers/cursor.rs:292-298 | src-tauri/src/parsers/grok.rs:563-568 \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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509d9549e6f5ac8299367b43c6932a805bf0cfb1ef4885b9248fff3814a339e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/web/handlers/automation.rs:138-143 | src-tauri/src/web/handlers/work_task.rs:421-426 \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":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b80a647d2aa12e6356bc0b3940cf1d1b480246fe89b186702f717e4e3cb582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/acp/opencode_plugins.rs:88-95 | src-tauri/src/parsers/qoder.rs:90-96 \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":"src-tauri/src/acp/opencode_plugins.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"925a08fb5f4af7d269ae90f2d2bb4a5359b0975650c08d8a3abe5a764bd53cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/commands/acp.rs:10314-10319 | src-tauri/src/commands/custom_skills.rs:758-763 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10314}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f75c3c91936f0bd763c5fa1d7dec02f4956f5a6a91f0f723aca44bc51f2776"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/commands/config_sync/snapshot.rs:503-506 | src-tauri/src/parsers/codex.rs:5899-5903 \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":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e63871a53dbf06083ccee92e0a9dd1967b5f1e35b753c5a6e46cc9d2198666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 6\u002B corresponding lines): src-tauri/src/parsers/claude.rs:1698-1703 | src-tauri/src/parsers/codebuddy.rs:40-45 | src-tauri/src/parsers/codex.rs:867-872 | src-tauri/src/parsers/deepseek.rs:61-66 | src-tauri/src/parsers/gemini.rs:938-944 | src-tauri/src/parsers/grok.rs:76-81 | src-tauri/src/parsers/kimi_code.rs:38-43 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e963634e2507f8818862ed14d588097e724bc34dbd8753f668d5f35808652c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/acp/background_watch.rs:2145-2151 | src-tauri/src/parsers/codebuddy.rs:533-539 \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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2c50e4c0679fd250ea133ffc2edb8cafa592860e3ad9dfdae6b14d921b6a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/parsers/claude.rs:912-919 | src-tauri/src/parsers/codex.rs:6411-6416 \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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e267c360dc10df9cdf05638b7f56f95926b65e6fd5f08925f4b53a6ae623ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src-tauri/src/web/handlers/delegation.rs:33-43 | src-tauri/src/web/handlers/system_settings.rs:144-154 \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":"src-tauri/src/web/handlers/delegation.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d973b9ca4fa4eb69d614b2e174496b71b233aa62612ed2fe758299c3c810b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/acp/lifecycle.rs:86-96 | src-tauri/src/cli_run/service.rs:2913-2921 \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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fde84a7ce6bb10db29ad5d39361f9cb9a7c68133e94416d95809cf1745505d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 4\u002B corresponding lines): src-tauri/src/commands/canvas.rs:34-37 | src-tauri/src/commands/config_sync/webdav_sync.rs:347-350 | src-tauri/src/commands/custom_skills.rs:126-129 | src-tauri/src/commands/experts.rs:192-195 | src-tauri/src/commands/office_tools.rs:72-75 | src-tauri/src/commands/science.rs:157-160 | src-tauri/src/db/service/canvas_service.rs:65-68 | src-tauri/src/db/service/tab_service.rs:22-25 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 4 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff997003dd48a8941292ae5c0c7cd7aa75b2047f3d77f9a53b578d75f919144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/db/service/app_metadata_service.rs:40-46 | src-tauri/src/db/service/work_task_service.rs:3339-3345 \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":"src-tauri/src/db/service/app_metadata_service.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bc2f7cb5f29aa508e47d3ea7e1e091b6443682a0a5f9fd2b09dfcab962ee3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/folder_links.rs:34-39 | src-tauri/src/update/state.rs:143-148 \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":"src-tauri/src/folder_links.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d2ee0b5e10ddce9d1a35202030fe17e1f685bd9829fded825d8b3f7979fa9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/parsers/codebuddy.rs:1300-1312 | src-tauri/src/parsers/pi.rs:1429-1441 \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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac006b9faa93d446485d926bc88e52c0b7035c806bff1ad5fa46fa1f66adf36d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:288-291 | src-tauri/science/skills/peer-review/scripts/_common.py:261-264 \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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92926f8e05b151e2e4907c364f4625723b8eccca7aec31a2f42f36dfeeafcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/acp/codex_endpoint_catalog.rs:49-52 | src-tauri/src/turn_timings.rs:138-141 \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":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ad5c84365e637d387f16a97f0a6b2e63b71d43855fce3d100142b06bcf28ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): src-tauri/src/acp/cursor_acp_retry_compat.rs:288-293 | src-tauri/src/forge/thread_reply.rs:237-249 | src-tauri/src/parsers/claude.rs:940-949 | src-tauri/src/parsers/codex.rs:6007-6015 | src-tauri/src/parsers/mod.rs:998-1004 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"916788099e54e55466288b67da85578f3e37a46fe64089193d12115a96fb9e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): src-tauri/src/acp/terminal_runtime.rs:971-976 | src-tauri/src/db/service/canvas_service.rs:243-245 | src-tauri/src/forge/mod.rs:1163-1165 | src-tauri/src/forge/settings.rs:406-410 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9c5723de5dd05a570eeb152f44d21aa2070e660d16b4ce322298c9f1009dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/cli/mod.rs:44-52 | src-tauri/src/cli_run/service.rs:226-238 \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":"src-tauri/src/cli/mod.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3917227e26a0bdf13c26b7272ce006f6a6f51a4cf9a5ebfe3030229b06f443c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): src-tauri/src/db/migration/m20260221_000001_folder_is_open.rs:24-33 | src-tauri/src/db/migration/m20260424_000001_folder_color.rs:26-35 | src-tauri/src/db/migration/m20260607_000001_folder_parent_id.rs:25-34 | src-tauri/src/db/migration/m20260611_000001_folder_is_chat.rs:24-33 | src-tauri/src/db/migration/m20260717_000001_folder_alias.rs:24-33 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260221_000001_folder_is_open.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f7ba0d49b41b8ddfddbdf5487a811dc2ef001f11e23a3d617735d4d67d556c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src-tauri/src/db/migration/m20260608_000001_conversation_title_locked.rs:45-54 | src-tauri/src/db/migration/m20260610_000001_conversation_pinned_at.rs:24-33 | src-tauri/src/db/migration/m20261017_000002_conversation_source.rs:25-34 \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":"src-tauri/src/db/migration/m20260608_000001_conversation_title_locked.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"06df3b4dff08872fb475469a3347b312a01c2be0670479e1fa82ae551354a3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src-tauri/src/db/migration/m20260727_000001_custom_agent_skills.rs:28-37 | src-tauri/src/db/migration/m20260728_000001_custom_agent_skills_dir.rs:24-33 | src-tauri/src/db/migration/m20260808_000001_custom_agent_supports_mcp.rs:31-40 \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":"src-tauri/src/db/migration/m20260727_000001_custom_agent_skills.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"72251d840861dd2d6fe757715e3a8288fb0b4746618cc8788dbb48e3ef663712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): src-tauri/src/db/migration/m20260807_000001_work_task_scheduled_at.rs:27-36 | src-tauri/src/db/migration/m20260819_000001_work_task_completion_kind.rs:31-40 | src-tauri/src/db/migration/m20261015_000001_work_task_deferred_at.rs:29-38 | src-tauri/src/db/migration/m20261022_000001_work_task_delivery.rs:26-35 | src-tauri/src/db/migration/m20261112_000001_work_task_writeback_drafts.rs:25-34 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260807_000001_work_task_scheduled_at.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7995da1604f1fa6afdbc196082aff09082ed322cb2e9dff100917836251113bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/parsers/hermes.rs:419-424 | src-tauri/src/parsers/opencode.rs:997-1003 \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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0a1d13dc9a66aee7a10661e1a380f9eaf5299b2a0cd8ea6598e817954c1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/web/handlers/quick_messages.rs:71-76 | src-tauri/src/web/handlers/work_task.rs:603-608 \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":"src-tauri/src/web/handlers/quick_messages.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3701eda3c8de2367f6795baab6d9b22ef5c2c508cd7622826e643bcc72c43010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/automation/engine.rs:1182-1185 | src-tauri/src/work_task/engine.rs:8615-8618 \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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ab8f8986c2f9259c8a7fe46de94128864bb19466fe054b7b95ea3d9f1d692b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src-tauri/src/commands/mcp.rs:41-46 | src-tauri/src/commands/remote_proxy.rs:527-529 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7422086955b14a5fa9662fd2f2644cf878318b49e1ec7de5fa28eff5b8b7c4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): src-tauri/src/acp/delegation/live_reply.rs:97-101 | src-tauri/src/acp/manager.rs:5023-5027 | src-tauri/src/acp/result_tool.rs:39-43 \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":"src-tauri/src/acp/delegation/live_reply.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fc627f6858016189457c542a0d9a23a9c2f9fd188aff630fbe3a092a802159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src-tauri/src/web/handlers/git.rs:221-225 | src-tauri/src/web/handlers/mcp.rs:83-88 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/git.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a16aee99a4158e496fef5add86c4978fb2c28bda160beb5a059f87946f834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/browser/doc_guest.rs:953-959 | src-tauri/src/browser/egress.rs:312-319 \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":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a84e89a8629ba9211ebedc4e296c16fd33519ca874df38c3106b56430f6dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src-tauri/src/web/handlers/assistants.rs:28-32 | src-tauri/src/web/handlers/forge.rs:358-362 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/assistants.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb154af9bb58932ff4c797f6be466aa33b920ce1c863cb49a31e1ba66629aec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): src-tauri/src/commands/project_boot.rs:205-260 | src-tauri/src/commands/project_boot.rs:570-625 \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 \u0060src-tauri/src/commands/project_boot.rs:205\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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d024a9809387fa27f5f50d43b166c28c0a70d3a042e978f8a2fcf7d53bcb115b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201343 lines \u00D7 2): src-tauri/src/acp/connection.rs:15569-15591 | src-tauri/src/acp/connection.rs:15695-15737 \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 \u0060src-tauri/src/acp/connection.rs:15569\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15569}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d0472cbd9c41e71923695591254b0cc463f1332dc17875081d10bc79756c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201343 lines \u00D7 2): src-tauri/src/acp/manager.rs:4761-4796 | src-tauri/src/acp/manager.rs:4889-4931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":4761}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f1857a2e8388f822394d9c098bc46e21740271f90bb10328528e15749d479c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201342 lines \u00D7 2): src-tauri/src/acp/connection.rs:10343-10384 | src-tauri/src/acp/connection.rs:10991-11021 \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 \u0060src-tauri/src/acp/connection.rs:10343\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6863713e082c9f8d5e5d9828e6a3b02f12069cefd506c1f73e7ab24efdee8c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): src-tauri/src/acp/stderr_tail.rs:194-232 | src-tauri/src/browser/service_url.rs:81-119 \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":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee8c8662c9e4652199c04e94a1044a38f2998fc547f2dc8b343980fc13cd367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 3): src-tauri/src/acp/connection.rs:9826-9860 | src-tauri/src/acp/connection.rs:10066-10102 | src-tauri/src/acp/connection.rs:10178-10212 \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 \u0060src-tauri/src/acp/connection.rs:9826\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9826}}}],"partialFingerprints":{"codehealthFindingId/v1":"f629fa6ba223efe4ab79874a1cbf0a74425b9b85e42467d936c0372f422553ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 4): src-tauri/src/commands/custom_skills.rs:449-480 | src-tauri/src/commands/experts.rs:973-1004 | src-tauri/src/commands/office_tools.rs:1246-1280 | src-tauri/src/commands/science.rs:789-820 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb576e0c481e2f28ccc5c9ae24a7eb189624e3d3b4d8059db618c3dca342e098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src-tauri/src/acp/connection.rs:9981-10014 | src-tauri/src/acp/connection.rs:10106-10139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9981}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7232071779de77f94ddf99221ea99f6cd6c507f888b804c745a5cd2dfd4016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:3014-3047 | src-tauri/src/acp/delegation/broker.rs:3091-3124 \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 \u0060src-tauri/src/acp/delegation/broker.rs:3014\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a5aa51771de271cc116b52ec1fbcdb6c12e3667bcca28b8dc08a986c17d297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:4678-4711 | src-tauri/src/acp/delegation/broker.rs:4749-4782 \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 \u0060src-tauri/src/acp/delegation/broker.rs:4678\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab4f5a1cd14d845068e6afef5199ae5c9266585ac3b3c2227b9b90bc33ca594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src-tauri/src/commands/experts.rs:703-733 | src-tauri/src/commands/science.rs:522-551 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:703\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0256d1326c8f195537d1e1b8c2f95c0ad1f786b28f5d737908668912b9172aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 4): src-tauri/src/acp/connection.rs:9507-9534 | src-tauri/src/acp/connection.rs:9813-9840 | src-tauri/src/acp/connection.rs:10053-10082 | src-tauri/src/acp/connection.rs:10165-10192 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/acp/connection.rs:9507\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6081c11690169e07e3d445708536cfbbd5b2d9be650063946aaff69ed914b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): src-tauri/src/commands/experts.rs:792-821 | src-tauri/src/commands/office_tools.rs:1050-1079 | src-tauri/src/commands/science.rs:617-646 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0b9059906dc814eb720ee60187bb6765f075e9060752ca97888e95bd01f622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 7): src-tauri/src/parsers/codebuddy.rs:1327-1355 | src-tauri/src/parsers/codex.rs:7170-7198 | src-tauri/src/parsers/hermes.rs:793-820 | src-tauri/src/parsers/kimi_code.rs:1318-1346 | src-tauri/src/parsers/openclaw.rs:1111-1139 | src-tauri/src/parsers/opencode.rs:2303-2330 | src-tauri/src/parsers/pi.rs:1456-1484 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1327\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1125951cc1c57800b5faa629efaa973b38878bd9a7db80e875348b02361987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201329 lines \u00D7 2): src-tauri/src/parsers/codex.rs:535-553 | src-tauri/src/parsers/codex.rs:3521-3549 \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 after the matched lines, \u0060src-tauri/src/parsers/codex.rs:3550\u0060 calls \u0060Some\u0060, \u0060parse_codex_timestamp\u0060, \u0060push_turn_start\u0060 and \u0060src-tauri/src/parsers/codex.rs:554\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f7434788538d3efa085577eae30f96ff006445d493427ae9b3b92f57da3e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 3): src-tauri/src/commands/remote_proxy.rs:417-444 | src-tauri/src/commands/remote_proxy.rs:743-768 | src-tauri/src/commands/remote_proxy.rs:1112-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 \u0060src-tauri/src/commands/remote_proxy.rs:417\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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b6e5c6c759bc6c66d8e23db9e63342ad1e13a48bc5669980be717f14dcf0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): src-tauri/src/commands/project_boot.rs:152-177 | src-tauri/src/commands/project_boot.rs:503-530 \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 \u0060src-tauri/src/commands/project_boot.rs:152\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, \u0060src-tauri/src/commands/project_boot.rs:149\u0060 calls \u0060is_empty\u0060, \u0060Err\u0060, \u0060invalid_input\u0060 and \u0060src-tauri/src/commands/project_boot.rs:502\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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2e2dd6c4a903a10ed45a72019a77febaac7ffef2e3345a72dc0b3e1aba5502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): src-tauri/src/web/mod.rs:634-661 | src-tauri/src/web/mod.rs:870-894 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"180d899165575f197114464034d0bad2ee759f3330fe500f9523083ba6e90b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): src-tauri/src/parsers/claude.rs:1223-1248 | src-tauri/src/parsers/codex.rs:5797-5822 | src-tauri/src/parsers/mod.rs:1247-1272 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca0308ed40d21b8dbe9e547ef6def9389da9f5f19f780314dacd0ce9be69d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): src-tauri/src/acp/connection.rs:5850-5871 | src-tauri/src/acp/connection.rs:6242-6267 \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 \u0060src-tauri/src/acp/connection.rs:5850\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb97fd712513f004506c82ee67e34ad9f2f0103b82a3070eac0de5e57d58989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): src-tauri/src/acp/connection.rs:10669-10694 | src-tauri/src/acp/connection.rs:10811-10833 \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 \u0060src-tauri/src/acp/connection.rs:10669\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10669}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef040b790f7169d33093eba76533c5e218ddd59377a623a098fed17a4483d4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src-tauri/src/acp/file_system_runtime.rs:1226-1251 | src-tauri/src/commands/folders.rs:4586-4611 \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 \u0060src-tauri/src/acp/file_system_runtime.rs:1226\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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"086af307d182b373f465e78af8825521ecd1dbd836f3ef63eaee66d08426f527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): src-tauri/src/db/service/conversation_service.rs:1674-1699 | src-tauri/src/db/service/conversation_service.rs:1760-1782 \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 \u0060src-tauri/src/db/service/conversation_service.rs:1674\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":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2febb6f0a204f6b0ce6aa1109b116853e7375e1a432503a5d29bae1e712c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:577-601 | src-tauri/src/db/service/work_task_service.rs:665-687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c289584d3fea5971c04d8bbbbe5b2352e880e6a411b5956785f032403e0719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:1267-1291 | src-tauri/src/parsers/kimi_code.rs:1105-1129 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1267\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"134a345a0bff1a1e8723980cee3d43fd47e70cc8f22242c4dc99952ebf03dce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 2): src-tauri/src/parsers/codex.rs:474-514 | src-tauri/src/parsers/codex.rs:3471-3506 \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 \u0060src-tauri/src/parsers/codex.rs:474\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cbe8f3e59f38c7e980caa1107a577e2afe9691fefa03fc739aaa90d6576cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): src-tauri/src/parsers/opencode.rs:405-429 | src-tauri/src/parsers/opencode.rs:951-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 \u0060src-tauri/src/parsers/opencode.rs:405\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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fd565e6c9d7eb1a7759e2b36a8baa1b43f10192d628b5f894be8e6300981b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src-tauri/src/commands/experts.rs:619-641 | src-tauri/src/commands/science.rs:437-460 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:619\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060meta\u0060 to \u0060\u0026ExpertMetadata\u0060 in one and \u0060\u0026ScienceMetadata\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"569828322e812dd1cad6dc1bfeb59b31edbedf8e03e099cb69a994f99cd36321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1487-1510 | src-tauri/src/commands/mcp.rs:4288-4309 \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 \u0060src-tauri/src/commands/mcp.rs:1487\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f7e696410cb68856a5b1a33203f3ae806002d873757ea7d55e5fd76f8c1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:2993-3015 | src-tauri/src/acp/delegation/broker.rs:4661-4679 \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 \u0060src-tauri/src/acp/delegation/broker.rs:2993\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b14e7dcc7d89a41d77644ef66f374b90db04365587fec109426c6096a01c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201323 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:3049-3071 | src-tauri/src/acp/delegation/broker.rs:4713-4727 \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 \u0060src-tauri/src/acp/delegation/broker.rs:3049\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. 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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"9214ebdf5d58c688c2be88da15043cc27b422c11d438920a425c27529c2fc8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src-tauri/src/commands/acp.rs:5225-5247 | src-tauri/src/commands/acp.rs:5259-5281 \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. 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5225}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c24b9a2411e57cec0529bd233a23d1d8554c02e9b792c34190ab2edc8d396e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 7): src-tauri/src/parsers/codebuddy.rs:1373-1394 | src-tauri/src/parsers/codex.rs:7218-7239 | src-tauri/src/parsers/hermes.rs:838-859 | src-tauri/src/parsers/kimi_code.rs:1364-1385 | src-tauri/src/parsers/openclaw.rs:1153-1174 | src-tauri/src/parsers/opencode.rs:2350-2371 | src-tauri/src/parsers/pi.rs:1502-1523 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1373\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cdbac0a961437c085b9464040fbbe199653ed7cb9a75c5b5dd78c994202d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201322 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:2878-2887 | src-tauri/src/acp/delegation/broker.rs:4550-4571 \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 \u0060src-tauri/src/acp/delegation/broker.rs:2878\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, \u0060src-tauri/src/acp/delegation/broker.rs:4572\u0060 calls \u0060remove_completed\u0060 and \u0060src-tauri/src/acp/delegation/broker.rs:2889\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2878}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91b73a6b823adf933da4bf5d1a2470abc21aa7188d4cb48c037d4a4df12df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src-tauri/src/commands/acp.rs:3057-3078 | src-tauri/src/commands/mcp.rs:790-811 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/acp.rs\u0060 and \u0060src-tauri/src/commands/mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3057}}}],"partialFingerprints":{"codehealthFindingId/v1":"6119c2a95d63065b1ec438b9d211a0cf33c0ec198437ed15dc706137d3dc5bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src-tauri/src/commands/acp.rs:12722-12743 | src-tauri/src/commands/acp.rs:12831-12852 \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 \u0060src-tauri/src/commands/acp.rs:12722\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12722}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ffd9f355ad05a0de993af0baa03913704fce6c998e10db7ebccac2d5b7b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): src-tauri/src/commands/mcp.rs:4404-4422 | src-tauri/src/commands/mcp.rs:4505-4526 \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. 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc65d9126fedabb17e8ff5628f6ae3b807e06316e92a2e85fbf1d68f18d2db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): src-tauri/src/parsers/deepseek.rs:330-351 | src-tauri/src/parsers/grok.rs:542-561 \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. 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":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef63029c931135e658b873121e349b5b5cc1fa68f2973200db184f73acb0f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201321 lines \u00D7 2): src-tauri/src/automation/engine.rs:547-558 | src-tauri/src/work_task/engine.rs:1485-1505 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/automation/engine.rs:547\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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb9c2511c16e6741f37736acfc90a19f40aa83ca33f8bab07b7c762c535a17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): src-tauri/src/chat_channel/session_commands.rs:1143-1163 | src-tauri/src/chat_channel/session_commands.rs:1245-1261 \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 \u0060src-tauri/src/chat_channel/session_commands.rs:1143\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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c22086a00bf207c8c5093b5ad53d2b38ab0176ed7fa297a973fac4b1dd1fd2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src-tauri/src/commands/canvas.rs:484-504 | src-tauri/src/commands/canvas.rs:627-647 \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 \u0060src-tauri/src/commands/canvas.rs:484\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":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"de19f50d8485cb3159ec17e61ac2626a2c4c276b51bf3dd2af0578f8f837ad96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src-tauri/src/commands/experts.rs:1015-1035 | src-tauri/src/commands/science.rs:830-850 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:1015\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f168b4c43c79a42b7a242cf97ee37bcc84d5e16b17c7d8b9769713feb99599e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1825-1845 | src-tauri/src/commands/mcp.rs:1976-1996 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a596a7de34a582dc75280535104bd4d3357ed52bc369284f70688f993f8065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201321 lines \u00D7 2): src-tauri/src/parsers/codex.rs:656-670 | src-tauri/src/parsers/codex.rs:3870-3890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c62efd265eba00adad20b96619c37c2a9e374a63cec81e7d8100cfa52df10a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src-tauri/src/parsers/hermes.rs:81-101 | src-tauri/src/parsers/opencode.rs:79-99 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/hermes.rs:81\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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db8bc809233b7e13b38bff5a2325b62addc8d71a882bc7d4b3d0378c136c340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): src-tauri/src/acp/connection.rs:6832-6851 | src-tauri/src/acp/connection.rs:6912-6929 \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 \u0060src-tauri/src/acp/connection.rs:6832\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6832}}}],"partialFingerprints":{"codehealthFindingId/v1":"264357588857dc572a5849951daaf22f9446fadbe949d7b293635922b7c335dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201320 lines \u00D7 2): src-tauri/src/acp/connection.rs:10587-10606 | src-tauri/src/acp/connection.rs:10760-10769 \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 \u0060src-tauri/src/acp/connection.rs:10587\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10587}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf99d10692dbe57d400b7aa6db2dbf909ef03253862d5850954759e362268cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): src-tauri/src/commands/chat_channel.rs:97-114 | src-tauri/src/commands/chat_channel.rs:142-161 \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. 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":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e97352d1883be822668680a696f27d7ccfd50e7b4eb8a483d2c3713943d1b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): src-tauri/src/commands/experts.rs:334-353 | src-tauri/src/commands/science.rs:302-317 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:334\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"143cf4b8cefc71539e40989fe6432ba74c063e68c761589835c6e411633008e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src-tauri/src/commands/office_tools.rs:710-729 | src-tauri/src/commands/office_tools.rs:731-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60a3e4eb752c11f26887a6468dab63467e05f28eed6a947b667712daa11063f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201320 lines \u00D7 2): src-tauri/src/lib.rs:1131-1140 | src-tauri/src/lib.rs:1151-1170 \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 \u0060src-tauri/src/lib.rs:1151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fdff9ef51156bbaa262cafa9682eadd080e3bee45cbd560422e817ade5b31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src-tauri/src/web/mod.rs:689-708 | src-tauri/src/web/mod.rs:1042-1061 \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 after the matched lines, \u0060src-tauri/src/web/mod.rs:1065\u0060 calls \u0060emit_web_service_status_changed\u0060 and \u0060src-tauri/src/web/mod.rs:710\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":"src-tauri/src/web/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde67c99d57a5b0aa51066bef98f51b181f50b0ac1a81582966e3795eeaf593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 3): src-tauri/src/computer/local.rs:706-722 | src-tauri/src/computer/local.rs:794-812 | src-tauri/src/computer/local.rs:895-909 \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 \u0060src-tauri/src/computer/local.rs:794\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":"src-tauri/src/computer/local.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0fd1f5ba67ad52c3cd5d3887e037faba6555f4f9cbcb1b699d66e83ec5640e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): src-tauri/src/acp/manager.rs:4233-4251 | src-tauri/src/acp/manager.rs:4387-4403 \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 \u0060src-tauri/src/acp/manager.rs:4233\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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf4635e74b3b6f44d4c8f92e9f7a9ca5ca02eb8def07b632bf00fc7343574fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src-tauri/src/db/service/folder_command_service.rs:163-181 | src-tauri/src/db/service/quick_message_service.rs:89-107 \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 \u0060src-tauri/src/db/service/folder_command_service.rs:163\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":"src-tauri/src/db/service/folder_command_service.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ca2e6d30658d3169fad1312c5709a75939b851c0f41e9707db6c8bddf8363c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): src-tauri/src/web/handlers/app_update.rs:223-241 | src-tauri/src/web/handlers/app_update.rs:264-279 \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 \u0060src-tauri/src/web/handlers/app_update.rs:223\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":"src-tauri/src/web/handlers/app_update.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5602d9fdb5af0ad85939a1067bfcdc6c84ba70d5ac497e09efb742eb4ac86958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 7): src-tauri/src/commands/mcp.rs:2998-3008 | src-tauri/src/commands/mcp.rs:3117-3127 | src-tauri/src/commands/mcp.rs:3220-3230 | src-tauri/src/commands/mcp.rs:4079-4089 | src-tauri/src/commands/mcp.rs:4704-4714 | src-tauri/src/commands/mcp.rs:5153-5169 | src-tauri/src/commands/mcp.rs:5434-5451 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d1d57d6469b7a2cb831a430e2da9c4a2b3aafff88cf7373f6fb73a205f6008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src-tauri/src/commands/acp.rs:3058-3075 | src-tauri/src/commands/acp.rs:3085-3102 | src-tauri/src/commands/mcp.rs:791-808 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/acp.rs\u0060 and \u0060src-tauri/src/commands/mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/acp.rs:3058\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b56f78b12e19c0f855a34b8764715fe5341b3e6ff105d021e33dc19165f5a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/acp/connection.rs:9488-9505 | src-tauri/src/acp/connection.rs:9792-9809 \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 \u0060src-tauri/src/acp/connection.rs:9488\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9488}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf53577834c89b57a796912b7372b2865bd5b3290b8968fac0eba09cd7ac6d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): src-tauri/src/acp/connection.rs:10609-10626 | src-tauri/src/acp/connection.rs:10785-10798 \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 \u0060src-tauri/src/acp/connection.rs:10609\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10609}}}],"partialFingerprints":{"codehealthFindingId/v1":"3951e2afbd9f019d1ab6e54dfd3564042b380ea5a626fb0417e77bcf6900b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): src-tauri/src/acp/connection.rs:15834-15851 | src-tauri/src/acp/connection.rs:16213-16225 \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 \u0060src-tauri/src/acp/connection.rs:15834\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/acp/connection.rs:16211\u0060 calls \u0060connection\u0060, \u0060session_id\u0060, \u0060clone\u0060 and \u0060src-tauri/src/acp/connection.rs:15833\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfd1870456f1b239847a3ec9b540c3b40dac9bf4beb6b7e7d9914e15a3b0ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src-tauri/src/acp/manager.rs:3152-3168 | src-tauri/src/acp/manager.rs:3275-3292 \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 \u0060src-tauri/src/acp/manager.rs:3152\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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d371a4bdd087017b2a56a9b7e60f69518350d64c06f861f0ce29b7b45d83396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/commands/acp.rs:13143-13160 | src-tauri/src/commands/acp.rs:13429-13446 \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 \u0060src-tauri/src/commands/acp.rs:13143\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20d2327f1acbffe0fbeb034c6a80f415f9f00582308181e1b0ade77bfea12bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/commands/folders.rs:5557-5574 | src-tauri/src/commands/folders.rs:5656-5673 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/commands/folders.rs:5575\u0060 calls \u0060clone\u0060 and \u0060src-tauri/src/commands/folders.rs:5675\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5557}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe17fa219f1c70f1344e50644047c625619adf8cc7a1b847412f3a114c5b3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/commands/mcp.rs:2603-2620 | src-tauri/src/commands/mcp.rs:2795-2812 \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 \u0060src-tauri/src/commands/mcp.rs:2603\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c08fdf89a52e02517f4fed3c51d98c558ae24e95c933bfa4ef7724371ab2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:1217-1234 | src-tauri/src/parsers/kimi_code.rs:1062-1079 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1217\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9264b6a7487797958b8677c8544d2a20a9580ac95b8e57f9061fc8a40f5427a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): src-tauri/src/commands/experts.rs:843-859 | src-tauri/src/commands/office_tools.rs:1101-1114 | src-tauri/src/commands/science.rs:667-682 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:843\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6d9be77ef4c9248b6e5670d5fd1c22b8d0ca9602c6eb6403f4d77d365479a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/acp/connection.rs:8929-8945 | src-tauri/src/acp/connection.rs:8997-9013 \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 \u0060src-tauri/src/acp/connection.rs:8929\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0258fae5c165ac059394ac376416177ffa8dae91c407d93be5096cec321fe5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:2918-2934 | src-tauri/src/acp/delegation/broker.rs:4597-4612 \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 \u0060src-tauri/src/acp/delegation/broker.rs:2918\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b41634fec5eb8e7680e382a6962b7adaa5b11437e5111a1dd65ce425348dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/chat_channel/command_handlers.rs:13-29 | src-tauri/src/chat_channel/session_commands.rs:1378-1394 \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 \u0060src-tauri/src/chat_channel/command_handlers.rs:13\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, \u0060src-tauri/src/chat_channel/command_handlers.rs:12\u0060 calls \u0060filter\u0060, \u0060contains\u0060 and \u0060src-tauri/src/chat_channel/session_commands.rs:1377\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":"src-tauri/src/chat_channel/command_handlers.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b981511862db07c3a88c07ddc42c3ae77436a3e1bbabe246ae46d76b0dc9c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/commands/acp.rs:3483-3499 | src-tauri/src/commands/acp.rs:4031-4047 \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 \u0060src-tauri/src/commands/acp.rs:3483\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e3890674349ad1678cfaa05e7a099fded5813a64ad6396a56a25904f9b99fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src-tauri/src/commands/canvas.rs:362-378 | src-tauri/src/commands/canvas.rs:432-447 \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 \u0060src-tauri/src/commands/canvas.rs:362\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":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a97cf54c82aea2ece2895c89e6ff24b2fad4ba2cfb69cdf0915cec327ca0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/commands/canvas.rs:710-726 | src-tauri/src/commands/canvas.rs:739-755 \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 \u0060src-tauri/src/commands/canvas.rs:710\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":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7732ca828fb319bdd2b846e37a13245aeb3bd9d7fd06339391407878841699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): src-tauri/src/commands/folders.rs:2918-2934 | src-tauri/src/work_task/git.rs:173-185 \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 \u0060src-tauri/src/commands/folders.rs:2918\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea38149092bcc42b67a463298ec1c2a55b7706381515a89fd445cce98638d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/commands/forge.rs:1340-1356 | src-tauri/src/commands/forge.rs:1678-1694 \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 \u0060src-tauri/src/commands/forge.rs:1340\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060draft\u0060 to \u0060ForgeTaskDraft\u0060 in one and \u0060ForgeIssuesTaskDraft\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":"src-tauri/src/commands/forge.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"422faf5e213d9da7dbf750459a1f32ed99d1fa769c156b070e07ee002ae8e280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src-tauri/src/forge/gitea.rs:312-328 | src-tauri/src/forge/github.rs:544-559 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:312\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0f5b2572421918995b1de12b8b57973a5bca4a96faf98931e485f518744d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1098-1114 | src-tauri/src/forge/github.rs:1731-1747 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1098\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a511ed2b18c4c0bfd16934fa21e66f09765208434321380edeb339215e7767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1392-1408 | src-tauri/src/forge/github.rs:471-487 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"461fa132ddd864e2e4ec3bea9ead543dd9a3a2d294fa5af51bc410fb7e5a0ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): src-tauri/src/commands/folders.rs:1706-1719 | src-tauri/src/commands/folders.rs:1725-1738 | src-tauri/src/git_credential.rs:390-405 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/folders.rs\u0060 and \u0060src-tauri/src/git_credential.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:1706\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcd6c52786247b06ae298bb302891c91d1134756c2957a410885112c8a04c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): src-tauri/src/acp/cursor_ext.rs:145-158 | src-tauri/src/acp/question.rs:541-556 \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 \u0060src-tauri/src/acp/cursor_ext.rs:145\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":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"325822275480546a1d3e8f22ca8c88c112c6330cc758b9ea1c1fa9219c6ba4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:906-921 | src-tauri/src/acp/delegation/broker.rs:998-1013 \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 \u0060src-tauri/src/acp/delegation/broker.rs:906\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"220c9e6f33aa1dc6c4f7f7e54d73226cc59828e1a34f6ed7e3b043f00156babe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1861-1876 | src-tauri/src/commands/mcp.rs:2008-2023 \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 \u0060src-tauri/src/commands/mcp.rs:1861\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a119d2baabf08bda99286acd58df23d9d38bde90e7aad56309c4dfe6a6f121c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src-tauri/src/db/service/import_service.rs:170-184 | src-tauri/src/db/service/import_service.rs:215-230 \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 \u0060src-tauri/src/db/service/import_service.rs:170\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":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf1bb8bafdb2dad9ac39c35a3e2449b455d8ddf151bb656c3ea00260992cfe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/forge/cnb.rs:622-637 | src-tauri/src/forge/gitea.rs:1058-1073 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"798f3557c42afbc514dff57aff9cde033a7214c7312e2ca31ca266c098e14a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/forge/gitea.rs:170-185 | src-tauri/src/forge/gitlab.rs:293-308 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/gitlab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71372426f442d769333e62ce179db38c80eab7d0a56f31ce169bfe48e049a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src-tauri/src/forge/gitea.rs:422-436 | src-tauri/src/forge/github.rs:665-680 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa06182e3d3ec8df160e97aa21482c6ac87b69cdeab414fdf4d7d4142dcb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/parsers/cursor.rs:1936-1951 | src-tauri/src/parsers/grok.rs:1466-1481 \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. 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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ceb4ff40fcb2b8213906b7e2002cb74b57346d3a7a8a2e840259a6520e103f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): src-tauri/src/work_task/engine.rs:4494-4509 | src-tauri/src/work_task/engine.rs:6433-6446 \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 \u0060src-tauri/src/work_task/engine.rs:4494\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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4494}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e351b574528c973fcce09a77b8e245940f22b8723cc8af0813c5b9964bc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): src-tauri/src/commands/folders.rs:2554-2568 | src-tauri/src/commands/folders.rs:2611-2623 | src-tauri/src/commands/folders.rs:2651-2663 | src-tauri/src/commands/folders.rs:6061-6071 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:2554\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d53d36eda28e38090a8505b1693fd3e1b1804646f2628f6b5ef05ec8006aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): src-tauri/src/commands/folders.rs:2552-2566 | src-tauri/src/commands/folders.rs:2571-2581 | src-tauri/src/commands/folders.rs:2608-2621 | src-tauri/src/commands/folders.rs:2648-2661 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:2608\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8e25022cfcb9d7ba34d26e8dba4a557761153b31a500c9fbc8010a28550a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): src-tauri/src/commands/custom_skills.rs:317-331 | src-tauri/src/commands/office_tools.rs:1223-1236 | src-tauri/src/commands/science.rs:592-605 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:317\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2663bb7ff1338563ab6c30737954cd8a545170e2f2f32dd6d7ee619a331daece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 3): src-tauri/src/commands/mcp.rs:2117-2131 | src-tauri/src/commands/mcp.rs:4408-4417 | src-tauri/src/commands/mcp.rs:4509-4521 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bb42ce69e48fb50acb997bfcc5caa2f78d1cd23c3c37ef648ba173580c8159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): src-tauri/src/forge/cnb.rs:249-261 | src-tauri/src/forge/github.rs:381-395 | src-tauri/src/forge/gitlab.rs:342-354 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:249\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0b1d46e12bcc1331dedd1a2e4ba989244abec9f6efd99abdb2316bf87bbee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): src-tauri/src/acp/connection.rs:15866-15880 | src-tauri/src/acp/connection.rs:16242-16251 \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 \u0060src-tauri/src/acp/connection.rs:15866\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/acp/connection.rs:16240\u0060 calls \u0060connection\u0060, \u0060session_id\u0060, \u0060clone\u0060 and \u0060src-tauri/src/acp/connection.rs:15865\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15866}}}],"partialFingerprints":{"codehealthFindingId/v1":"89646be2e45e60101cf620c11f58c0f4d501a91d277ad6b49131909025ee5514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src-tauri/src/acp/connection.rs:18789-18803 | src-tauri/src/parsers/grok.rs:1328-1341 \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 \u0060src-tauri/src/acp/connection.rs:18789\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060raw_output\u0060 to \u0060\u0026serde_json::Value\u0060 in one and \u0060\u0026Value\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7404016a0cee427dc49f526b062235dd5f1539e3f57b5fef03bff0d87d6d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:2936-2950 | src-tauri/src/acp/delegation/broker.rs:4614-4626 \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 \u0060src-tauri/src/acp/delegation/broker.rs:2936\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d79e5a81edff71686f2394c930e9e6e76ed2e42e587f6e23ee4547f09bac742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/acp/opencode_catalog.rs:90-104 | src-tauri/src/acp/opencode_catalog.rs:126-140 \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 \u0060src-tauri/src/acp/opencode_catalog.rs:90\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":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57ced19dfc6f86dba14275969ea979f9a7656d08ec061f1416e9d938c55d828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/bin/codeg_server.rs:581-595 | src-tauri/src/lib.rs:940-954 \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 \u0060src-tauri/src/bin/codeg_server.rs:581\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":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"792d3fb5c815eca8a528fd94d38fada6cedc9889d85f31716063ac2522f2ac1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/bin/codeg_server.rs:601-615 | src-tauri/src/lib.rs:961-975 \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 \u0060src-tauri/src/bin/codeg_server.rs:601\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":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"761afd2fa309c760e094b08553cb98881870d843ddbbe32809ed05b2b46e1c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:211-225 | src-tauri/src/chat_channel/backends/telegram.rs:593-607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecb002aca07bcc8c74fe6d5a0b689c5765c6a9be0861bd183097610de4e4665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/commands/folder_links.rs:791-805 | src-tauri/src/commands/folder_links.rs:845-859 \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 \u0060src-tauri/src/commands/folder_links.rs:791\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":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488220bb441dcd61be31661311c1b5e712f254a441b76e897fb7c705c88e17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src-tauri/src/commands/folders.rs:4180-4194 | src-tauri/src/web/handlers/workspace_files.rs:74-87 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7867fd38a7fec71052e4731806f5f402a52a7ee3b93e34ff02fd5ad6b9da33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3688-3702 | src-tauri/src/parsers/qoder.rs:1650-1663 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/qoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:3688\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3688}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d3cadcfddd3c1b62ef3b926060df25efcd4ba439a4319906eb850ae4ebcf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3867-3878 | src-tauri/src/parsers/openclaw.rs:132-146 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:3867\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3867}}}],"partialFingerprints":{"codehealthFindingId/v1":"631e50155448b7a790ed60d478931ca3f4816ad0e12cf565dacc2370e469db2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/parsers/opencode.rs:2414-2428 | src-tauri/src/parsers/opencode.rs:3169-3183 \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 \u0060src-tauri/src/parsers/opencode.rs:2414\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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8413684c363d4cdf1ffcb7dbdbc1075fd15d10753c625284630de11cbe550b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/supervise.rs:233-247 | src-tauri/src/supervise.rs:258-272 \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 \u0060src-tauri/src/supervise.rs:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src-tauri/src/supervise.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9fd57b03489c66b3eba459250d7aace11d84bb6eeb775cecf805e3e45ee4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): src-tauri/src/parsers/codebuddy.rs:1320-1333 | src-tauri/src/parsers/codex.rs:7163-7176 | src-tauri/src/parsers/gemini.rs:1001-1014 | src-tauri/src/parsers/hermes.rs:786-799 | src-tauri/src/parsers/kimi_code.rs:1311-1324 | src-tauri/src/parsers/openclaw.rs:1104-1117 | src-tauri/src/parsers/opencode.rs:2296-2309 | src-tauri/src/parsers/pi.rs:1449-1462 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1320\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ac49bebef2d15f46cb26fbb2f61dae8df0035d70cc4d2337f00a3af8262516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): src-tauri/src/commands/mcp.rs:2075-2088 | src-tauri/src/commands/mcp.rs:4380-4392 | src-tauri/src/commands/mcp.rs:4481-4493 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d0137ef6fb5a1290a381651c968916d44709c0f6a3bfab3bac1b752cb59cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): src-tauri/src/acp/antigravity_login.rs:903-913 | src-tauri/src/acp/antigravity_login.rs:1078-1091 \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":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cabeb7b5b49c9f2b2d177b30f808f8f0ca4e97a6f16e7797b4f0198e5305be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:701-714 | src-tauri/src/acp/delegation/companion.rs:732-745 \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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f46cbd1acce4e4d1ed59349b444e52dcf01cd164e66974a00ac88bee58de6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): src-tauri/src/automation/engine.rs:1146-1159 | src-tauri/src/work_task/engine.rs:6884-6894 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5622eac0c7679ba5bb3f80394e94fd45de0fc3ea9690c24a8f92569af168ba9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/chat_channel/backends/weixin.rs:458-471 | src-tauri/src/chat_channel/backends/weixin.rs:764-777 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede14a1e858fe8b7530cfd5d81ab9d836c93578be969d26323294f67e16457b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/commands/browser.rs:1750-1763 | src-tauri/src/commands/browser.rs:2215-2228 \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 after the matched lines, \u0060src-tauri/src/commands/browser.rs:2229\u0060 calls \u0060window_err\u0060 and \u0060src-tauri/src/commands/browser.rs:1766\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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1928e10b63321eb016e431aa418e488d9cf56df0f6c83631a149a3f9ac47cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/commands/experts.rs:557-570 | src-tauri/src/commands/science.rs:381-394 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:557\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eae22728fbba4edd69b9341a6cab94aa1ee7cec79e6e0b22340959b7e06879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): src-tauri/src/commands/mcp.rs:936-950 | src-tauri/src/commands/mcp.rs:4121-4133 \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 \u0060src-tauri/src/commands/mcp.rs:936\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc99148f913cf1c666493771931e38f553f72d2784c6b02c92d380ae06e4099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1521-1534 | src-tauri/src/commands/mcp.rs:4315-4327 \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 \u0060src-tauri/src/commands/mcp.rs:1521\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb15be9a33345305a1f95d921aae5398722b087f0b73bd54e4d79272bb833b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1683-1696 | src-tauri/src/db/service/work_task_service.rs:1773-1786 \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 \u0060src-tauri/src/db/service/work_task_service.rs:1683\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e40002b8fc17444705111ba5787b65a801d3607cc2c7326c26045121240f7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2598-2611 | src-tauri/src/db/service/work_task_service.rs:2658-2671 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2598\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, \u0060src-tauri/src/db/service/work_task_service.rs:2595\u0060 calls \u0060col_expr\u0060, \u0060value\u0060, \u0060Some\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:2655\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c687fdee5ea4979e66c50e733799e811d8ae8b1392af0217d25102f377a3fa3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1145-1156 | src-tauri/src/forge/github.rs:1709-1722 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"191fde9bea88f9f8d1e6c0aa9b814cf5977618bc633252812a57f0f71f8b858b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3709-3722 | src-tauri/src/parsers/qoder.rs:1668-1681 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/qoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3709}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d70f2720ecc64dad3f316516547fc1b16a01d6d3c015990ca32444e7b7fe97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/workspace_state/mod.rs:1007-1020 | src-tauri/src/workspace_state/mod.rs:1226-1239 \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 \u0060src-tauri/src/workspace_state/mod.rs:1007\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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee72cb05f1a756ef4e76184a0aac7daec1bd7bdfd75358397d423ecf02a7b2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201314 lines \u00D7 2): src-tauri/src/workspace_state/mod.rs:1273-1279 | src-tauri/src/workspace_state/mod.rs:1438-1451 \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 \u0060src-tauri/src/workspace_state/mod.rs:1273\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":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af39a2a83754b5fdf075e2c55aa8b0f085f6d2a5600f2540e8be87bd5c2db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src-tauri/src/acp/delegation/broker.rs:3035-3047 | src-tauri/src/acp/delegation/broker.rs:3112-3124 | src-tauri/src/acp/delegation/broker.rs:4699-4711 | src-tauri/src/acp/delegation/broker.rs:4770-4782 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/acp/delegation/broker.rs:3035\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5443a0bafa19431469bef083917e898327001c1ab27fa109bd9d1126a1432aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): src-tauri/src/parsers/claude.rs:1544-1556 | src-tauri/src/parsers/claude.rs:3867-3878 | src-tauri/src/parsers/openclaw.rs:132-143 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:1544\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e420f06dcf37b7c27b074f83b68e1e2c0094f63f3bf01cfa8b41f54b46073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201313 lines \u00D7 4): src-tauri/src/parsers/claude.rs:3448-3460 | src-tauri/src/parsers/cline.rs:1123-1126 | src-tauri/src/parsers/openclaw.rs:932-944 | src-tauri/src/parsers/openclaw.rs:960-972 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:3448\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/parsers/claude.rs:3460\u0060 calls \u0060get\u0060, \u0060and_then\u0060, \u0060as_str\u0060 and \u0060src-tauri/src/parsers/cline.rs:1126\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"943f693af6b4e82a0867cbca591f2c50064b90257415cc22c4685d9789ecc9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src-tauri/src/acp/connection.rs:10570-10580 | src-tauri/src/acp/connection.rs:10734-10746 \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 \u0060src-tauri/src/acp/connection.rs:10570\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10570}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fd9a7e0eaea8d06aaf6a27a69998e10962969314b67fba4daddd632d7a30c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:2846-2858 | src-tauri/src/acp/delegation/companion.rs:3419-3431 \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 \u0060src-tauri/src/acp/delegation/companion.rs:2846\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2846}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab5d8c06b2db27c0d5fa5584a0be7cc4f20b86ca18723bd0ef06b403ed9102d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/acp/file_system_runtime.rs:1167-1179 | src-tauri/src/acp/file_system_runtime.rs:1311-1323 \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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"994f3dd92cd4c287909f80ff9020554624e62643ebbe655ca8d3bc30e6a60453"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/src/acp_transcript.rs:963-974 | src-tauri/src/turn_timings.rs:254-266 \u2014 before extracting anything, compare \u0060src-tauri/src/acp_transcript.rs\u0060 and \u0060src-tauri/src/turn_timings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/acp_transcript.rs:963\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/acp_transcript.rs:960\u0060 calls \u0060is_empty\u0060 and \u0060src-tauri/src/turn_timings.rs:253\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":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"62353d23a2e6f0e13a3041c574eb9435941ed4ff7680447f503f1373709108cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/src/commands/acp.rs:2782-2794 | src-tauri/src/commands/acp.rs:2815-2826 \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 \u0060src-tauri/src/commands/acp.rs:2782\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8221bf32fd9d993b321c8c01645a8c857c5f180272388fdba3af33e0171d576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src-tauri/src/commands/acp.rs:10845-10855 | src-tauri/src/commands/acp.rs:11000-11012 \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 \u0060src-tauri/src/commands/acp.rs:11000\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10845}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1961c22afe1eb2238edeee9b13ab272728bab3ae3315e96272af01031e8f855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/commands/computer.rs:927-940 | src-tauri/src/commands/computer.rs:969-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a521780b7b53dfcf6451a03d989a9118a2b6805ff5a3ae016c741c461b0840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/src/commands/folders.rs:52-64 | src-tauri/src/commands/folders.rs:85-96 \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 \u0060src-tauri/src/commands/folders.rs:52\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4bc08bc34521aa23f9dc4a42ada14d9a087aba37c97a9a1b5d65a71013b83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/commands/folders.rs:4692-4704 | src-tauri/src/commands/folders.rs:4768-4780 \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 \u0060src-tauri/src/commands/folders.rs:4692\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, \u0060src-tauri/src/commands/folders.rs:4706\u0060 calls \u0060entry_presents_as_dir\u0060, \u0060path\u0060 and \u0060src-tauri/src/commands/folders.rs:4781\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"852362752273ecc5c4eab588e64b0de6c979160c0fa95085e90bc6b44ddea084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1627-1639 | src-tauri/src/commands/mcp.rs:4163-4173 \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 \u0060src-tauri/src/commands/mcp.rs:1627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2a0c493c02207803e8be87ef80b10a58656c4279fed148c2675c43526e784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1649-1660 | src-tauri/src/commands/mcp.rs:1675-1687 \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 \u0060src-tauri/src/commands/mcp.rs:1649\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"15320d1d5f67505a54e16531307ce5807e6358dc70d849bc9fd01fc0a661cbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/commands/mcp.rs:5120-5132 | src-tauri/src/commands/mcp.rs:5401-5413 \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 \u0060src-tauri/src/commands/mcp.rs:5120\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0321828f07c329683004df0e38a9e72d09f7ccfde11a761e2680fe18462a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/commands/mcp.rs:6348-6360 | src-tauri/src/commands/mcp.rs:6729-6741 \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. 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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5f4f4ba8e4d9d9d62a9042a56af6116ee66c0b53fd737edadf010a147d59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/commands/windows.rs:375-387 | src-tauri/src/web/handlers/folders.rs:480-492 \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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d405af595a273d015b51deb981c233a27090c2973e3e67f2cc6abf060cdf647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): src-tauri/src/commands/windows.rs:2430-2440 | src-tauri/src/commands/windows.rs:2508-2520 \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 \u0060src-tauri/src/commands/windows.rs:2508\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8606c102230c643c8a211627403b0a45bb2a4d3f2293ceb38adfcf2509e2f56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3725-3737 | src-tauri/src/parsers/qoder.rs:1684-1696 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/qoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:3725\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800698f48cd7528ce5c6045344bfd84a1ce2489a69df8d3a648d5537cd87bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:473-485 | src-tauri/src/parsers/codebuddy.rs:502-513 \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 \u0060src-tauri/src/parsers/codebuddy.rs:473\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"89685d8c69a3addcf1b0a79b5873462c70a05ba586c8642e66904d2f64024949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/parsers/codex.rs:4037-4049 | src-tauri/src/parsers/codex.rs:5201-5213 \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 \u0060src-tauri/src/parsers/codex.rs:4037\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":4037}}}],"partialFingerprints":{"codehealthFindingId/v1":"47123eadfaf9b24b61fdb00462a219ff0af135515aadbefb1d1664a0b86ff5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/workspace_state/mod.rs:1056-1068 | src-tauri/src/workspace_state/mod.rs:1690-1702 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249fc22981ba04b8f06db2fd6645b94cb2a2f0e061d1a4e11be38f0d8cd4a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11): src-tauri/src/commands/mcp.rs:1771-1784 | src-tauri/src/commands/mcp.rs:1928-1941 | src-tauri/src/commands/mcp.rs:2583-2596 | src-tauri/src/commands/mcp.rs:2775-2788 | src-tauri/src/commands/mcp.rs:2975-2988 | src-tauri/src/commands/mcp.rs:3094-3107 | src-tauri/src/commands/mcp.rs:3197-3210 | src-tauri/src/commands/mcp.rs:4056-4069 | src-tauri/src/commands/mcp.rs:4681-4694 | src-tauri/src/commands/mcp.rs:5130-5143 | src-tauri/src/commands/mcp.rs:5411-5424 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4831d8ec2f67c1b19c041ed52760d195a7d6938c117f30fda263e6bb950764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src-tauri/src/parsers/claude.rs:3215-3226 | src-tauri/src/parsers/gemini.rs:404-415 | src-tauri/src/parsers/hermes.rs:721-732 | src-tauri/src/parsers/opencode.rs:1439-1450 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/gemini.rs\u0060 and \u0060src-tauri/src/parsers/hermes.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a29ba2ca046599df57ec7eae2ad38428085310168edfbd64af5d60c4ad1abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src-tauri/src/commands/custom_skills.rs:394-405 | src-tauri/src/commands/office_tools.rs:1137-1148 | src-tauri/src/commands/science.rs:706-717 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:394\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95728e62af9e1a72f9cc4e0d5429649816d3b02cc26cd9c406fb4146ba69fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): src-tauri/src/commands/custom_skills.rs:417-427 | src-tauri/src/commands/experts.rs:929-940 | src-tauri/src/commands/science.rs:751-761 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:417\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742e4b36c6dcdfa87351f8a4ef01ed92112797e678b2b50d029d3159bd538ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): src-tauri/src/commands/folders.rs:5489-5499 | src-tauri/src/commands/folders.rs:5519-5530 | src-tauri/src/commands/folders.rs:5568-5578 \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 \u0060src-tauri/src/commands/folders.rs:5489\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f42c1a15ce84ab103ed6f09ea950c60c421d1adebc8404ef3414b579d5c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/acp/delegation/listener.rs:772-783 | src-tauri/src/acp/delegation/listener.rs:812-823 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060BrokerCancelTaskRequest\u0060 in one and \u0060BrokerResumeTaskRequest\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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd52efa19b39f45a622abd0391cbc81bf539a197d9979d32b589fcb59f4e6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/acp/manager.rs:228-239 | src-tauri/src/acp/manager.rs:264-275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a262fe607504283b40538d5ee17e1ae36f6e652791af391391b14cedf4c8f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src-tauri/src/chat_channel/message_formatter.rs:41-51 | src-tauri/src/chat_channel/session_event_subscriber.rs:558-569 \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 \u0060src-tauri/src/chat_channel/message_formatter.rs:41\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":"src-tauri/src/chat_channel/message_formatter.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b170e98f27f0995aea2e3b6d244901e382e4258348851316e8216336e3cc0964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/cli/commands.rs:36-47 | src-tauri/src/cli/commands.rs:90-101 \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 \u0060src-tauri/src/cli/commands.rs:36\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":"src-tauri/src/cli/commands.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3b590d92a94a7d64da5d5aa2ce65af0eb778336c2eaac331cc01ecc112fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src-tauri/src/commands/acp.rs:6268-6278 | src-tauri/src/computer/helper/driver_proc.rs:121-132 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6268}}}],"partialFingerprints":{"codehealthFindingId/v1":"000ae1f3c866164645c953eda084f1c19f5881db657e0d00aeb5084f8451f38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/acp.rs:11532-11543 | src-tauri/src/commands/acp.rs:12894-12905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":11532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b3d6e2aee1be4663ccd7c8717a8d2aa99b23e095038f975f06679c7740836c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src-tauri/src/commands/browser.rs:413-424 | src-tauri/src/commands/browser.rs:598-608 \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 \u0060src-tauri/src/commands/browser.rs:413\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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed175b6c4eaf60c8b44d7cc6a2e959309466c9a259a504fb619ecdaa3b87a833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src-tauri/src/commands/browser.rs:1936-1947 | src-tauri/src/commands/browser.rs:1971-1980 \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 \u0060src-tauri/src/commands/browser.rs:1936\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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbb1b3b1893bb1136565e1092312b7bbba9af09a50e2210d9dc524afad557f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/experts.rs:360-371 | src-tauri/src/commands/science.rs:324-335 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:360\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b401646cae1443dec156bf21b7222ba32db5679452f8f083a8ba2b21c19df50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/experts.rs:644-655 | src-tauri/src/commands/science.rs:463-474 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:644\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060meta\u0060 to \u0060\u0026ExpertMetadata\u0060 in one and \u0060\u0026ScienceMetadata\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ae9158873c8a859cd7f9b51568e34b41af42a58a106b4382a972d8531967f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/folders.rs:5345-5356 | src-tauri/src/commands/folders.rs:5424-5435 \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 \u0060src-tauri/src/commands/folders.rs:5345\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950a9910e2d6794e69162af35a9f063045d23fd3b47b6a255eeecaba87bac6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/folders.rs:5773-5784 | src-tauri/src/commands/folders.rs:5869-5880 \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 \u0060src-tauri/src/commands/folders.rs:5773\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5773}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfc02fab12273604e102bc8f983fd81b5e5c783e438ecb8f4a2639ad0be22ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1510-1521 | src-tauri/src/commands/mcp.rs:1551-1562 \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 \u0060src-tauri/src/commands/mcp.rs:1510\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41921703256fd9bd76f346535207f46e57fdc4dd456cf72ce0716e4f41698fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1325-1336 | src-tauri/src/forge/github.rs:127-138 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1325\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"327153f7beccbbd64e707cc68257153415e2a8aed3ba57dd53572583d9a73be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src-tauri/src/parsers/codex.rs:3080-3091 | src-tauri/src/parsers/codex.rs:4306-4316 \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 \u0060src-tauri/src/parsers/codex.rs:3080\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3080}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa54dc85618cfeed00e1efcff6565f03b6ed4e4b135d6d497c542b2f4765478c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/pet_state_mapper.rs:144-155 | src-tauri/src/pet_state_mapper.rs:192-207 \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 \u0060src-tauri/src/pet_state_mapper.rs:144\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, \u0060src-tauri/src/pet_state_mapper.rs:208\u0060 calls \u0060remove\u0060 and \u0060src-tauri/src/pet_state_mapper.rs:156\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":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b5584af10808c413a23269a6792180e161e5d8a96cd7dfa0213e896ab7701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/update/install.rs:642-653 | src-tauri/src/update/install.rs:700-711 \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 \u0060src-tauri/src/update/install.rs:700\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":"src-tauri/src/update/install.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e76a5be835a96aa81adf08d3d549256a286a4f2f798ff96719d8309d181221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/web/handlers/files.rs:650-661 | src-tauri/src/web/handlers/files.rs:665-676 \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 \u0060src-tauri/src/web/handlers/files.rs:650\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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f10a0400881c90263997abde8421251f94492b532018040955a40b5a9b82fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 5): src-tauri/src/db/service/work_task_service.rs:1646-1656 | src-tauri/src/db/service/work_task_service.rs:1685-1695 | src-tauri/src/db/service/work_task_service.rs:1775-1785 | src-tauri/src/db/service/work_task_service.rs:2135-2141 | src-tauri/src/db/service/work_task_service.rs:2181-2187 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/db/service/work_task_service.rs:1646\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. 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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeb630a4f511f9263fce57bba66edcc92082b367e539d978d95b22cad32d18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 4): src-tauri/src/chat_channel/backends/telegram.rs:66-72 | src-tauri/src/chat_channel/backends/telegram.rs:112-122 | src-tauri/src/chat_channel/backends/telegram.rs:511-520 | src-tauri/src/chat_channel/backends/telegram.rs:569-578 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/chat_channel/backends/telegram.rs: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. 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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"34428f1ef86ee25b5628ffc27e8ddba9f7f6803ab03dd66df0e7f46a93860bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src-tauri/src/db/service/work_task_service.rs:1646-1656 | src-tauri/src/db/service/work_task_service.rs:1685-1695 | src-tauri/src/db/service/work_task_service.rs:1775-1785 | src-tauri/src/db/service/work_task_service.rs:2724-2734 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/db/service/work_task_service.rs:1646\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, \u0060src-tauri/src/db/service/work_task_service.rs:1645\u0060 calls \u0060filter\u0060, \u0060eq\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:2723\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92261d8149dc2b46e164d339f3b2284d0be08a13de595fca722fb449021d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 4): src-tauri/src/parsers/claude.rs:3872-3878 | src-tauri/src/parsers/codex.rs:475-482 | src-tauri/src/parsers/codex.rs:3472-3479 | src-tauri/src/parsers/openclaw.rs:137-147 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a7a514b10f8b4253fcdacaf47805ec7aa8dbcd89717d7fb10b67c1247b6333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src-tauri/src/commands/folders.rs:5419-5429 | src-tauri/src/commands/folders.rs:5485-5495 | src-tauri/src/commands/folders.rs:5515-5525 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5419}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a5c411956393673ece0551b6874aa2b624c7213a4206ba9e04e8d730c22b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src-tauri/src/acp/connection.rs:2384-2395 | src-tauri/src/acp/connection.rs:2650-2659 \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 \u0060src-tauri/src/acp/connection.rs:2384\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a4e5195038e4e2a58cb934058a4cc0f2feef93487c3223bad2d044f3878d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/connection.rs:2586-2596 | src-tauri/src/acp/connection.rs:2719-2729 \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 \u0060src-tauri/src/acp/connection.rs:2586\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53803d42897744f6188d166f2e50bdc779c11736b902a2d3a3f686f91201512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/connection.rs:8914-8924 | src-tauri/src/acp/connection.rs:8982-8992 \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 \u0060src-tauri/src/acp/connection.rs:8914\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a00f0ad6eab8c55d07b80e1b7fcbda7a017b7553e1e952f0e7d857822ef6856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/connection.rs:12002-12012 | src-tauri/src/acp/connection.rs:12150-12160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12002}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d55c410e54f91ed1c59d74a65abaae5559ea8008d6b9609bb52be87ad24845c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:2889-2899 | src-tauri/src/acp/delegation/broker.rs:4573-4583 \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 \u0060src-tauri/src/acp/delegation/broker.rs:2889\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, \u0060src-tauri/src/acp/delegation/broker.rs:4572\u0060 calls \u0060remove_completed\u0060 and \u0060src-tauri/src/acp/delegation/broker.rs:2887\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e115763d29d0b8a8b04776b0fff299ebf89bc4057338fe1c0212c53e151d9b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/delegation/listener.rs:1488-1498 | src-tauri/src/acp/delegation/listener.rs:1532-1542 \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 \u0060src-tauri/src/acp/delegation/listener.rs:1488\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060outcome\u0060 to \u0060BrowserCaptureOutcome\u0060 in one and \u0060ComputerCaptureOutcome\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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70d6127e4d0ad1e852cfed90380bb7c8a820a684f8da5aafbcb4f9fe14a4492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/file_system_runtime.rs:993-1006 | src-tauri/src/acp/file_system_runtime.rs:1038-1048 \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 \u0060src-tauri/src/acp/file_system_runtime.rs:993\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ReadTextFileRequest\u0060 in one and \u0060WriteTextFileRequest\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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab23a6ed58976c11664da9ef80301d239e1484678558fc6b63305e418f83dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/browser/shim/macos.rs:251-261 | src-tauri/src/browser/shim/macos.rs:300-310 \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 \u0060src-tauri/src/browser/shim/macos.rs:251\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":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1723d6fcd8bad01faa10777867851b86e28a9f761bc56889b8dda5b08b347f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/commands/computer.rs:1524-1534 | src-tauri/src/commands/computer.rs:1609-1619 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f692e4062f4667909f420d5e542ce29e9b7a6eeb6d539bbe355bf994fe3d19c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/experts.rs:307-318 | src-tauri/src/commands/science.rs:275-286 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:307\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227f4db6d10464769da431898cff78313602beba3c982d240f108be40758049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/commands/folders.rs:3316-3326 | src-tauri/src/commands/folders.rs:3411-3421 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c370bcc9d338320752137e2f545a4b3bcc24882bdd79ae532eccc3bda7ba1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/commands/remote_proxy.rs:880-890 | src-tauri/src/commands/remote_proxy.rs:1295-1305 \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 \u0060src-tauri/src/commands/remote_proxy.rs:880\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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feb7334c3c476d23b656f2c28f4ec8752b8f7f603eaa9940ffe43d5c9ff860a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/computer/helper/driver_proc.rs:530-540 | src-tauri/src/computer/local.rs:1218-1228 \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 \u0060src-tauri/src/computer/helper/driver_proc.rs:530\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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd001c9d5b90c95074b3b796ff5202e075cb69749becdcb9d03b261e2cfadf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/forge/gitea.rs:161-171 | src-tauri/src/forge/github.rs:338-348 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:161\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6507ed24ace11c921c3c2944692076fe7c9950020f826468fc4f664cc3e92e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): src-tauri/src/forge/gitlab.rs:388-398 | src-tauri/src/forge/gitlab.rs:537-543 \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 \u0060src-tauri/src/forge/gitlab.rs:388\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":"src-tauri/src/forge/gitlab.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb59664bc703ebe1361923cd1a96e47f22dae7a7a1e1e250310796bd52e6777a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): src-tauri/src/parsers/codex.rs:424-430 | src-tauri/src/parsers/codex.rs:3249-3259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ed152fb1cc550bc3513aa3a56c282a3faa4c51c880f18e46ab383a834982c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/parsers/cursor.rs:1670-1681 | src-tauri/src/parsers/cursor.rs:1820-1831 \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 \u0060src-tauri/src/parsers/cursor.rs:1670\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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac81761cd7a044d34ef88c0e922c49ff7d6a013f3d05c674870b9595c0f6158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/parsers/grok.rs:944-954 | src-tauri/src/parsers/grok.rs:972-982 \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 \u0060src-tauri/src/parsers/grok.rs:944\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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1387cc173686881e2da133ea36e7cce9412263eacab1ac8a4ba71c3c75363a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/parsers/hermes.rs:523-533 | src-tauri/src/parsers/opencode.rs:112-122 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/hermes.rs: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":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"820791cd2bf0c1d1b0949922f5da75e840dd4659407a42c6a7e5042e707e1674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 5): src-tauri/src/commands/acp.rs:3946-3955 | src-tauri/src/commands/mcp.rs:1511-1518 | src-tauri/src/commands/mcp.rs:1552-1559 | src-tauri/src/commands/mcp.rs:1650-1657 | src-tauri/src/commands/mcp.rs:1676-1683 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/acp.rs\u0060 and \u0060src-tauri/src/commands/mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/acp.rs:3946\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6b87ac5e65d819c3e13366a4c8badd5305326bf235244ca97f01cd3916bd5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src-tauri/src/parsers/codex_code_mode.rs:1516-1525 | src-tauri/src/parsers/codex_code_mode.rs:1545-1554 | src-tauri/src/parsers/codex_code_mode.rs:1666-1675 | src-tauri/src/parsers/codex_code_mode.rs:2113-2122 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codex_code_mode.rs:1516\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":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe0d8538d0c45c382e807a3cdf9e7d01f8f7ec5769ce032e1a74b00c565d428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/commands/experts.rs:768-777 | src-tauri/src/commands/office_tools.rs:1217-1226 | src-tauri/src/commands/science.rs:586-595 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:768\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc44570438975e27731419d591ec6b6def8229b5635a02eccfef8aae95468c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/commands/mcp.rs:971-980 | src-tauri/src/commands/mcp.rs:1511-1520 | src-tauri/src/commands/mcp.rs:1552-1561 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f90392ca01dcb45defb15138251b99ef9dfc7fc458bdd61fb5d692a9122dcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/acp/connection.rs:9466-9475 | src-tauri/src/acp/connection.rs:9634-9643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9466}}}],"partialFingerprints":{"codehealthFindingId/v1":"095931d1494520eafa4d70815125ee21371a36c5a9d7b89036633f81c4c25e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/acp/connection.rs:14909-14918 | src-tauri/src/acp/connection.rs:15283-15292 \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 \u0060src-tauri/src/acp/connection.rs:14909\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":14909}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd569b8d476b34cdeaee5b1da9db19106aa809e8689f141dcd54cb24bdd5908f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/acp/connection.rs:24904-24913 | src-tauri/src/acp/connection.rs:24980-24989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":24904}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6becd785fa577a92944bfff31086ba4e241ef66ad35d65ac0507add3ecd273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/acp/lifecycle.rs:1608-1617 | src-tauri/src/parsers/codex_code_mode.rs:2325-2334 \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 \u0060src-tauri/src/acp/lifecycle.rs:1608\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":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"441204c777a575dd8870ad2b9309fe4f2b9c093ab253f1666e60a8704bf4d7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/automation/engine.rs:269-278 | src-tauri/src/work_task/engine.rs:553-561 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/automation/engine.rs:269\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060engine\u0060 to \u0060Arc\u003CAutomationEngine\u003E\u0060 in one and \u0060Arc\u003CTaskEngine\u003E\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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a38eaf4aa079b020d9ec35238a7d02f23e7ebebfa3365f250667a681cbf2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:28-37 | src-tauri/src/chat_channel/backends/weixin.rs:267-276 \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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf023740245d976129d0baac4eb64b2bd86b71b3261d1caa09b7030970f08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/chat_channel/session_commands.rs:917-926 | src-tauri/src/chat_channel/session_commands.rs:1311-1320 \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 \u0060src-tauri/src/chat_channel/session_commands.rs:917\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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"61915e17b3178a3fb98574475a630abbd955a6560d69bad8cf60bcfb2b2ca0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/chat_channel/session_event_subscriber.rs:431-440 | src-tauri/src/chat_channel/session_event_subscriber.rs:455-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/chat_channel/session_event_subscriber.rs:431\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":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbbe2536169abd3f0b847049bca56d3eea55557c3394edb5b5d2d1a303209b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/experts.rs:321-330 | src-tauri/src/commands/science.rs:289-298 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6682664a9af845215ad89a2886bae895365f7b3f692bf73472a5ba3f9f74ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/experts.rs:946-955 | src-tauri/src/commands/science.rs:767-776 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:946\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea664e16ddd1410bcd0f0173c17ff44d1a9c3060b4e40f5211011eb9cb5f1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/folders.rs:5365-5374 | src-tauri/src/commands/folders.rs:5467-5477 \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 \u0060src-tauri/src/commands/folders.rs:5365\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526fe71ba040c6bb24235331694aa24d8ee44b9bd01392c207d61909e94168e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): src-tauri/src/commands/mcp.rs:954-963 | src-tauri/src/commands/mcp.rs:4136-4141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98b4dc6b508dca6bab45babe222d58e33360e613f3dc7524563ad745bb33635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src-tauri/src/commands/mcp.rs:6830-6854 | src-tauri/src/commands/mcp.rs:6865-6889 \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 \u0060src-tauri/src/commands/mcp.rs:6830\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6830}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698d7577ce18ca18e527fc79a61cc088c946b7e4313e0395baecdbad72d9a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/system_settings.rs:708-717 | src-tauri/src/web/handlers/system_settings.rs:99-108 \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":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba41f60421468f9be9c69b21aa1503df7bd21654abb39483f19a340a871cb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/computer/helper/driver_proc.rs:616-625 | src-tauri/src/computer/helper/driver_proc.rs:641-650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/computer/helper/driver_proc.rs:616\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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"027274668bf2090cf299fe65375127849a4a04ffc64c06d85f605756edf5f5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/computer/helper/driver_proc.rs:632-641 | src-tauri/src/computer/local.rs:311-320 \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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5471db3a14020ab462ea968211192c08e7a80d960cef596e4a8b5ec7f7ac3f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/db/service/app_metadata_service.rs:21-30 | src-tauri/src/db/service/app_metadata_service.rs:73-82 \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 \u0060src-tauri/src/db/service/app_metadata_service.rs:21\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":"src-tauri/src/db/service/app_metadata_service.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b45c8cf108b87cd033e657f083fdfbe1328890f4524613970352f7aef59b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/db/service/folder_command_service.rs:45-54 | src-tauri/src/db/service/folder_command_service.rs:80-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/folder_command_service.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"90581524b3520195b07e57809a20cae3f9088235b3b589ac827d9df5051a3a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/db/service/folder_service.rs:160-169 | src-tauri/src/db/service/folder_service.rs:323-332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/folder_service.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfa5b92b838cd6b9c2441cc3d1d0d0999781ee640c3c23f37dfc0918d34d8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/db/service/folder_service.rs:349-358 | src-tauri/src/db/service/folder_service.rs:372-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/folder_service.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c2fb9532cbebd4cccc4a6e17eb6222b8d105247e8fa673cfff6616b6903f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:490-499 | src-tauri/src/db/service/work_task_service.rs:507-515 \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 \u0060src-tauri/src/db/service/work_task_service.rs:490\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd228b933513723d49c0153a43392b7421032352ef0ba3ae420245490d9a426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1316-1325 | src-tauri/src/db/service/work_task_service.rs:1446-1455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b31d8a264419c085ba235761cb95ae39eb936fb9a663c07788afb8e9b32fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2970-2979 | src-tauri/src/db/service/work_task_service.rs:3030-3039 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2970\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f697b781f371b6a2d5bbd2d63274892b2d2abb60200dc4605cb0309cbc1b8f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/forge/cnb.rs:396-405 | src-tauri/src/forge/gitea.rs:412-421 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:396\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c8042040cf42105746adf56efbe15f8c70f86b04dcc88bcf0b2ecce6d4cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/forge/cnb.rs:394-403 | src-tauri/src/forge/cnb.rs:501-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/forge/cnb.rs:500\u0060 calls \u0060Some\u0060 and \u0060src-tauri/src/forge/cnb.rs:393\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b965bcee32e060c875001ffd08abb36d85db61e33d8d1b79fc919a8d20dc87b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): src-tauri/src/forge/gitea.rs:410-419 | src-tauri/src/forge/github.rs:657-662 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d92e386f16f48a5fa51f2e9d6d28e3bb1ea5bb37b8ee26603110630c824e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/forge/github.rs:653-662 | src-tauri/src/forge/github.rs:1420-1429 \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 \u0060src-tauri/src/forge/github.rs:653\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":"src-tauri/src/forge/github.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fd4efe233240091ccbbf477a1a36dcc24ec25aefd52582e22ebef1c1d90ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:467-476 | src-tauri/src/parsers/pi.rs:456-465 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:467\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"41152a1f56d60c1228e1bed91786edcc020a105e9ca426cce2a78a2d36386523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/parsers/codex.rs:1503-1512 | src-tauri/src/parsers/codex.rs:1549-1559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codex.rs:1503\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ad1915e1df34daf08e6eb795817d389103b8b8c9d6c72391487d7c18abb857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/parsers/opencode.rs:2638-2647 | src-tauri/src/parsers/opencode.rs:2692-2701 \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 \u0060src-tauri/src/parsers/opencode.rs:2638\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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"184951544a8efdd5f40232a9fa8f2b03e58bea337bf86b119854cb3027a4a518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/web/handlers/files.rs:1056-1065 | src-tauri/src/web/handlers/workspace_files.rs:397-406 \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 \u0060src-tauri/src/web/handlers/files.rs:1056\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/web/handlers/files.rs:1054\u0060 calls \u0060Err\u0060, \u0060upload_too_large\u0060 and \u0060src-tauri/src/web/handlers/workspace_files.rs:396\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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9536b3df042e0894119025f12b3db4ee636bf94fd6cd67ade48378664503cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 8): src-tauri/src/db/service/work_task_service.rs:1645-1652 | src-tauri/src/db/service/work_task_service.rs:1684-1691 | src-tauri/src/db/service/work_task_service.rs:1774-1781 | src-tauri/src/db/service/work_task_service.rs:2133-2141 | src-tauri/src/db/service/work_task_service.rs:2180-2187 | src-tauri/src/db/service/work_task_service.rs:2599-2606 | src-tauri/src/db/service/work_task_service.rs:2659-2666 | src-tauri/src/db/service/work_task_service.rs:2915-2922 \u2014 all 8 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 \u0060src-tauri/src/db/service/work_task_service.rs:1645\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/db/service/work_task_service.rs:2142\u0060 calls \u0060status_changed_event\u0060, \u0060Some\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:2607\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8584695153a63f4611faa4b445d6c666a2aeee35ed1282c33a4f3b9b29c26a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 8): src-tauri/src/parsers/codebuddy.rs:1358-1364 | src-tauri/src/parsers/codex.rs:7201-7209 | src-tauri/src/parsers/gemini.rs:1043-1051 | src-tauri/src/parsers/hermes.rs:823-829 | src-tauri/src/parsers/kimi_code.rs:1349-1355 | src-tauri/src/parsers/openclaw.rs:1142-1150 | src-tauri/src/parsers/opencode.rs:2333-2341 | src-tauri/src/parsers/pi.rs:1487-1493 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1358\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e710efd81a0dbb69ee0f3fdd708a5e951b2ca78fd3190d296b82c2c9c5d109c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): src-tauri/src/commands/mcp.rs:2608-2616 | src-tauri/src/commands/mcp.rs:2800-2808 | src-tauri/src/commands/mcp.rs:3003-3011 | src-tauri/src/commands/mcp.rs:3122-3130 | src-tauri/src/commands/mcp.rs:3225-3233 | src-tauri/src/commands/mcp.rs:4084-4092 | src-tauri/src/commands/mcp.rs:4709-4717 \u2014 all 7 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 \u0060src-tauri/src/commands/mcp.rs:2608\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c5ddfc6544d02c3641b05aa74ff04a326d6f16ea4e6e6a7996502bdbdf039a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): src-tauri/src/parsers/claude.rs:3220-3228 | src-tauri/src/parsers/codex.rs:6388-6396 | src-tauri/src/parsers/gemini.rs:409-417 | src-tauri/src/parsers/hermes.rs:726-734 | src-tauri/src/parsers/opencode.rs:1444-1452 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:3220\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfab9e30dbc9e71b3fcfb99c72cc6ed3be24dfa0afaabe3b7b34f200cd23ade2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): src-tauri/src/commands/acp.rs:13128-13136 | src-tauri/src/commands/acp.rs:13266-13274 | src-tauri/src/commands/acp.rs:14592-14599 | src-tauri/src/commands/acp.rs:14727-14734 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c7eb21bb19738ba88e1e564365bc00b0ff326512654b909a5e9c96154b11cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src-tauri/src/commands/folder_links.rs:453-461 | src-tauri/src/commands/folders.rs:1706-1714 | src-tauri/src/commands/folders.rs:1725-1733 | src-tauri/src/git_credential.rs:390-400 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/folders.rs\u0060 and \u0060src-tauri/src/git_credential.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folder_links.rs:453\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":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"05592806e5afaef32b92de46254d79be1d5c6b73e22fac5bf8d7bc7ca42585d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src-tauri/src/commands/folder_links.rs:139-147 | src-tauri/src/web/handlers/files.rs:582-590 | src-tauri/src/web/handlers/workspace_files.rs:181-189 \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. 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, \u0060src-tauri/src/web/handlers/files.rs:593\u0060 calls \u0060truncate_chars\u0060 and \u0060src-tauri/src/web/handlers/workspace_files.rs:192\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":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"af73d62beb5a8ac1ce5df6e85185ab8ab5c51d48a95a4811aeecd88ccc4075ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src-tauri/src/forge/cnb.rs:832-840 | src-tauri/src/forge/gitea.rs:1219-1227 | src-tauri/src/forge/gitlab.rs:1193-1201 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"d510d495f1b20add4331cf34350f0e16f50994e08b8d2e5b6fe31d8380ab6450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/acp/codex_catalog_commit/txn.rs:564-572 | src-tauri/src/acp/codex_endpoint_catalog.rs:831-839 \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 \u0060src-tauri/src/acp/codex_catalog_commit/txn.rs:564\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":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e46f50a5d70e7e96803af189852e07a1d99b3f6243e3ce158c7c30ec53f16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/acp/codex_endpoint_catalog.rs:497-509 | src-tauri/src/acp/codex_model_catalog.rs:466-478 \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 \u0060src-tauri/src/acp/codex_endpoint_catalog.rs:497\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":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d58466cf3792ab39b001ba8a13611abd831f7324cc18ec5b105121c848680d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/acp/manager.rs:1286-1294 | src-tauri/src/acp/manager.rs:4634-4642 \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 \u0060src-tauri/src/acp/manager.rs:1286\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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f0d7951747717b266edefde3088f6833eaf6feb761904d5f2eb0b39fc74867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/automation/engine.rs:217-227 | src-tauri/src/work_task/engine.rs:476-484 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/automation/engine.rs:217\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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0fafdc0f9b5b81f6ce5e5bad6d2b13d8a4bad05552c0a65229072376bbc786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/automation/engine.rs:1104-1112 | src-tauri/src/work_task/engine.rs:1015-1023 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/automation/engine.rs:1104\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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93ee1570129ad2ee16b6968a9f83c5c31c062b2816b4f131185a4b14ada38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/browser/shim/windows.rs:1413-1421 | src-tauri/src/browser/shim/windows.rs:1508-1516 \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 \u0060src-tauri/src/browser/shim/windows.rs:1413\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":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d619dfa2dc6d8bcc2d2c6e604573cb3dd55875e14b63d9a4109f351fba718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/browser/surface_child.rs:1159-1167 | src-tauri/src/browser/surface_child.rs:1195-1203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c89b1a6a1cfe121e68bbb54fe11e155a58533cac249b2f8952e453bc794b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/chat_channel/backends/lark.rs:285-293 | src-tauri/src/chat_channel/backends/lark.rs:305-313 \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 \u0060src-tauri/src/chat_channel/backends/lark.rs:285\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":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf661e3d0ebcf67a4b1137dce3dd8eb148c90ee7b6fe0c39eff419df6c21f4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/cli_run/shim.rs:333-341 | src-tauri/src/update/install.rs:1290-1298 \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":"src-tauri/src/cli_run/shim.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4f5fe8b775d5ea551a7aa352af8cd1fec6f73791afe6e997237a6102f2d2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/acp.rs:3443-3451 | src-tauri/src/commands/acp.rs:3888-3896 \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 \u0060src-tauri/src/commands/acp.rs:3443\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6722fe315db0a29a6fcb1e9788f212bb6e47c2b7c191ebf40ad0c01d04db794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/backup/crypto.rs:109-117 | src-tauri/src/commands/config_sync/crypto.rs:148-156 \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":"src-tauri/src/commands/backup/crypto.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe0205889581c200406a673c25df62d17fcf17f2d4bd3228bf2f14034f79198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/custom_skills.rs:432-441 | src-tauri/src/commands/office_tools.rs:1198-1206 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:432\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda178c7c12fa726fa93edfc4b08e8df1277572c579eea083771ac42577176bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/deepseek_settings.rs:686-694 | src-tauri/src/commands/mcp.rs:2870-2878 \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 \u0060src-tauri/src/commands/deepseek_settings.rs:686\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":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9abb328faff4e5a7b94643ae7113d833410a7aa9c24c70debe58b6689b45363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src-tauri/src/commands/folders.rs:3538-3545 | src-tauri/src/commands/folders.rs:3875-3883 \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 \u0060src-tauri/src/commands/folders.rs:3538\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfd32877a1f30e95e32da315d3aeb06e046e60213308fa11fea888b5618563e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/folders.rs:5209-5217 | src-tauri/src/commands/folders.rs:5287-5295 \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, \u0060src-tauri/src/commands/folders.rs:5208\u0060 calls \u0060to_path_buf\u0060 and \u0060src-tauri/src/commands/folders.rs:5286\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45700278d73f153cdf172d65b1aac93d319d21a252ea837ad487e332e74e799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/folders.rs:5577-5585 | src-tauri/src/commands/folders.rs:5675-5683 \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 \u0060src-tauri/src/commands/folders.rs:5577\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/commands/folders.rs:5575\u0060 calls \u0060clone\u0060 and \u0060src-tauri/src/commands/folders.rs:5673\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aab459d6f3b82c56a321ba6d1fe5f3cea37429d63eb325b35d7d592c1889aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src-tauri/src/commands/folders.rs:6563-6570 | src-tauri/src/commands/folders.rs:6729-6737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6563}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffad8c7cff2bdde2d1306cf9500197f93305778a7ae9fb7ece5aa4b91b9f291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/generative_ui.rs:287-295 | src-tauri/src/commands/generative_ui.rs:376-384 \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 \u0060src-tauri/src/commands/generative_ui.rs:287\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":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c103195c57dca65a1e4ac5d97b734ac7eee744c2a83596701af8c71b4cef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1147-1155 | src-tauri/src/commands/mcp.rs:1261-1269 \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 \u0060src-tauri/src/commands/mcp.rs:1147\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"506f6b6dc6291a6a48d586b5e8bf91f6fbc4a174ff0688a49debad82249307b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src-tauri/src/computer/helper/driver_proc.rs:482-490 | src-tauri/src/computer/helper/driver_proc.rs:705-712 \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 \u0060src-tauri/src/computer/helper/driver_proc.rs:482\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, \u0060src-tauri/src/computer/helper/driver_proc.rs:481\u0060 calls \u0060drop\u0060 and \u0060src-tauri/src/computer/helper/driver_proc.rs:704\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":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"856ae32a39c6b6747998eadaa3736ec327a60eeb11ed34b98d245b6e43ce9353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/computer/targets.rs:1761-1769 | src-tauri/src/computer/targets.rs:1773-1781 \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. 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":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edbc5d5b6c0971a946e5472fba38fcb875d006b9e2b8e1f123755e2e28b2f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1727-1735 | src-tauri/src/db/service/work_task_service.rs:1805-1813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1f575a2facf35e7e744a9cf811ca88d141fd0233aec11351b68bc79c96e479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1860-1870 | src-tauri/src/db/service/work_task_service.rs:3122-3132 \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 \u0060src-tauri/src/db/service/work_task_service.rs:1860\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5f04052d58d0526d25f94452de0bf39f8a14db4f26bbaf164c20654ddb1509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/forge/gitea.rs:627-635 | src-tauri/src/forge/github.rs:1551-1559 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:627\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"17462fd1a5347c90d84fd71cc29a530c6d3f6666b7a2f3d375d3a1ec3104fb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1314-1322 | src-tauri/src/forge/github.rs:112-120 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1314\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ad033cb30926f95de35d9cb27f42fba081f021413d5635e13758a3f1cd91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/forge/github.rs:1761-1769 | src-tauri/src/forge/github.rs:1817-1825 \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 \u0060src-tauri/src/forge/github.rs:1761\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, \u0060src-tauri/src/forge/github.rs:1816\u0060 calls \u0060json\u0060 and \u0060src-tauri/src/forge/github.rs:1760\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":"src-tauri/src/forge/github.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d228f1de880612a1a1a8c40db980c388942ee011a61d71e28d786b47b08221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3477-3485 | src-tauri/src/parsers/openclaw.rs:996-1004 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3639b309febe7c191f23634223b7bad27a2dc368dbd47a4214c42885c4b1b4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/cline.rs:1173-1181 | src-tauri/src/parsers/openclaw.rs:986-994 \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":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f004251934a8cc78bae93aa5e2487f9402e7c59f23f47f9370ab68e87b1ba704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src-tauri/src/parsers/codex.rs:385-393 | src-tauri/src/parsers/kimi_code.rs:126-133 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codex.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codex.rs:385\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"39134bb314c3ac3a022b82eda43af7499518079324dde59f52bb0f996a17010f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/deepseek.rs:1358-1366 | src-tauri/src/parsers/kimi_code.rs:1295-1303 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/deepseek.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a91d3a133950ccca56c7f05ea2da6e379169c8a920ab74ccec1f79c2aa67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): src-tauri/src/parsers/grok.rs:710-718 | src-tauri/src/parsers/kimi_code.rs:134-140 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/grok.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/parsers/kimi_code.rs:141\u0060 calls \u0060get\u0060, \u0060and_then\u0060 and \u0060src-tauri/src/parsers/grok.rs:718\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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e14caa4a91daa5b5999ac7933265d90775efb7a46f71c3d66889e42ca42171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/openclaw.rs:289-297 | src-tauri/src/parsers/openclaw.rs:320-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 \u0060src-tauri/src/parsers/openclaw.rs:289\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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"651d80ceb7dc15d4f2b94e0d94fcec4c465b0c54782b646bb91b0bbc787fa8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/process.rs:372-380 | src-tauri/src/process.rs:490-498 \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 \u0060src-tauri/src/process.rs:372\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":"src-tauri/src/process.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"816351bcd45bfaccfc71e423d051d469397e2f9452d6d1434d54179e3323e7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/web/mod.rs:274-283 | src-tauri/src/web/mod.rs:369-377 \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 \u0060src-tauri/src/web/mod.rs:274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2235365e3f57f22753d720c1aa7c20caba1d30aa87813f012de352b5f68b3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/work_task/engine.rs:2090-2098 | src-tauri/src/work_task/engine.rs:4624-4632 \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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c624b415fdaa0a34df77fd01442151c56f63c78a321281f585ee25b3eecfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 8): src-tauri/src/parsers/codebuddy.rs:1340-1346 | src-tauri/src/parsers/codex.rs:7183-7189 | src-tauri/src/parsers/gemini.rs:1023-1030 | src-tauri/src/parsers/hermes.rs:806-812 | src-tauri/src/parsers/kimi_code.rs:1331-1337 | src-tauri/src/parsers/openclaw.rs:1124-1130 | src-tauri/src/parsers/opencode.rs:2316-2322 | src-tauri/src/parsers/pi.rs:1469-1475 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:1340\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6356d3a9abec7c9c047f409c81409da2cd535935a28cca3fa912d4b7e7fcd83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src-tauri/src/commands/conversations.rs:2802-2811 | src-tauri/src/commands/folder_links.rs:453-460 | src-tauri/src/commands/folders.rs:1706-1713 | src-tauri/src/commands/folders.rs:1725-1732 | src-tauri/src/git_credential.rs:390-399 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/folders.rs\u0060 and \u0060src-tauri/src/git_credential.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/conversations.rs:2802\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":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"3688f5c089e6d0388ad6450dad4653c1028880ff6c0efe08e3d484eaf55b2fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src-tauri/src/parsers/grok.rs:709-716 | src-tauri/src/parsers/grok.rs:1192-1199 | src-tauri/src/parsers/kimi_code.rs:133-140 | src-tauri/src/parsers/kimi_code.rs:1021-1028 | src-tauri/src/parsers/pi.rs:1379-1386 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/grok.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/grok.rs:709\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/parsers/kimi_code.rs:141\u0060 calls \u0060get\u0060, \u0060and_then\u0060 and \u0060src-tauri/src/parsers/grok.rs:718\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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5e5c720d159db32103573c0365ef508dfaadd25179ad5cd35281919d3fe80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/commands/mcp.rs:1137-1144 | src-tauri/src/commands/mcp.rs:1241-1248 | src-tauri/src/commands/mcp.rs:1500-1507 | src-tauri/src/commands/mcp.rs:4300-4307 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/mcp.rs:1137\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1b8f93e3cde43c78f72c0dc2b89ea5c87d913b299f64ebb98dbb0786466a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/commands/mcp.rs:1741-1748 | src-tauri/src/commands/mcp.rs:1898-1905 | src-tauri/src/commands/mcp.rs:2553-2560 | src-tauri/src/commands/mcp.rs:2723-2730 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/mcp.rs:1741\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02e34744b553f7ff154b0ee003cf82467ba9a2c18443fb7a5eda16a69df56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/commands/mcp.rs:2942-2949 | src-tauri/src/commands/mcp.rs:3061-3068 | src-tauri/src/commands/mcp.rs:3164-3171 | src-tauri/src/commands/mcp.rs:5220-5227 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/mcp.rs:2942\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2400c58cc738f2200d0d7bb70589041b8c0590720e8da09ae468c7772bb599d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/commands/windows.rs:673-680 | src-tauri/src/commands/windows.rs:1005-1012 | src-tauri/src/commands/windows.rs:1129-1136 | src-tauri/src/commands/windows.rs:1217-1224 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/windows.rs:673\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e91400c6fbdcb1d488cb13904c01297408e2c47fbe7b773f48bbf87f680a2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/parsers/codebuddy.rs:472-479 | src-tauri/src/parsers/codebuddy.rs:501-508 | src-tauri/src/parsers/pi.rs:461-468 | src-tauri/src/parsers/pi.rs:485-492 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/pi.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/codebuddy.rs:472\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5488d2de08b50d23893b5501b2df461d5e7eb0bb72844649b5228e9b35bfa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/acp/delegation/companion.rs:2412-2419 | src-tauri/src/acp/delegation/companion.rs:2481-2488 | src-tauri/src/acp/delegation/companion.rs:2567-2574 \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 \u0060src-tauri/src/acp/delegation/companion.rs:2412\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1a21ab930b90537e3f4dd106633b1a3f48d773e9ecdd8bb8207ac8a1d03e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/acp/manager.rs:2070-2077 | src-tauri/src/acp/manager.rs:2114-2121 | src-tauri/src/acp/manager.rs:2380-2387 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"612b20d45edb410f8a5850bc3d4ca1b6e4344a59271ddea771dcbedd9e88f20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/mcp.rs:1150-1157 | src-tauri/src/commands/mcp.rs:1264-1271 | src-tauri/src/commands/mcp.rs:1346-1353 \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 after the matched lines, \u0060src-tauri/src/commands/mcp.rs:1273\u0060 calls \u0060canonicalize_spec\u0060, \u0060Object\u0060 and \u0060src-tauri/src/commands/mcp.rs:1354\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"785b6e5e72e5320512394cae379330201901eb6004b83b17532fdafff31189e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/mcp.rs:2603-2610 | src-tauri/src/commands/mcp.rs:2689-2696 | src-tauri/src/commands/mcp.rs:2795-2802 \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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b73b0de8d975d01d7debfe017f12ec9c2904b5e17e0263d37b56934426ab5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/version_control.rs:276-283 | src-tauri/src/commands/version_control.rs:372-379 | src-tauri/src/commands/version_control.rs:475-482 \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 \u0060src-tauri/src/commands/version_control.rs:276\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885e357a6580480f5d7bf93b6012f757b00fe231188fdb7ada04207554b04b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): src-tauri/src/commands/windows.rs:685-691 | src-tauri/src/commands/windows.rs:1020-1026 | src-tauri/src/commands/windows.rs:1236-1243 \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 \u0060src-tauri/src/commands/windows.rs: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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2b2c5f80850e4a2ed188567b21461c6fee4ec9373dbab2d95c024f6925122c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): src-tauri/src/db/mod.rs:79-85 | src-tauri/src/parsers/hermes.rs:86-93 | src-tauri/src/parsers/opencode.rs:84-91 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c703dd16a01367b1a011266d5e3358bbaa9f6db72099e0fb60e4a838846c8604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/db/service/work_task_service.rs:1168-1175 | src-tauri/src/db/service/work_task_service.rs:1318-1325 | src-tauri/src/db/service/work_task_service.rs:1448-1456 \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 \u0060src-tauri/src/db/service/work_task_service.rs:1168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/db/service/work_task_service.rs:1456\u0060 calls \u0060col_expr\u0060, \u0060value\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:1175\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d25ec2e4b57d5b8d4da130665302569101172afb63f793f1c058c113c07a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): src-tauri/src/parsers/codex.rs:3081-3087 | src-tauri/src/parsers/codex.rs:4307-4313 | src-tauri/src/parsers/codex.rs:4601-4608 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3081}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e3b19e3986769a953587b9b640355c8ef9b7148e84b247938fc3029ac0e4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/process.rs:372-379 | src-tauri/src/process.rs:490-497 | src-tauri/src/process.rs:542-549 \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 \u0060src-tauri/src/process.rs:372\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":"src-tauri/src/process.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f54e3a9a6e45b4f9d8d8b6ad553032a08e8297bcdb9d435267b6e71b08fe95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/connection.rs:323-330 | src-tauri/src/acp/connection.rs:347-354 \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 \u0060src-tauri/src/acp/connection.rs:323\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87cbe8d9da890c1bc7c78929691ffaf706ecdada2457ff189377e62e0c88c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/acp/connection.rs:2551-2557 | src-tauri/src/acp/connection.rs:2709-2716 \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 \u0060src-tauri/src/acp/connection.rs:2709\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59820455f8c78d091a6d7e9f4f6929d4189422448752c966855bddd09c0bd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/connection.rs:25893-25900 | src-tauri/src/acp/connection.rs:26423-26430 \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 \u0060src-tauri/src/acp/connection.rs:25893\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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":25893}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb190724c64a209298e5625267265d7b3f2d3ffdd929d9e3618b8530c5b9cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/cursor_ext.rs:131-138 | src-tauri/src/acp/question.rs:528-535 \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 \u0060src-tauri/src/acp/cursor_ext.rs:131\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":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98996a6b349fbd87afb465c028df14d345ec576228775df6b4b183a8eff7307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/question.rs:260-267 | src-tauri/src/acp/question.rs:526-533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9bb981f2a2d6cddf413449944bac0db55e7655755548804bf72071179d4348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/bin/codeg_server.rs:682-689 | src-tauri/src/bin/codeg_server.rs:701-708 \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 \u0060src-tauri/src/bin/codeg_server.rs:682\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":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef875fb09e5acf62d8386fd9d6b6fe2528f02ce487d9ffe9283c0edc1b8a0da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/browser/smoke.rs:642-649 | src-tauri/src/browser/smoke.rs:849-855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7b4b58cf8d71e06bc1e032b2a0a59b564448e8f285a5768ecfbd079638d312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:240-247 | src-tauri/src/chat_channel/backends/weixin.rs:519-526 \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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda2ba87f0e815b403a578ca930466ae7f80eeb3e0d48b1a527bedb1d19c5829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/chat_channel/session_commands.rs:309-317 | src-tauri/src/chat_channel/session_commands.rs:347-355 \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 \u0060src-tauri/src/chat_channel/session_commands.rs:309\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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ecafee6dece5f820befaea10502cd0a1c01d7e4ae5d91afccd1009df9ca396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/chat_channel/session_commands.rs:1172-1179 | src-tauri/src/chat_channel/session_commands.rs:1265-1272 \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 \u0060src-tauri/src/chat_channel/session_commands.rs:1172\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 \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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae776ab152f89ea5dea25212a1c9ad13e9802e62ea2b308b93f79f67dd4dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/acp.rs:3579-3588 | src-tauri/src/commands/acp.rs:3689-3696 \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 \u0060src-tauri/src/commands/acp.rs:3579\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd84d1826d3ef24c92fc4d676c58e1dbb52d17608dd469b7f766d528994e515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/acp.rs:10330-10339 | src-tauri/src/commands/custom_skills.rs:206-215 \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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e9779a919c1421f6eb303c5bc39cc321e76449710242054a5965abc8bff46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/commands/acp.rs:10821-10828 | src-tauri/src/commands/acp.rs:10976-10982 \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 \u0060src-tauri/src/commands/acp.rs:10821\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10821}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9c148913b34ea7f1b0077a9243a5d37cb03106b256f88d56a8077321b32183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/backup/archive.rs:330-337 | src-tauri/src/commands/backup/external.rs:1048-1055 \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. 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":"src-tauri/src/commands/backup/archive.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc154b86a23229cabee8e49455aa906bab396186aa962ae2b81f22ac2d817e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/backup/crypto.rs:166-173 | src-tauri/src/commands/backup/crypto.rs:229-236 \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 \u0060src-tauri/src/commands/backup/crypto.rs:166\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":"src-tauri/src/commands/backup/crypto.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab7ff62b1acfb1688abeee8bfac268e38a034710a9eaf9893de57225a6ca87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/custom_skills.rs:768-775 | src-tauri/src/commands/experts.rs:431-438 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:768\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fa1ff00dc32f6e360236cf783b45ef2080b4f804c7a38295c940ab83745ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/folders.rs:1799-1806 | src-tauri/src/commands/folders.rs:1855-1862 \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 \u0060src-tauri/src/commands/folders.rs:1799\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63dd04bede16178aebff83a3551346bf683063434168c5280df9b58832be05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1639-1646 | src-tauri/src/commands/mcp.rs:4185-4192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a15471750ca6ffb16d191e1846ab62c21204a812f0bbfbd4b89f4f471709eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/commands/project_boot.rs:143-149 | src-tauri/src/commands/project_boot.rs:497-504 \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 \u0060src-tauri/src/commands/project_boot.rs: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 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":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"983b5936e4d34b174a464144801838158c602c6e7b285de5a73ee6ad6d84105c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/system_settings.rs:762-769 | src-tauri/src/web/handlers/system_settings.rs:123-130 \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":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5dd3d2e254ee2cee0f158fbb8272ba2509d3b257bbcfba4bdd309d32c32602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/version_control.rs:154-161 | src-tauri/src/web/handlers/version_control.rs:102-109 \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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccdeea59354d1c1a823e32ddbebfa9ea14835844bdcd12e7d428ca3f3d8137e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/version_control.rs:201-208 | src-tauri/src/web/handlers/version_control.rs:142-149 \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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ad31dac458fecc801219c6413562b78df62106b3a24c20e9c59bc3f08e241c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/db/service/conversation_service.rs:219-226 | src-tauri/src/db/service/conversation_service.rs:250-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d8bb6185c22636882dab2c1b402efaf2a7a1073bd1d3115e7689df8753cb0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1213-1220 | src-tauri/src/db/service/work_task_service.rs:2274-2281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"de458b1cacbc33d08ed882d5477311d2e57f351be0d3f4962f363fd31039f018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2582-2589 | src-tauri/src/db/service/work_task_service.rs:2756-2763 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2582\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a6449ce7eb10004da1ccb5385fea918b5d21f155ae6143c72cc8edd6245226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2705-2712 | src-tauri/src/db/service/work_task_service.rs:2755-2762 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2705\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcf2c979569d45d1f9d9a6294266977d38005a1269ff9f7aa4fc514e2113de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/forge/cnb.rs:392-399 | src-tauri/src/forge/cnb.rs:599-606 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8c50de05f39b51f9b6a20ee9c58b47bfbf54fc0016a0fb3ac6891cc6a2d947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/forge/gitea.rs:408-415 | src-tauri/src/forge/gitea.rs:1033-1040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a0893f0b167e37228ca3451d42d42753607e82e87030d62fea1da84a8e6615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/parsers/claude.rs:1602-1609 | src-tauri/src/parsers/claude.rs:2112-2118 \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 \u0060src-tauri/src/parsers/claude.rs:1602\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fa53e58c71f8519af75b9f66c746ad18da427baf4dd75e1350b848a60fae14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:109-116 | src-tauri/src/parsers/codebuddy.rs:225-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fda82765ae2d813f913ce4cb93420e31753692f4327d4b32c6a6e700b513a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/parsers/codex.rs:6497-6504 | src-tauri/src/parsers/codex.rs:7024-7031 \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 \u0060src-tauri/src/parsers/codex.rs:7024\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":6497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279edc59b7140601c4e47cfc0e50725583025941b6b2c9060a2561d06412db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/parsers/kimi_code.rs:371-378 | src-tauri/src/parsers/pi.rs:570-577 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/kimi_code.rs\u0060 and \u0060src-tauri/src/parsers/pi.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/kimi_code.rs:371\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":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f5aedb3db6abb92ac3aae739a4e4e0d3da71fd3d31ab72b0f815db3937c8bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/parsers/kimi_code.rs:923-930 | src-tauri/src/parsers/kimi_code.rs:936-943 \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 \u0060src-tauri/src/parsers/kimi_code.rs:923\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":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6af2220a47abf5570bd8615c07047858d3a4eea1a8b458740d1ab19f9f486a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/parsers/mod.rs:1702-1711 | src-tauri/src/parsers/mod.rs:1712-1721 \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 \u0060src-tauri/src/parsers/mod.rs:1702\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":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dddc29e1edb847d4135fabb3c4d84a5d8c1a4d34195938e2a9565d673ad4409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/web/mod.rs:260-267 | src-tauri/src/web/mod.rs:352-359 \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 \u0060src-tauri/src/web/mod.rs:260\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, \u0060src-tauri/src/web/mod.rs:360\u0060 calls \u0060upsert_value\u0060, \u0060map_err\u0060 and \u0060src-tauri/src/web/mod.rs: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":"src-tauri/src/web/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e185aa676d18e538500581bce83554b444ac8f3cc8e9db4fcc10ea9c88b13a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src-tauri/src/commands/custom_skills.rs:373-379 | src-tauri/src/commands/experts.rs:861-867 | src-tauri/src/commands/office_tools.rs:1116-1122 | src-tauri/src/commands/science.rs:684-690 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:373\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f350ca2c360376884fa46e3550af978b81f3addfb4d00baf403e41e246bb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src-tauri/src/commands/folders.rs:5423-5431 | src-tauri/src/commands/folders.rs:5489-5495 | src-tauri/src/commands/folders.rs:5519-5525 | src-tauri/src/commands/folders.rs:5565-5574 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:5565\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. 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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f608c7ff8363cb843f1ed63910d2786c1263825df5749bb71d88320d04892c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src-tauri/src/commands/folders.rs:5418-5424 | src-tauri/src/commands/folders.rs:5484-5490 | src-tauri/src/commands/folders.rs:5514-5520 | src-tauri/src/commands/folders.rs:5747-5753 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:5418\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1697d3f81f189812eae1f25cfa2ebd1bb56ea0d2f9c9110a39532f49c3fd939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src-tauri/src/parsers/grok.rs:1193-1199 | src-tauri/src/parsers/kimi_code.rs:1022-1028 | src-tauri/src/parsers/pi.rs:571-577 | src-tauri/src/parsers/pi.rs:1380-1386 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/grok.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3a7beeb63c5148dad875b09a50fee763d3086ca29316fcabb91aca93178b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/commands/experts.rs:1017-1023 | src-tauri/src/commands/office_tools.rs:1292-1298 | src-tauri/src/commands/science.rs:832-838 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/office_tools.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/experts.rs:1017\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":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f749c22b0e43aedb6005f4917ecefe729fc8a305fed1ad88f25606d26f75859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/forge/cnb.rs:311-317 | src-tauri/src/forge/gitea.rs:288-294 | src-tauri/src/forge/github.rs:512-518 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:311\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 before the matched lines, \u0060src-tauri/src/forge/cnb.rs:309\u0060 calls \u0060collection_of_kind\u0060 and \u0060src-tauri/src/forge/gitea.rs:286\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8155ed92b7a172b19a11aa2750c15523a1c86a4e0c2a7d9ab8cd7cd634c098e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/parsers/claude.rs:1608-1615 | src-tauri/src/parsers/codex.rs:489-496 | src-tauri/src/parsers/codex.rs:3489-3496 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c77a141a99d8ea74dc1527af69cb8e52d207e75d13c42c5940d70784f9f894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/parsers/codebuddy.rs:108-114 | src-tauri/src/parsers/codebuddy.rs:224-230 | src-tauri/src/parsers/kimi_code.rs:372-378 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b1acbea33fd990fe8aad58c70e192841d6d4ff0d4c9aa295f6f6276b47238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/parsers/codebuddy.rs:108-114 | src-tauri/src/parsers/grok.rs:710-718 | src-tauri/src/parsers/kimi_code.rs:134-140 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codebuddy.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/parsers/kimi_code.rs:141\u0060 calls \u0060get\u0060, \u0060and_then\u0060 and \u0060src-tauri/src/parsers/grok.rs:718\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a477a2cad9ecde504ac1202853c4f5e094e010fd5f21d99c36d1d11a4499eb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/acp/manager.rs:1093-1099 | src-tauri/src/acp/manager.rs:3189-3195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5115d28529a76f5975a7c68f3da2bbbb42fdb5d21e433bd53674047d3ee71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/automation/engine.rs:232-238 | src-tauri/src/work_task/engine.rs:486-492 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/automation/engine.rs:232\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":"src-tauri/src/automation/engine.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a459d9a8e1bc1c50ef6f09430dbeaaf41be2a90c5845c4d134a44e2fe0d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/browser/profile.rs:808-814 | src-tauri/src/commands/clipboard.rs:190-196 \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 \u0060src-tauri/src/browser/profile.rs:808\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 before the matched lines, \u0060src-tauri/src/browser/profile.rs:805\u0060 calls \u0060is_some\u0060, \u0060Ok\u0060, \u0060f\u0060 and \u0060src-tauri/src/commands/clipboard.rs:189\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":"src-tauri/src/browser/profile.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b2261ee3ab710f0455316d9db2686e7a55e422256e720655e782803c648351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/browser/surface_child.rs:1172-1178 | src-tauri/src/browser/surface_child.rs:1209-1215 \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 \u0060src-tauri/src/browser/surface_child.rs:1172\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":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff2063eb8508e122e444045e7f5f5259898a30a760011e7372d69432d7e820e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:580-586 | src-tauri/src/chat_channel/backends/telegram.rs:607-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/chat_channel/backends/telegram.rs:580\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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5adb936c899b649bb74da6917661710e6020524c661f3bd99b06c0a9c856e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/chat_channel/session_commands.rs:140-147 | src-tauri/src/chat_channel/session_commands.rs:188-195 \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 \u0060src-tauri/src/chat_channel/session_commands.rs:140\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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbbf3f2607dcfce79a9ebb3c93984de259e0ff1ca21a222cbbb108db865e853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/cli_run/discovery.rs:551-559 | src-tauri/src/cli_run/discovery.rs:608-616 \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 \u0060src-tauri/src/cli_run/discovery.rs:551\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":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62423766a32252416eb92e2446a5392bb7303a1bc2b0da1e13ae6ff0ecc5404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/acp.rs:2897-2903 | src-tauri/src/commands/acp.rs:2920-2926 \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 \u0060src-tauri/src/commands/acp.rs:2897\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba92093e9ff28ac382633ad5622a39b66429f6756c358841cd4e783778ef386b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/acp.rs:5723-5729 | src-tauri/src/commands/acp.rs:5749-5755 \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 \u0060src-tauri/src/commands/acp.rs:5723\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5723}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f60f23068c4b8a6c84a440f917ef59e42ae34461b3ae57d8acaa6da65f0e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/acp.rs:15160-15166 | src-tauri/src/commands/acp.rs:15227-15233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2555767a573b882eb110bc0d10c866bd8565e4b8bc6a64789b150d15fb84e863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/backup/core.rs:267-274 | src-tauri/src/commands/backup/source.rs:255-262 \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 \u0060src-tauri/src/commands/backup/core.rs:267\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":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2889c2384b66f9ce89b6724c6ac97bd2b791be8fe42be5bf81d3321fa41dd70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/folders.rs:558-564 | src-tauri/src/commands/folders.rs:6699-6705 \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 \u0060src-tauri/src/commands/folders.rs:558\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ca036a79bcd300cf8ea3def3374261073c282f828027523fe9daf2cb958a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/folders.rs:1798-1804 | src-tauri/src/commands/folders.rs:3704-3710 \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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa16991a34f67f531603e59fcc95fe6110da3251082452863d02b14c077b4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/folders.rs:2384-2390 | src-tauri/src/commands/folders.rs:2392-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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"207ebc3781dad85fd41e9eb32da9ad279ca18df1d5d13b9e44f2e3d06b358bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/mcp.rs:6822-6828 | src-tauri/src/commands/mcp.rs:6857-6863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6763e39ed6b33feb37398d439287c235b60fb99de5393d87493b1fa219e5dbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/computer/launch_req.rs:134-140 | src-tauri/src/forge/auto/webhook.rs:145-151 \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 \u0060src-tauri/src/computer/launch_req.rs:134\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":"src-tauri/src/computer/launch_req.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdeba12188ab2e8f6fd6fa70c1e5fe98bd371cb7517d7249e0e82f5250837dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/canvas_service.rs:698-704 | src-tauri/src/db/service/canvas_service.rs:865-871 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"515be28e8b31a433af8fbe2994a45b2daa555fe7cbb1afd5aede03d10f61b483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/canvas_service.rs:976-982 | src-tauri/src/db/service/canvas_service.rs:1025-1032 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff4ae5d6f51a1a1f51f0d4af9bc68e1e13d013a2867e4cf47322e73cd2bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1816-1822 | src-tauri/src/db/service/work_task_service.rs:2085-2091 \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 \u0060src-tauri/src/db/service/work_task_service.rs:1816\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"8346a44844817f4aa673abdec8dd6ba6cd8be144ee88b7d127a3890b5a1c8cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2100-2107 | src-tauri/src/db/service/work_task_service.rs:2846-2852 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/db/service/work_task_service.rs:2853\u0060 calls \u0060col_expr\u0060, \u0060value\u0060, \u0060clone\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:2107\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7beebf658384f88b970a3fd5da697885fbaf96c1f9873ce64158cf0dc4c9ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2505-2511 | src-tauri/src/db/service/work_task_service.rs:2914-2920 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2505\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3bfe2674ae10c9bd90f527b94cf206f31814cae75c4d5e9b4b6ee10b427eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2954-2960 | src-tauri/src/db/service/work_task_service.rs:3016-3022 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2954\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"397d359202699ac90e2eb63ed2f5976204f7ff8e25782b1d7d4c401036eb8dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): src-tauri/src/parsers/claude.rs:1531-1537 | src-tauri/src/parsers/codex.rs:427-433 | src-tauri/src/parsers/qoder.rs:713-716 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2acb33438569895908bfe7119c6ec75d0d84649069bf7c1de23c4ce921164d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/claude.rs:3938-3944 | src-tauri/src/parsers/claude.rs:4006-4012 \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 \u0060src-tauri/src/parsers/claude.rs:3938\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":3938}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a50310c36e2c10f255c54b942e1fde76bab49c65e0f89130723f971d563429b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:132-138 | src-tauri/src/parsers/codebuddy.rs:245-251 \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 \u0060src-tauri/src/parsers/codebuddy.rs:132\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":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf8f662b34fc464330cf7dfaf33e848cabfa91f691a440a6152ab71197ab11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/openclaw.rs:730-736 | src-tauri/src/parsers/openclaw.rs:761-767 \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 \u0060src-tauri/src/parsers/openclaw.rs:730\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":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7174c8e49c448afa19b371ed35eb82bf611d1e049ffbf4bed311eefa32227c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/web/mod.rs:616-622 | src-tauri/src/web/mod.rs:854-860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b76c35783fdfc2dba56297dd5a946ceeb79fa94918b37aea59733dde1944c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): src-tauri/src/commands/custom_skills.rs:316-322 | src-tauri/src/commands/experts.rs:773-778 | src-tauri/src/commands/experts.rs:1017-1023 | src-tauri/src/commands/office_tools.rs:1222-1227 | src-tauri/src/commands/office_tools.rs:1292-1298 | src-tauri/src/commands/science.rs:591-596 | src-tauri/src/commands/science.rs:832-838 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/custom_skills.rs:316\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":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a021f0f9ca9acc693c92f37c98ddb0d909d46249a4ab39ee9f06e55824515ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/commands/folders.rs:559-564 | src-tauri/src/commands/folders.rs:1931-1936 | src-tauri/src/commands/folders.rs:6700-6705 \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 \u0060src-tauri/src/commands/folders.rs:559\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5dc38b8bc3ade8843887aca06c4406a7a375137e4bab5ead9ef63af371f71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/commands/mcp.rs:1133-1138 | src-tauri/src/commands/mcp.rs:1624-1631 | src-tauri/src/commands/mcp.rs:4162-4167 \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 \u0060src-tauri/src/commands/mcp.rs:1133\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d045fa3e899e6b57b22a0d1be7f1f0dce2d9456209f4635df084efebc5d6f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/commands/windows.rs:685-690 | src-tauri/src/commands/windows.rs:1020-1025 | src-tauri/src/commands/windows.rs:1141-1146 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060app\u0060 to \u0060AppHandle\u0060 in one and \u0060\u0026AppHandle\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/commands/windows.rs:691\u0060 calls \u0060parent\u0060, \u0060map_err\u0060, \u0060window\u0060 and \u0060src-tauri/src/commands/windows.rs:1147\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08368a2d256521da171086b55ccd1c4d7d289c60416d044c47d3e829afdc224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/forge/deliver.rs:550-555 | src-tauri/src/forge/github.rs:652-657 | src-tauri/src/forge/github.rs:1419-1424 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f786a894c28c438c6f0d110cd869ea3561dde8292b3afc3e18c6019e8f7273c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/forge/gitea.rs:1105-1110 | src-tauri/src/forge/github.rs:1738-1743 | src-tauri/src/forge/gitlab.rs:1116-1121 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1105\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca35cdf5c0fad0c6740aa8081346d57092ca92f9e9137945980790f79cc6db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/keyring_store.rs:39-45 | src-tauri/src/keyring_store.rs:227-233 | src-tauri/src/keyring_store.rs:287-293 \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 \u0060src-tauri/src/keyring_store.rs:39\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":"src-tauri/src/keyring_store.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c14471f4de27f8d565df284e274016974aa900e89846e1d461d5c4b3898beb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): src-tauri/src/acp/background_watch.rs:2026-2031 | src-tauri/src/parsers/claude.rs:1432-1437 | src-tauri/src/parsers/opencode.rs:1885-1886 \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 \u0060src-tauri/src/parsers/opencode.rs:1885\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/src/acp/background_watch.rs:2031\u0060 calls \u0060iter\u0060 and \u0060src-tauri/src/parsers/opencode.rs:1886\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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"a062eff40184c73a679d3d49d89d75ee9cf7b57f165031390bac191d7b342d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/binary_cache.rs:118-123 | src-tauri/src/acp/binary_cache.rs:963-968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"716b23a218830abd3ad47c594131101332c930619c85e5023a837549fd87e5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/delegation/listener.rs:1476-1481 | src-tauri/src/acp/delegation/listener.rs:1520-1525 \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 \u0060src-tauri/src/acp/delegation/listener.rs:1476\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060outcome\u0060 to \u0060BrowserCaptureOutcome\u0060 in one and \u0060ComputerCaptureOutcome\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":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0ead7b4327ab43d039d03ea9a6474f306658d66d602024ffc733a8106712f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/acp/provider_models.rs:132-138 | src-tauri/src/web/proxy_auth.rs:133-139 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060url\u0060 to \u0060\u0026Url\u0060 in one and \u0060\u0026reqwest::Url\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":"src-tauri/src/acp/provider_models.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"661b21f7597839121d55f20bd354fddfd3883e60b0013a7317a473b0a8b24d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/question.rs:238-243 | src-tauri/src/acp/question.rs:520-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a0084a8b4c34eb7cf383bc9569562b067d6a94247d002e8824a7d9dde4a570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/browser/hooks.rs:255-260 | src-tauri/src/browser/hooks.rs:276-281 \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 \u0060src-tauri/src/browser/hooks.rs:255\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":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c7d1ff0a89340b6ed4392f74f642aeae53e1b0204686d807de7d4c2b8414b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/acp.rs:10906-10911 | src-tauri/src/commands/acp.rs:11086-11091 \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 \u0060src-tauri/src/commands/acp.rs:10906\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10906}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3751d934f8bc0ec795c0566780c2064e1ada78cf45404bdb9ffcc347f65abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/folder_links.rs:542-547 | src-tauri/src/commands/folder_links.rs:632-637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e85c8616fc46bb5d7c8cb6fd8bffc7191422a17b2c30703f129e79331e085cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/computer/helper/mcp.rs:269-274 | src-tauri/src/computer/local.rs:356-361 \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":"src-tauri/src/computer/helper/mcp.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9a2c73a7451ed8b3b96cf18f75ee76985bffca05c05794eb61f4bac46c99d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/db/service/canvas_service.rs:635-640 | src-tauri/src/db/service/canvas_service.rs:1037-1042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59999be64f9288c07a5134188bf9722d4a7b0215dc2960f79c62d50a7c6ee4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/db/service/token_usage_service.rs:153-158 | src-tauri/src/db/service/token_usage_service.rs:268-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/token_usage_service.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b27c7bcf6f7fbc9f48f65d88ce2af580876443cd0d0314665cadfb8dc4e5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2271-2276 | src-tauri/src/db/service/work_task_service.rs:2354-2359 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2271\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c52f05679bfd4fb3f0bb64432272c06e9129a451aa7ea6e33f6c0ea1c955dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2580-2585 | src-tauri/src/db/service/work_task_service.rs:2645-2650 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2580\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"932757212bed6b2828d49d4b45220b36e74560e82a4c342a4d2ca42063997a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/forge/gitea.rs:85-95 | src-tauri/src/forge/gitlab.rs:193-198 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/gitlab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:85\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"746af5c50268244c85544e38037771c679777831ce94622578a3e85a834549a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/forge/gitlab.rs:211-216 | src-tauri/src/forge/gitlab.rs:290-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitlab.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4b5405dc12cdf044e8f399dae6d3598237f442cc93758ca9ba7acc24c1a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/lib.rs:1464-1469 | src-tauri/src/lib.rs:1481-1486 \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 \u0060src-tauri/src/lib.rs:1464\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":"src-tauri/src/lib.rs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"230e22afabb48a85d84f72efc1d7a53945160d8791189cc3d3617570f893a258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/parsers/claude.rs:4134-4139 | src-tauri/src/parsers/openclaw.rs:1057-1062 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/parsers/claude.rs:4134\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc750918abecf847cd92e31eabf3fd4899163723c4912a3e1f1faa62b9379ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/parsers/cline.rs:1300-1305 | src-tauri/src/parsers/codex.rs:7008-7013 \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 \u0060src-tauri/src/parsers/cline.rs:1300\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":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b412bfc4f686c4d2e9a00df9b6cfea1ed8adf6de865717b94de9cb14d40219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/parsers/codebuddy.rs:98-103 | src-tauri/src/parsers/codebuddy.rs:195-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6d14773cd48ee036d9c0191c56170f7db486615293cfb2887ae2af1e7ed6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/parsers/opencode.rs:2474-2479 | src-tauri/src/parsers/opencode.rs:3235-3240 \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 \u0060src-tauri/src/parsers/opencode.rs:2474\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":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0060503ed8871f925934a7ea6223da10bbacd5bb54208f9d52e9cab8c9e6468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/web/browser_bridge.rs:643-648 | src-tauri/src/web/browser_bridge.rs:723-728 \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 \u0060src-tauri/src/web/browser_bridge.rs:643\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":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec84adb1f7ffa25390dfc3e389ec0b9976552b1ee04b0f90b1df85309ba266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/work_task/engine.rs:6506-6511 | src-tauri/src/work_task/engine.rs:6518-6523 \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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6506}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b3d03c9cbfb53b4aca1938fd54240c45fb37f2140327bd8d45fd4bc22cd079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src-tauri/src/process.rs:369-374 | src-tauri/src/process.rs:444-449 | src-tauri/src/process.rs:487-492 | src-tauri/src/process.rs:515-520 | src-tauri/src/process.rs:539-544 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/process.rs:369\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, \u0060src-tauri/src/process.rs:453\u0060 calls \u0060join\u0060 and \u0060src-tauri/src/process.rs:524\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":"src-tauri/src/process.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"182709d8dfc26d4d31ff33132a083815083bcc64d9c45354b83a2f91464d302b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src-tauri/src/forge/cnb.rs:395-403 | src-tauri/src/forge/cnb.rs:502-509 | src-tauri/src/forge/gitea.rs:411-419 | src-tauri/src/forge/github.rs:658-662 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/forge/cnb.rs:500\u0060 calls \u0060Some\u0060 and \u0060src-tauri/src/forge/cnb.rs:393\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a00ecee3150ac2757edaa67488e0164b953f1a039d4f5db480e82f1be5a5321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/browser/smoke.rs:646-652 | src-tauri/src/browser/smoke.rs:664-670 | src-tauri/src/browser/smoke.rs:852-858 \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 \u0060src-tauri/src/browser/smoke.rs:646\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":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b724d622f5a5215e497855ded6a06424f87a1055c32a09e3d5275514e40d601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src-tauri/src/commands/folders.rs:1798-1802 | src-tauri/src/commands/folders.rs:3704-3708 | src-tauri/src/commands/folders.rs:3899-3905 \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 \u0060src-tauri/src/commands/folders.rs:1798\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f716cbe0ef745f3b5199fa0ba8f840201a04004853179702424d1accca1d2d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/forge/gitea.rs:1097-1102 | src-tauri/src/forge/github.rs:1730-1735 | src-tauri/src/forge/gitlab.rs:1108-1113 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1097\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"c827cb3778704fb38c673a1a4f782582c774e1dbee4ae3498024c8b5384396d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/background_watch.rs:1590-1595 | src-tauri/src/parsers/claude.rs:2313-2318 \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 \u0060src-tauri/src/acp/background_watch.rs:1590\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, \u0060src-tauri/src/acp/background_watch.rs:1589\u0060 calls \u0060Some\u0060, \u0060get\u0060 and \u0060src-tauri/src/parsers/claude.rs:2307\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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"a746bfe3c4712be3dca62ae7928df16b43ca9bbccec3c957dbb607b710b6946d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src-tauri/src/acp/connection.rs:5662-5667 | src-tauri/src/acp/connection.rs:6180-6186 \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. 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":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5662}}}],"partialFingerprints":{"codehealthFindingId/v1":"109450ca33ab9706599d3bc7b2f9a0778fc8fb9a627deed5bda5981ff3d0a189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/manager.rs:2225-2229 | src-tauri/src/acp/manager.rs:2302-2308 \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 \u0060src-tauri/src/acp/manager.rs:2225\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":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc913daab25bdd96f8fbd6e140a5c4fee3919f07c43727533de4b78b6f06b944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/chat_channel/command_handlers.rs:34-40 | src-tauri/src/chat_channel/session_commands.rs:1399-1405 \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":"src-tauri/src/chat_channel/command_handlers.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab499bd123811f6377141a7c733259f6472f791c32634d9c9055f77b00b0f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/cli/commands.rs:29-33 | src-tauri/src/cli/commands.rs:83-87 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/commands.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef62c505fbcf52ee2ef5f07404a86b9332dd9d83f076eb4299e0dfbd1f35ae5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:6029-6033 | src-tauri/src/commands/acp.rs:14595-14599 \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 \u0060src-tauri/src/commands/acp.rs:6029\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6029}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0e1c64b8758fc31e22bceb42b48cec474c2d73926271ddda19be7188e683aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/browser.rs:1879-1884 | src-tauri/src/commands/browser.rs:2567-2572 \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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"7330f2616477b4d4424813fb0180ad8282ddcacbe1d0ae502a0e1186eaa5d0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/folders.rs:5607-5613 | src-tauri/src/commands/folders.rs:5714-5720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5607}}}],"partialFingerprints":{"codehealthFindingId/v1":"722b22b489e315bb71ff92a123a87cad6e56318942f5a09b6b94a88b1d0ea3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1173-1178 | src-tauri/src/commands/mcp.rs:1360-1364 \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 \u0060src-tauri/src/commands/mcp.rs:1173\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba006937cfc3c92ffd11ff8e3d15b8b87194b18773524d54c446b407821170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/mcp.rs:1605-1617 | src-tauri/src/commands/mcp.rs:4153-4157 \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 \u0060src-tauri/src/commands/mcp.rs:1605\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7762856623a48f4f009bf9b9bf0d9b2d3a2dbeb5520e9e0cf878d42988498d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/db/service/token_usage_service.rs:162-167 | src-tauri/src/db/service/token_usage_service.rs:274-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/token_usage_service.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c19d95335572eb8e5b8661869a3f2e9d156aa0807236ecff2c7fa8c58c3781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): src-tauri/src/forge/cnb.rs:365-369 | src-tauri/src/forge/gitea.rs:344-347 | src-tauri/src/forge/github.rs:577-581 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:365\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, \u0060src-tauri/src/forge/cnb.rs:364\u0060 calls \u0060Some\u0060, \u0060as_deref\u0060, \u0060String\u0060 and \u0060src-tauri/src/forge/gitea.rs:344\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa828fc10a3862fc781eaa1d09acf006fe0073d9da9fee606c71d61dbaec8e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/acp_native.rs:853-857 | src-tauri/src/parsers/acp_native.rs:869-873 \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 \u0060src-tauri/src/parsers/acp_native.rs:853\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":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e22b2d8aec9f69a26269fc6135ba0d1cb0930ceac3c8ff94573de54cb666d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/claude.rs:2924-2929 | src-tauri/src/parsers/openclaw.rs:669-673 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/openclaw.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f019e9b7c4af89f8522570ab60423ca4268b9f93984b9a773d919d257c86f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/hermes.rs:210-214 | src-tauri/src/parsers/opencode.rs:234-240 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a5fcac3683b455de6c8c09efe642a37e57179df18ac2d8d7f1bb6f3802c628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src-tauri/src/db/migration/m20260227_000001_folder_parent_branch.rs:8-28 | src-tauri/src/db/migration/m20260423_000001_drop_folder_parent_branch.rs:8-28 \u2014 before extracting anything, compare \u0060src-tauri/src/db/migration/m20260227_000001_folder_parent_branch.rs\u0060 and \u0060src-tauri/src/db/migration/m20260423_000001_drop_folder_parent_branch.rs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260227_000001_folder_parent_branch.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c732044b576c2a124939a1237756954728fe2befbf967a93288ff1c312de6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/acp/binary_cache.rs:221-231 | src-tauri/src/acp/cursor_acp_retry_compat.rs:991-1001 \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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bded533d56c83c93bcaadb2468ef7a3d695195a0845ec705275e9e0ef05c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/browser_tools.rs:163-170 | src-tauri/src/acp/computer_tools.rs:638-645 \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":"src-tauri/src/acp/browser_tools.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b37b1d86c8bc4936aa112aafeda3f1953ed9ddb17ea34ee2111e7b973dfdab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/browser_tools.rs:214-221 | src-tauri/src/acp/computer_tools.rs:554-561 \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":"src-tauri/src/acp/browser_tools.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8bf13404c6a2280b1c19074966180d1fd8db65eb36117f10f435ba553e32c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/browser_tools.rs:331-338 | src-tauri/src/acp/computer_tools.rs:588-595 \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":"src-tauri/src/acp/browser_tools.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8f25ca52c07a1ace07f1ff4fc45ce008317cd460fa753dfee0a5ba1b55aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/acp/chat_authoring.rs:245-250 | src-tauri/src/commands/forge.rs:1937-1942 | src-tauri/src/forge/mod.rs:2120-2125 \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":"src-tauri/src/acp/chat_authoring.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1345b993cb05f48fcaf94cbb011333eadbe805b9a20743700b27c59e776969ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/acp/codex_catalog_commit/mod.rs:416-422 | src-tauri/src/acp/delegation/companion.rs:2052-2059 | src-tauri/src/commands/acp.rs:8369-8376 \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":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"70915640d9cabfeee21694a680654e06b25977f09203465a9ec8f79cd3c1f595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/acp/custom_registry.rs:369-376 | src-tauri/src/acp_transcript.rs:194-200 | src-tauri/src/turn_timings.rs:146-152 \u2014 before extracting anything, compare \u0060src-tauri/src/acp_transcript.rs\u0060 and \u0060src-tauri/src/turn_timings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/custom_registry.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c36ef0e5dba6207556c7a3a8391a915835c7dafdff083930a757d43ef948f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/file_system_runtime.rs:31-36 | src-tauri/src/acp/terminal_runtime.rs:57-62 \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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80d593c92d95947caf880efa452588e825749c0cef92e9cd72df2560794cc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp_transcript.rs:183-188 | src-tauri/src/turn_timings.rs:334-339 \u2014 before extracting anything, compare \u0060src-tauri/src/acp_transcript.rs\u0060 and \u0060src-tauri/src/turn_timings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6568ee8b0523d1e0d595813aaddfeffac6158a07ef657094e0dad60c52354ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp_transcript.rs:204-209 | src-tauri/src/turn_timings.rs:156-161 \u2014 before extracting anything, compare \u0060src-tauri/src/acp_transcript.rs\u0060 and \u0060src-tauri/src/turn_timings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060root\u0060 to \u0060\u0026Path\u0060 in one and \u0060\u0026std::path::Path\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":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"597c4c42291afbce4d17078a5bce8a9b35c06dc17ce2b69f5152c2609d3c1ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/automation/engine.rs:917-921 | src-tauri/src/work_task/engine.rs:3936-3940 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0e7573846598b4c4c90fc0707f643d51fc149cca5affd69a7e5e895a182548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/automation/engine.rs:1039-1046 | src-tauri/src/work_task/engine.rs:6874-6881 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"220ba607cc4a4185b79acf590fcf93d9e4d7c7985eccfa7a5be355472e73e7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/browser/console.rs:400-407 | src-tauri/src/browser/handoff.rs:684-691 \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":"src-tauri/src/browser/console.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"28460d07b8a994840fdc12362ef4e144431e37a4c12a08301d260c21c5562159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/browser/shim/linux.rs:588-593 | src-tauri/src/browser/shim/windows.rs:1519-1524 \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":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2414a94222e6a6d4e3b927481f81ed4474899dd2d666c885d35a55970aa169f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/browser/shim/linux.rs:617-622 | src-tauri/src/browser/shim/windows.rs:1471-1476 \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":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba6b29217d06fa7f032165b4194e94d4ddc349bebf28dcc4263d5daf45e8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/chat_channel/backends/lark.rs:594-600 | src-tauri/src/chat_channel/backends/telegram.rs:445-451 | src-tauri/src/chat_channel/backends/weixin.rs:733-739 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"75714e0fcac1894e4dc9c2c6940aba955be05769f2e70a06b90e61b27bb8ef52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/chat_channel/scheduler.rs:105-112 | src-tauri/src/chat_channel/session_event_subscriber.rs:100-107 \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":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b23e6878e531ffb7256641fb47f10db5232430b08806ccca71105a10ba1429a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src-tauri/src/chat_channel/session_commands.rs:1677-1682 | src-tauri/src/commands/conversations.rs:547-552 | src-tauri/src/commands/session_info.rs:230-235 | src-tauri/src/db/service/import_service.rs:317-322 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060at\u0060 to \u0060AgentType\u0060 in one and \u0060\u0026AgentType\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":"src-tauri/src/chat_channel/session_commands.rs"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d3402c2a879dbb35eb16dcc244743ea146a3af50e439bafe7312737751672e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/cli/runs.rs:263-268 | src-tauri/src/cli_run/automations.rs:146-151 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060impl serde::Serialize\u0060 in one and \u0060\u0026impl serde::Serialize\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":"src-tauri/src/cli/runs.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccde4939fc7c6fd44c9ecc7ee7c44a8ca1d8db98a9971fa1e2c1acef2e96d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/cli_run/command_tool.rs:325-330 | src-tauri/src/cli_run/discovery.rs:403-408 \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":"src-tauri/src/cli_run/command_tool.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcf6a37390c72b301e5a32a2af8f492b4d8a735fae815914c25a0699212f000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/acp.rs:3120-3127 | src-tauri/src/commands/mcp.rs:839-846 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/acp.rs\u0060 and \u0060src-tauri/src/commands/mcp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ce21330d0059602a750c38562a85d7878a5f5c3e85f44f59c2a05498ad697c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/commands/acp.rs:10638-10647 | src-tauri/src/parsers/hermes.rs:596-605 | src-tauri/src/parsers/opencode.rs:1056-1065 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10638}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbb5ab11201cc8718613558e59eb1fc4155d585b0ea56bcb4a39bb999767afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/backup/archive.rs:339-345 | src-tauri/src/parsers/cursor.rs:486-492 \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":"src-tauri/src/commands/backup/archive.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2038e7c7e3509fd40fc86f10ba9130fb6c03f21886d9bf761e799314f1ebf38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/experts.rs:384-390 | src-tauri/src/commands/science.rs:348-354 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ae4e00c1d772c013314e5760414a212f054162f3e0a0977c7a0f1a85bf802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/experts.rs:1062-1066 | src-tauri/src/commands/science.rs:877-881 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfae330c6d73abbbc87ba72c205b299fb575d223cf3e8005344bee4f2570bf02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/folders.rs:1383-1390 | src-tauri/src/work_task/git.rs:12-19 \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 \u0060src-tauri/src/commands/folders.rs:1383\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8afcb6635535b6a60e92a718c03f0ab7a4266785fdc22d71e584f696d6c8166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/forge/deliver.rs:900-906 | src-tauri/src/forge/thread_reply.rs:89-95 \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":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"85800aafcc1230e4900ee92d521d86ff55a76cd651438b4323f3dd06a3509f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/forge/gitea.rs:571-578 | src-tauri/src/forge/github.rs:908-915 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"78939f38c3de9c456c7b7751ed9a8f4afa6fc9f80a3b4f7bffb6c8b835fe901b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/office_watch/mod.rs:936-945 | src-tauri/src/web/browser_bridge.rs:504-513 \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":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735fbc2b72ea42683d31cd220d3c1afba9600c6720b785de492226a1e2d7b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src-tauri/src/parsers/claude.rs:1420-1425 | src-tauri/src/parsers/claude.rs:2980-2985 | src-tauri/src/parsers/codex.rs:5851-5856 | src-tauri/src/parsers/openclaw.rs:911-916 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/claude.rs\u0060 and \u0060src-tauri/src/parsers/codex.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9456d063a10428312d932827ea85e37e16ca7281f2def1b5caba4fc5a363929d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src-tauri/src/parsers/codex.rs:5663-5674 | src-tauri/src/parsers/deepseek.rs:748-759 | src-tauri/src/parsers/kimi_code.rs:1151-1162 | src-tauri/src/parsers/trae_usage.rs:375-386 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/codex.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":5663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca875595fbcfd741b6231aacc5814f64adcc080ff42af05943a5b98ba5562e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/deepseek.rs:311-319 | src-tauri/src/parsers/kimi_code.rs:256-264 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/deepseek.rs\u0060 and \u0060src-tauri/src/parsers/kimi_code.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4c9b7d4e69f52be10fc565d212d5a40eb9ee87bd9e19b9e6aec46810e07460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/hermes.rs:68-74 | src-tauri/src/parsers/opencode.rs:66-72 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/hermes.rs\u0060 and \u0060src-tauri/src/parsers/opencode.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a9caa020e7fe647d6fc54834831cc752a88f32ffe22efcb5f0596344f90fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/kimi_code.rs:596-602 | src-tauri/src/parsers/pi.rs:1367-1373 \u2014 before extracting anything, compare \u0060src-tauri/src/parsers/kimi_code.rs\u0060 and \u0060src-tauri/src/parsers/pi.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5db571a83c6791d7937806f28dc4f323420d24e4906dffbe74c6ea9bb1ad87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src-tauri/src/automation/engine.rs:754-760 | src-tauri/src/automation/engine.rs:762-768 | src-tauri/src/work_task/engine.rs:6842-6848 | src-tauri/src/work_task/engine.rs:6850-6856 \u2014 \u0060src-tauri/src/automation/engine.rs\u0060 and \u0060src-tauri/src/work_task/engine.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 92 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"b874c4809de6155bf437f2d34ca387b7ba26c0697c88e720e5f1ead8b05ebf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/backgrounds/mod.rs:129-135 | src-tauri/src/pets/mod.rs:188-194 \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":"src-tauri/src/backgrounds/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7ee0db20ddd04327f03930a4222ccb452ac9b2273a811da44763c36852fd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/commands/acp.rs:80-90 | src-tauri/src/commands/office_tools.rs:492-502 \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 \u0060src-tauri/src/commands/acp.rs: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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafb042b384df626abdeab0b7d9de9f554020b7ba2d2823d789caf65bee9635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): src-tauri/src/commands/browser_tools.rs:177-186 | src-tauri/src/commands/chat_authoring.rs:714-723 | src-tauri/src/commands/computer_tools.rs:519-528 | src-tauri/src/commands/delegation.rs:240-250 | src-tauri/src/commands/feedback.rs:95-104 | src-tauri/src/commands/question.rs:100-109 | src-tauri/src/commands/session_info.rs:407-416 \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 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/browser_tools.rs:177\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":"src-tauri/src/commands/browser_tools.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1633b8646488bd9230b089fd6fdc05fb37fdd7c6cf3cb548d7d0136c339e927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/chat_channel.rs:16-21 | src-tauri/src/commands/model_provider.rs:205-210 \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 \u0060src-tauri/src/commands/chat_channel.rs:16\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":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c31fe93fa88e8d60e165e21fb2a5bcb972503ddede910f30ecb8ca7c94250de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src-tauri/src/commands/custom_skills.rs:141-145 | src-tauri/src/commands/experts.rs:217-221 | src-tauri/src/commands/office_tools.rs:278-282 | src-tauri/src/commands/science.rs:174-178 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/custom_skills.rs\u0060 and \u0060src-tauri/src/commands/experts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e642545b3fbe741748e34d0a116e3885357aa060229f10a9ee7c8d78423b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/experts.rs:293-298 | src-tauri/src/commands/science.rs:258-263 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"acafcdc83f5c48bd1d268a050e3419cbaf0a2aad7e71a07f2fe8e73966cfd2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/experts.rs:545-554 | src-tauri/src/commands/science.rs:369-378 \u2014 before extracting anything, compare \u0060src-tauri/src/commands/experts.rs\u0060 and \u0060src-tauri/src/commands/science.rs\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 324 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc86147bc89aac518d92a156703978ffd413cd48a989b7db1638aef55f45c313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src-tauri/src/commands/feedback.rs:47-55 | src-tauri/src/commands/question.rs:56-64 | src-tauri/src/commands/session_info.rs:362-370 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/feedback.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cd5d33b6a74aa195e7a2fe6ac95b79a8e7fe81b3681afb4f7061017ebfaf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/web/handlers/automation.rs:77-82 | src-tauri/src/web/handlers/work_task.rs:263-268 | src-tauri/src/web/handlers/work_task.rs:583-588 \u2014 before extracting anything, compare \u0060src-tauri/src/web/handlers/automation.rs\u0060 and \u0060src-tauri/src/web/handlers/work_task.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/automation.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ae8a78dc9792b8d364b664dccc0d63ef964345d863e58eb6bf165141340463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): src-tauri/src/web/handlers/automation.rs:87-92 | src-tauri/src/web/handlers/work_task.rs:234-239 | src-tauri/src/web/handlers/work_task.rs:244-249 | src-tauri/src/web/handlers/work_task.rs:529-534 | src-tauri/src/web/handlers/work_task.rs:539-544 | src-tauri/src/web/handlers/work_task.rs:549-554 | src-tauri/src/web/handlers/work_task.rs:593-598 \u2014 before extracting anything, compare \u0060src-tauri/src/web/handlers/automation.rs\u0060 and \u0060src-tauri/src/web/handlers/work_task.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/automation.rs:87\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":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a202d65b6f4e855773f97460a28db78bf536db2b2a9d36565375b790f37b1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/web/handlers/automation.rs:97-102 | src-tauri/src/web/handlers/work_task.rs:254-259 \u2014 before extracting anything, compare \u0060src-tauri/src/web/handlers/automation.rs\u0060 and \u0060src-tauri/src/web/handlers/work_task.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/automation.rs:97\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":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2bc407518ef594aa7e477a1f21b5bb4fd6bbdb2dc638c19bc451b9b3d6c79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/web/handlers/automation.rs:107-112 | src-tauri/src/web/handlers/work_task.rs:273-278 \u2014 before extracting anything, compare \u0060src-tauri/src/web/handlers/automation.rs\u0060 and \u0060src-tauri/src/web/handlers/work_task.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/automation.rs:107\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":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b5df933a2f2816499cc510434827041a0f62363fb387df817e502096b416f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/web/handlers/automation.rs:164-169 | src-tauri/src/web/handlers/work_task.rs:332-337 \u2014 before extracting anything, compare \u0060src-tauri/src/web/handlers/automation.rs\u0060 and \u0060src-tauri/src/web/handlers/work_task.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/automation.rs:164\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":"src-tauri/src/web/handlers/automation.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60a4c15a43612bd943e23c727af248816e131c5d1229d12ca38331e1d04315e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): src-tauri/src/web/handlers/browser_tools.rs:34-43 | src-tauri/src/web/handlers/chat_authoring.rs:33-42 | src-tauri/src/web/handlers/computer_tools.rs:37-46 | src-tauri/src/web/handlers/computer_tools.rs:56-65 | src-tauri/src/web/handlers/feedback.rs:38-47 | src-tauri/src/web/handlers/question.rs:34-43 | src-tauri/src/web/handlers/session_info.rs:33-42 \u2014 there are 7 copies across 6 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/web/handlers/browser_tools.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/browser_tools.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a07a6e35f9bf23dba28754f2fb5351fd1c7bcf0dc956c032a0b737c0a32ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/web/handlers/experts.rs:72-77 | src-tauri/src/web/handlers/office_tools.rs:91-96 | src-tauri/src/web/handlers/science.rs:73-78 \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 \u0060src-tauri/src/web/handlers/experts.rs:72\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":"src-tauri/src/web/handlers/experts.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cbafdddc0d3d0b407f5f1eb97b17d20483420e7b2a2114e9c991051dda07c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/acp/delegation/meta_writer.rs:302-311 | src-tauri/src/acp/delegation/meta_writer.rs:324-347 \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 \u0060src-tauri/src/acp/delegation/meta_writer.rs:302\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":"src-tauri/src/acp/delegation/meta_writer.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf010b8e69b9a55ff0109b7c33caecd28fdbd00c846493229e1043443a5fbef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/acp/delegation/meta_writer.rs:314-334 | src-tauri/src/acp/delegation/meta_writer.rs:350-363 \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 \u0060src-tauri/src/acp/delegation/meta_writer.rs:314\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":"src-tauri/src/acp/delegation/meta_writer.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd275a5d26c88f44923b7638f21620e9920db69fc591333ad6ae74142e9f1035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src-tauri/src/commands/acp.rs:14176-14194 | src-tauri/src/commands/acp.rs:14862-14880 \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 \u0060src-tauri/src/commands/acp.rs:14176\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61d0713418bd1aaf1808e1da400b966c6c0b36d0eed633582b90fcc1d9003d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:333-347 | src-tauri/src/chat_channel/backends/telegram.rs:394-408 \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 \u0060src-tauri/src/chat_channel/backends/telegram.rs: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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8af41ef1e008e85a290b3ffaf55009948ab29ff125527cd9b8c14aa3978dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/work_task/engine.rs:5259-5270 | src-tauri/src/work_task/engine.rs:6006-6020 \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 \u0060src-tauri/src/work_task/engine.rs:5259\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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":5259}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1ba67e422f5d402c78503bc37cb98139bec31e65654b338da400725a7ade1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/commands/mcp.rs:7032-7045 | src-tauri/src/commands/mcp.rs:7100-7113 \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 \u0060src-tauri/src/commands/mcp.rs:7032\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":7032}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f390a6c71f86867c7e12fb32f2fc367321c002c0f651952c62b9b8efceae38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/acp/background_watch.rs:1591-1604 | src-tauri/src/acp/background_watch.rs:1624-1632 \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 \u0060src-tauri/src/acp/background_watch.rs:1591\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":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"314925cd1a03c37118970bb7ea7fe231c5c264d08ee653bf75f3425adf596c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/forge/github.rs:419-432 | src-tauri/src/forge/github.rs:1530-1538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f323788d0b48a00eff6b3631a8952df280cfde612bfbbc36658e26564701a6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/acp/preflight.rs:302-315 | src-tauri/src/acp/preflight.rs:316-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/preflight.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf215a4916f081378f8fa0856fc918343f02ff8dd5eed46627b4bb50fab06707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/parsers/cursor.rs:1595-1608 | src-tauri/src/parsers/cursor.rs:1710-1723 \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 \u0060src-tauri/src/parsers/cursor.rs:1595\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":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce6d288ce1283b5f88c0b55019001928ee670cf9e9632159ef287ff4d0e673a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/commands/remote_proxy.rs:416-425 | src-tauri/src/commands/remote_proxy.rs:740-752 | src-tauri/src/commands/remote_proxy.rs:1330-1340 \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 \u0060src-tauri/src/commands/remote_proxy.rs:416\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":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe0405bd227d4ce28029361413cb3d54b2ee4834c48bc76ef66c6f582dbd00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/cli/commands.rs:99-111 | src-tauri/src/cli/manage.rs:205-217 \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 \u0060src-tauri/src/cli/commands.rs:99\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":"src-tauri/src/cli/commands.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c586d8b855439b550190c534fbc6d49b1dcd066722454fb7e3247572fd895aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/forge/gitea.rs:1231-1243 | src-tauri/src/forge/gitlab.rs:1205-1217 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/gitlab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:1231\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b699e276d295a1c417ece4a7ce9ac9b1cb48ba293929962c62c275d4aa6412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:1081-1093 | src-tauri/src/db/service/work_task_service.rs:2390-2402 \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 \u0060src-tauri/src/db/service/work_task_service.rs:1081\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40fe98baf66922ed78c9092e297033532d31b926223748a66f5877621d32520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/acp/delegation/broker.rs:4072-4084 | src-tauri/src/acp/delegation/broker.rs:4090-4102 \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 \u0060src-tauri/src/acp/delegation/broker.rs:4072\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":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37656af5593f7598670a6bacd2912a838cb3db4a3d705eac2d2b3fdb2a7a3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:2795-2806 | src-tauri/src/acp/delegation/companion.rs:3228-3239 \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 \u0060src-tauri/src/acp/delegation/companion.rs:2795\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f560693c1e29986cb8e40c8e5103b1f8a6b6d70ec6ba3cd49ba752d563a62dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/windows.rs:769-780 | src-tauri/src/commands/windows.rs:1144-1149 \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 \u0060src-tauri/src/commands/windows.rs:769\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e9826fd42b09fd13cc130aab2bf38edb7ce6c01e34cf969d011fd1c0676248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src-tauri/src/acp/delegation/companion.rs:2797-2808 | src-tauri/src/acp/delegation/companion.rs:2948-2959 | src-tauri/src/acp/delegation/companion.rs:3230-3241 \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 \u0060src-tauri/src/acp/delegation/companion.rs:2797\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e12cc95375b6082d29e128ef2173f33567d9d830a09ae1be4c95a9c526e649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/commands/folders.rs:409-420 | src-tauri/src/commands/folders.rs:431-442 \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 \u0060src-tauri/src/commands/folders.rs:409\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916a5317913128008fe0ae7a71410df4e2d0674df7b9472830b3ce098dc5cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/forge/gitea.rs:153-163 | src-tauri/src/forge/gitlab.rs:271-282 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/gitlab.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:153\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b194bcc48935ab16034bdc1573b42702683d4f2b15a6953b6c2fa57cc374cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/computer/helper/mod.rs:720-731 | src-tauri/src/computer/helper/mod.rs:1035-1045 \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 \u0060src-tauri/src/computer/helper/mod.rs:720\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":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b311ecaf997d48f911c8ab7ad88d2a933f1e660c22199ba7e6b1f0a129fb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/work_task/engine.rs:819-829 | src-tauri/src/work_task/engine.rs:914-925 \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 \u0060src-tauri/src/work_task/engine.rs:819\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":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40ecff2346cda6b183e460c5ce7b57b279bbb28d86403a03e6e181d0c9acd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src-tauri/src/commands/folders.rs:2148-2158 | src-tauri/src/commands/folders.rs:2206-2216 | src-tauri/src/commands/folders.rs:3185-3196 \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 \u0060src-tauri/src/commands/folders.rs:2148\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc263f540e901885c9fc682fe8e903f8510188c8fe00dade66501534b50f0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/web/handlers/files.rs:923-932 | src-tauri/src/web/handlers/files.rs:1111-1121 \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 \u0060src-tauri/src/web/handlers/files.rs:923\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. 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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2d1eaadbcec85c7f0c7d98d0d0e7d571dd8853bafb2e7e63b952f59652506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): src-tauri/src/forge/deliver.rs:551-555 | src-tauri/src/forge/github.rs:418-428 | src-tauri/src/forge/github.rs:507-511 | src-tauri/src/forge/github.rs:653-657 | src-tauri/src/forge/github.rs:1420-1424 | src-tauri/src/forge/github.rs:1529-1536 | src-tauri/src/forge/github.rs:1681-1685 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/deliver.rs:551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"773c63660ab3de489ae88b026eab2c626541bde24568acac7f5948b5c3a3467d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src-tauri/src/db/service/work_task_service.rs:1646-1656 | src-tauri/src/db/service/work_task_service.rs:1685-1695 | src-tauri/src/db/service/work_task_service.rs:1775-1785 | src-tauri/src/db/service/work_task_service.rs:2724-2734 | src-tauri/src/db/service/work_task_service.rs:2779-2789 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/db/service/work_task_service.rs:1646\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, \u0060src-tauri/src/db/service/work_task_service.rs:1645\u0060 calls \u0060filter\u0060, \u0060eq\u0060 and \u0060src-tauri/src/db/service/work_task_service.rs:2723\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6917169a01764a16df4ddbf399b290fdcc8567f3352a45e3034987b53061f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/folders.rs:6686-6696 | src-tauri/src/commands/folders.rs:6710-6718 \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 \u0060src-tauri/src/commands/folders.rs:6686\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":6686}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d0405818a6566e29b0bf80cb506d43e2dfb6fe5df5504b1588cbd1051d1c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/forge/cnb.rs:80-88 | src-tauri/src/forge/gitea.rs:85-95 | src-tauri/src/forge/gitlab.rs:193-198 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:80\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f455274b6ffdc2298f240b288fcd68253497774664a736f3488b12ea7e744da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/forge/cnb.rs:565-574 | src-tauri/src/forge/gitea.rs:1001-1010 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:565\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c4e6c09cf53c823242bd53ccabcbb3078da1a0c154da6934f2e4578689430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/mcp.rs:6502-6511 | src-tauri/src/commands/mcp.rs:6536-6545 \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 \u0060src-tauri/src/commands/mcp.rs:6502\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a736c12042c6700e0b9c2419639665ef8b9eadeb020e9951a4770aeddac58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/forge/cnb.rs:452-460 | src-tauri/src/forge/gitea.rs:252-261 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/cnb.rs:452\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":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3599f231b55ef42885ac73aced19a800f1cc3d7916731dcd0969c911c69174f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/commands/acp.rs:3465-3474 | src-tauri/src/commands/acp.rs:3483-3492 | src-tauri/src/commands/acp.rs:4031-4040 \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 \u0060src-tauri/src/commands/acp.rs:3465\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33ae65abf69d297f04346356e34d88063dbd0366895c657a47c33797363cb96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/acp.rs:13185-13194 | src-tauri/src/commands/acp.rs:13560-13569 \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 \u0060src-tauri/src/commands/acp.rs:13185\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9c2f0272faa9fdbc5514b8141995128805522ad92dfb708a8d1c611e61242b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src-tauri/src/commands/folders.rs:2359-2368 | src-tauri/src/commands/folders.rs:2469-2478 | src-tauri/src/commands/folders.rs:3320-3328 | src-tauri/src/commands/folders.rs:3664-3673 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:2359\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, \u0060src-tauri/src/commands/folders.rs:2468\u0060 calls \u0060args\u0060 and \u0060src-tauri/src/commands/folders.rs:3663\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67e4764d300d0c8216b0fe5317203e93e22d8660f1b1649c40352ca52ff529f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/folders.rs:2789-2798 | src-tauri/src/commands/folders.rs:2826-2833 \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 \u0060src-tauri/src/commands/folders.rs:2789\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8325ce13c33aba5a31fc14b503ba89e1f67375d381b9495909469471954bdb1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src-tauri/src/commands/mcp.rs:6520-6529 | src-tauri/src/commands/mcp.rs:6554-6563 | src-tauri/src/commands/mcp.rs:6845-6854 | src-tauri/src/commands/mcp.rs:6880-6889 | src-tauri/src/commands/mcp.rs:6912-6921 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/mcp.rs:6520\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b2634cd8c9b66c93a22d2577a1e1cc333edfe55ab5f0303a479a29b0fe2a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/version_control.rs:351-360 | src-tauri/src/commands/version_control.rs:530-539 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e06639ac2c99e3aadf1a659717c6b66f5a4bec06fff82675eaea8f1f3b672d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/folders.rs:3741-3750 | src-tauri/src/commands/folders.rs:3775-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/folders.rs:3741\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48324876ac233245ad6087940072f9c4762aa81b9d9af90406f6a50cd86bd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/folders.rs:2286-2295 | src-tauri/src/commands/folders.rs:2512-2521 \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 \u0060src-tauri/src/commands/folders.rs:2286\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce77bbce9aed6c3ea456181d358162ea64f203a39ec54136a5fea6bb3566b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/parsers/codex.rs:4026-4035 | src-tauri/src/parsers/codex.rs:5194-5203 \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 \u0060src-tauri/src/parsers/codex.rs:4026\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, \u0060src-tauri/src/parsers/codex.rs:4025\u0060 calls \u0060is_empty\u0060, \u0060contains\u0060 and \u0060src-tauri/src/parsers/codex.rs:5193\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5bf12f7869d9362fdf97efe45c415ae47f0f854dce59b52bde9ff234a8ca95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:997-1005 | src-tauri/src/acp/delegation/companion.rs:1016-1024 \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. 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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3157de34a80691803ef5c1c34f3bce7930ec48ecdca3b19366190aa609feaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/kiro.rs:327-335 | src-tauri/src/parsers/kiro.rs:415-423 \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 \u0060src-tauri/src/parsers/kiro.rs:327\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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a896c2eb1695e89fc689546dc997277c9871192dcf120392f4b0908c77b7fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/folders.rs:2319-2327 | src-tauri/src/commands/folders.rs:2343-2351 \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 \u0060src-tauri/src/commands/folders.rs:2319\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d1eeca01749842c028dcec2e935fd53b8c3915d806f22a42d9d808a3b4ad97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): src-tauri/src/commands/mcp.rs:1745-1753 | src-tauri/src/commands/mcp.rs:2557-2565 | src-tauri/src/commands/mcp.rs:2635-2643 | src-tauri/src/commands/mcp.rs:2727-2735 | src-tauri/src/commands/mcp.rs:3065-3073 | src-tauri/src/commands/mcp.rs:3168-3176 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/mcp.rs:1745\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800a44684588cd75c7553c313a185e832b67f9af3e451bf61a9ff8828fa22a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/parsers/qoder.rs:1527-1535 | src-tauri/src/parsers/qoder.rs:1550-1558 \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 \u0060src-tauri/src/parsers/qoder.rs:1527\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":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e044c840d8daa120b34a6b0c091ebaf66e7a95e42a9115a1ce24e6f386869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/acp.rs:5713-5721 | src-tauri/src/commands/acp.rs:5770-5777 \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 \u0060src-tauri/src/commands/acp.rs:5713\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5713}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe63499e0bc05daf20b23d110a423cbaa46685826f176e5f8b7fdb6b06aba08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:10862-10866 | src-tauri/src/commands/acp.rs:11020-11028 \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 \u0060src-tauri/src/commands/acp.rs:10862\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10862}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a74f37ea457d9acc7639a0381df62b3778c541da1a7ffc71c7136633a28ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/forge/cnb.rs:279-287 | src-tauri/src/forge/gitea.rs:250-255 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/cnb.rs\u0060 and \u0060src-tauri/src/forge/gitea.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"920edec8942afa86672cac44258a2d503b9cba9987ec96ad921847ca8f9d5e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/acp/air_contract.rs:445-453 | src-tauri/src/parsers/pi.rs:1145-1151 \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 \u0060src-tauri/src/acp/air_contract.rs:445\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":"src-tauri/src/acp/air_contract.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061bf3cc09b88b1716bb16e1e4659a8c0e9480c4a18b9112b9be33dbbc4f27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:1657-1664 | src-tauri/src/db/service/work_task_service.rs:326-334 \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 \u0060src-tauri/src/acp/delegation/companion.rs:1657\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec7bef92d84708c21a6d71fe5d71d4fad238efb20bd4fb7ce2a1a0159a97d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/windows.rs:663-670 | src-tauri/src/commands/windows.rs:995-1002 | src-tauri/src/commands/windows.rs:1119-1126 \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 \u0060src-tauri/src/commands/windows.rs:663\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, \u0060src-tauri/src/commands/windows.rs:1117\u0060 calls \u0060post_window_setup\u0060 and \u0060src-tauri/src/commands/windows.rs:661\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab85abcb50dec3d67742886f403155c95a7191c816810b24e9c0ae16da7b2f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/forge/deliver.rs:684-691 | src-tauri/src/forge/deliver.rs:717-723 \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 \u0060src-tauri/src/forge/deliver.rs:684\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":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f47d16740ffd5b543891a511aa08872dbff57f74ec5f0f5cad7685b8adc63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): src-tauri/src/commands/mcp.rs:1766-1773 | src-tauri/src/commands/mcp.rs:1923-1930 | src-tauri/src/commands/mcp.rs:2578-2585 | src-tauri/src/commands/mcp.rs:2656-2663 | src-tauri/src/commands/mcp.rs:2970-2977 | src-tauri/src/commands/mcp.rs:3089-3096 | src-tauri/src/commands/mcp.rs:3192-3199 \u2014 all 7 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 \u0060src-tauri/src/commands/mcp.rs:1766\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0717c431e23207139e63a714e4cd679056587dc67747f67a2c691bdc636604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/folders.rs:2420-2427 | src-tauri/src/commands/folders.rs:2435-2442 | src-tauri/src/commands/folders.rs:2450-2457 \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 \u0060src-tauri/src/commands/folders.rs:2420\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8fbbced44e1b0f478dab1f566e05d42345dcec214f9b134e9e5cf196d06c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/db/service/chat_channel_service.rs:48-55 | src-tauri/src/db/service/model_provider_service.rs:46-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/db/service/chat_channel_service.rs:48\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":"src-tauri/src/db/service/chat_channel_service.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07251cfe303c450b57635c5bface15390190b6a1e9c6b576766a311ee97e667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/computer/launch_req.rs:170-177 | src-tauri/src/computer/spawn.rs:57-63 \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 \u0060src-tauri/src/computer/launch_req.rs:170\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":"src-tauri/src/computer/launch_req.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea07df4d7730b59e8695706cb22d6c19f345159a8f14521198ffa054ad138cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/chat_channel/backends/telegram.rs:127-134 | src-tauri/src/chat_channel/backends/telegram.rs:524-530 \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 \u0060src-tauri/src/chat_channel/backends/telegram.rs:127\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":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"720d0400834e47d8f8116a052551e514273bc38625c548a0b95b12ad84163100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/folders.rs:2679-2686 | src-tauri/src/commands/folders.rs:3952-3958 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee37a0e49075034d2cdc382cf59a8820b520143814ce72257e588911457c980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/acp.rs:13179-13186 | src-tauri/src/commands/acp.rs:13493-13500 \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 \u0060src-tauri/src/commands/acp.rs:13179\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1886c7594002eb9abf6e65c0f9a329443ec2e737fd839ce7b7a3a307ba33944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src-tauri/src/commands/version_control.rs:272-279 | src-tauri/src/commands/version_control.rs:368-375 | src-tauri/src/commands/version_control.rs:471-478 | src-tauri/src/commands/version_control.rs:564-571 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/commands/version_control.rs:272\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7493ef1bacf63e72852a04217375838afe0c202d631bf2c99a641f96c657528d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/folders.rs:3809-3816 | src-tauri/src/commands/folders.rs:3842-3849 \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 \u0060src-tauri/src/commands/folders.rs:3809\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb23e6cf2b307bf0b9bee6a923dc20e5bc4022700042945c2b2bad0ab3fb6c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/acp.rs:4981-4987 | src-tauri/src/commands/acp.rs:5068-5075 \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 \u0060src-tauri/src/commands/acp.rs:4981\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4981}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f8dd2e452cdc63493c272eb45722c3abc32c49ebae55105d47c43dcd0a3552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/windows.rs:866-873 | src-tauri/src/commands/windows.rs:1291-1296 \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 \u0060src-tauri/src/commands/windows.rs:866\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"39090db6713f5362d66b50d96832d5c8d59d64a23253fa4018b5e66dce4de4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/windows.rs:754-761 | src-tauri/src/commands/windows.rs:846-853 | src-tauri/src/commands/windows.rs:1276-1283 \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 \u0060src-tauri/src/commands/windows.rs:754\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"830675526305b2079034c2e1456e20a4b5e456cb616328caa462899dd851306c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/file_system_runtime.rs:1181-1185 | src-tauri/src/commands/folders.rs:4543-4550 \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 \u0060src-tauri/src/commands/folders.rs:4543\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":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"246772745dc49ae87504c2fc40452a767d9e2822ae2b80fdf239800a76b1b5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/commands/mcp.rs:6398-6405 | src-tauri/src/commands/mcp.rs:6469-6476 | src-tauri/src/commands/mcp.rs:6990-6997 \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 \u0060src-tauri/src/commands/mcp.rs:6398\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7d1597e1c71ca944c7f2a21140818be6577621c38dc4f7d2431ffd5bf6dc2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/mcp.rs:4178-4184 | src-tauri/src/commands/mcp.rs:4211-4218 \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 \u0060src-tauri/src/commands/mcp.rs:4178\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ac17c443098a72c07e4c03a7dc70b518c8e3684a1f7cdca00be159fa5648e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/commands/windows.rs:698-705 | src-tauri/src/commands/windows.rs:782-788 | src-tauri/src/commands/windows.rs:1033-1040 \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 \u0060src-tauri/src/commands/windows.rs:698\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed7b311a676bfbeb934322e5f0c2b928bd02db5ffd90a51b8316409f14ae9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/antigravity.rs:732-738 | src-tauri/src/parsers/cursor.rs:392-398 \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 \u0060src-tauri/src/parsers/antigravity.rs:732\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":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f342f3464686b38858e0c4c28cec13e60bbb52240c15a82e22155c4f59efd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/parsers/claude.rs:1591-1597 | src-tauri/src/parsers/claude.rs:1598-1604 \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 \u0060src-tauri/src/parsers/claude.rs:1591\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":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c78d0925653ea0b35b77ac5cdde5519f7507cbdf7f07a47790322be2dbbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/acp/connection.rs:5262-5268 | src-tauri/src/acp/connection.rs:22411-22417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13ecc9cc5d5d4a7b9c7519113566a7efbd29d81e8ce24e8333af49b79bb0cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/backgrounds/mod.rs:99-105 | src-tauri/src/pets/mod.rs:85-91 \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 \u0060src-tauri/src/backgrounds/mod.rs:99\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":"src-tauri/src/backgrounds/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d6dcec2548af2184bba2098069a45d4ad376a7bbf7011909ce37ffa87ec086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src-tauri/src/commands/folders.rs:1676-1680 | src-tauri/src/commands/folders.rs:3706-3710 | src-tauri/src/commands/folders.rs:3901-3907 \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 \u0060src-tauri/src/commands/folders.rs:3901\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f27407dec6bb7e6fee792ac7acab3a4e969f4ad0a81b8b902da49a21fb09c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/pets/marketplace.rs:371-377 | src-tauri/src/pets/marketplace.rs:447-453 \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 \u0060src-tauri/src/pets/marketplace.rs:371\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":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffc4180559d6a69edc2f3635dcbae8fb23a185942cdafb4044c7bdcc5d497d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/windows.rs:1149-1155 | src-tauri/src/commands/windows.rs:1248-1254 \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 \u0060src-tauri/src/commands/windows.rs:1149\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea677b8b48ae1a885ad07eed689bf43d6de58ad1c490a75bd6361422f6a73da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/update/install.rs:811-817 | src-tauri/src/update/install.rs:899-905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b972b9617c7130e8ae12be32d49bb2eda118c48cd920ce5ab50ff93463e14ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/mcp.rs:4276-4285 | src-tauri/src/commands/mcp.rs:4309-4318 \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 \u0060src-tauri/src/commands/mcp.rs:4276\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 after the matched lines, \u0060src-tauri/src/commands/mcp.rs:4287\u0060 calls \u0060insert\u0060, \u0060to_string\u0060, \u0060String\u0060 and \u0060src-tauri/src/commands/mcp.rs:4319\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":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4276}}}],"partialFingerprints":{"codehealthFindingId/v1":"483666e75141fb87dc8424a8f75c7c6d30c0dc8fa8b770f455ce9e8a6881a4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/acp/question.rs:234-240 | src-tauri/src/acp/question.rs:271-277 \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 \u0060src-tauri/src/acp/question.rs:234\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":"src-tauri/src/acp/question.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7988c91e6d8db955c45de927098a91e1e8454577155b97e85c342d0b328dcf00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/acp.rs:15411-15416 | src-tauri/src/commands/acp.rs:15501-15506 \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 \u0060src-tauri/src/commands/acp.rs:15411\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4511b4d4fc8f06788623c3ea9c7041f0d10727017cfd6195230760c8679d5668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:6110-6114 | src-tauri/src/commands/acp.rs:15207-15212 \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 \u0060src-tauri/src/commands/acp.rs:6110\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9e3e8825db9b1c62e435fc04c57a7d69372f896c6751db025a181d6f6383b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/connection.rs:18986-18991 | src-tauri/src/acp/connection.rs:20326-20331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18986}}}],"partialFingerprints":{"codehealthFindingId/v1":"76897e67ab038fbc7097ca9048f259c0d27c199f6a7889ead296b979ea47409b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/work_task/git.rs:48-53 | src-tauri/src/work_task/git.rs:64-69 | src-tauri/src/work_task/git.rs:284-289 \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 \u0060src-tauri/src/work_task/git.rs:48\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":"src-tauri/src/work_task/git.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cda7ee40cb3539d554696dfe8c7872cbc65bb41bd453f69f8bc5bafa31d045e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/opencode.rs:318-323 | src-tauri/src/parsers/opencode.rs:502-506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"83645ea17013911971ce3ff9d7822523d224cebf09b678438b0b4a5d6d4f34d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/windows.rs:1117-1122 | src-tauri/src/commands/windows.rs:1183-1188 \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, \u0060src-tauri/src/commands/windows.rs:1180\u0060 calls \u0060filter\u0060, \u0060trim\u0060, \u0060is_empty\u0060 and \u0060src-tauri/src/commands/windows.rs:1114\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a916d6b41a76b8ed0ce7d4e622ede6db5e8eae49381dcbc9607fbafaf802da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/codex.rs:3554-3559 | src-tauri/src/parsers/codex.rs:4209-4213 \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 \u0060src-tauri/src/parsers/codex.rs:3554\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":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb71ba7470e3886f17ba1dd846f600c2c07cbc320b0662bef0192556de00264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/acp/opencode_catalog.rs:107-112 | src-tauri/src/chat_channel/backends/weixin.rs:225-230 \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 \u0060src-tauri/src/acp/opencode_catalog.rs:107\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":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"622f092aa1d0cc5fbb0d3ed134fd7fcefa825090c843c018f93d37cb2d8f5fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/folders.rs:1489-1494 | src-tauri/src/commands/folders.rs:1674-1679 \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 \u0060src-tauri/src/commands/folders.rs:1489\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":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf97e5f30d3afed013a81fca45c6673d49a43e6c89ba335a5f4b974ba46e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/cursor_ext.rs:115-119 | src-tauri/src/acp/question.rs:519-523 \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 \u0060src-tauri/src/acp/cursor_ext.rs:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e81e66fad5133b8ab22143ddab3ee7fc67e99cd88f1a2f3e9fe28cb49939ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src-tauri/src/commands/browser.rs:1304-1308 | src-tauri/src/commands/browser.rs:2364-2368 | src-tauri/src/commands/browser.rs:3653-3657 \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 \u0060src-tauri/src/commands/browser.rs:1304\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":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfa587192850f9a2ca55bd8d2d9cb8c9eace84de65832cb12ca9c247eb95ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/db/service/work_task_service.rs:2211-2215 | src-tauri/src/db/service/work_task_service.rs:2336-2340 \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 \u0060src-tauri/src/db/service/work_task_service.rs:2211\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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b39156079b948f7b842323552908423f9ee7f646e029c582d074337ab7d256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:5437-5441 | src-tauri/src/commands/acp.rs:5473-5477 \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 \u0060src-tauri/src/commands/acp.rs:5437\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba7fa8778ef2350c1688a65d2f3d3d1a212e06593e72acbf80acb4b0de477fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:13217-13221 | src-tauri/src/commands/acp.rs:13586-13590 \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 \u0060src-tauri/src/commands/acp.rs:13217\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":"src-tauri/src/commands/acp.rs"},"region":{"startLine":13217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef680868bf2f044f6548f1f734921df9631c295b00a44343c0ff595bcc8920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:2009-2013 | src-tauri/src/acp/delegation/companion.rs:4440-4444 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4334e8cec3d96912009546bee2046032a941d56358a017b3c80ddf900e3dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src-tauri/src/commands/windows.rs:693-697 | src-tauri/src/commands/windows.rs:1028-1032 | src-tauri/src/commands/windows.rs:1245-1249 \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 \u0060src-tauri/src/commands/windows.rs:693\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":"src-tauri/src/commands/windows.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1865984ca6bb4698e827430f78ed57488bd6123fb5f52c28b34830ad6c99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:10761-10765 | src-tauri/src/commands/acp.rs:10792-10796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10761}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acf1f2456011a53d7f46e4dece9575fadca91b73b410a5f3b3fc24739ebe746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/acp.rs:5587-5591 | src-tauri/src/commands/acp.rs:9790-9794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5587}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cca78bb593e99a4acde4c695c316693b0c1cf6598cf82b19d224696add2a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/codex_endpoint_catalog.rs:796-800 | src-tauri/src/cli_run/shim.rs:298-302 \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":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5dac470cdbe4dc25823840183552e51ad5763d6558a7fe59aaa75d5a9d88a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/acp/delegation/companion.rs:2424-2428 | src-tauri/src/acp/delegation/companion.rs:3095-3099 \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 \u0060src-tauri/src/acp/delegation/companion.rs:2424\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":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":2424}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeb585d23393102e4d95e5e91649bd441f7b9bae9c0bc6d8d5f8dbd23e268b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/db/service/token_usage_service.rs:617-621 | src-tauri/src/db/service/token_usage_service.rs:714-718 \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, \u0060src-tauri/src/db/service/token_usage_service.rs:613\u0060 calls \u0060is_empty\u0060, \u0060Ok\u0060 and \u0060src-tauri/src/db/service/token_usage_service.rs:713\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":"src-tauri/src/db/service/token_usage_service.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4a3787a1313ae014efb9a86522d40be30a9938c54a95c265c4b5a74af0f5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/forge/gitea.rs:438-442 | src-tauri/src/forge/github.rs:714-718 \u2014 before extracting anything, compare \u0060src-tauri/src/forge/gitea.rs\u0060 and \u0060src-tauri/src/forge/github.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/forge/gitea.rs:438\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":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b6c84d0c657eee2868d546bbbfcd3aa1e1201cc7c1a3650c701a47c9ffdfcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/parsers/kiro.rs:687-691 | src-tauri/src/parsers/qoder.rs:947-951 \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":"src-tauri/src/parsers/kiro.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9faaf784326b47eda087ed7d266b1bfcfb95142c30d03664db7a7c0fca445df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/update/install.rs:193-197 | src-tauri/src/update/install.rs:1263-1267 \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 \u0060src-tauri/src/update/install.rs:193\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":"src-tauri/src/update/install.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410f96918905e2cce9704ff91f15bfb5f5e340b1b2ce68caba436c7190934f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/web/handlers/files.rs:1010-1014 | src-tauri/src/web/handlers/workspace_files.rs:276-280 \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 \u0060src-tauri/src/web/handlers/files.rs:1010\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":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"4989729df2710c1ba468eda583cf38fe5265f30dc192a2653515bb35d1307d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): src-tauri/science/skills/scientific-schematics/scripts/generate_schematic.py:44-77 | src-tauri/science/skills/scientific-schematics/scripts/generate_schematic_ai.py:114-148 \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":"src-tauri/science/skills/scientific-schematics/scripts/generate_schematic.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6e38d0a66a3c615eb6ae860a081cdea018b000715ec83abf3fdfa45461b067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201331 lines \u00D7 2): src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:163-193 | src-tauri/science/skills/citation-management/scripts/search_openalex.py:266-276 \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 \u0060src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:163\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":"src-tauri/science/skills/citation-management/scripts/search_google_scholar.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccf7bac0d84cf3f7b008fa769ec8c9e4805a34e3b72564e1cce60c20e632b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:178-207 | src-tauri/science/skills/peer-review/scripts/_common.py:151-180 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45663a074d2036ec6d391d010e6dfeee8f2c0029059cf0cca8c07d844660b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:31-54 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:31-54 | src-tauri/science/skills/exploratory-data-analysis/scripts/tabular_profile.py:32-55 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:31\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":"src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6111da5dcfe1da9074db0975ad841449644850f0ddda996cb9fdf2ccf010b9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:237-259 | src-tauri/science/skills/citation-management/scripts/search_pubmed.py:409-429 \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 \u0060src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:237\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":"src-tauri/science/skills/citation-management/scripts/search_google_scholar.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3320ef5bdb7d7964844764d92ed5cec0c4d6b2cb398fbe3a835ff1f2c6a4932a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:81-100 | src-tauri/science/skills/peer-review/scripts/_common.py:66-85 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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 before the matched lines, \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py:80\u0060 calls \u0060_reject_url_like_path\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py:64\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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"01607b16320889decd4ed6a769a82cee8021f37e950618412b16b9e1a2d6f9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:389-408 | src-tauri/science/skills/peer-review/scripts/_common.py:350-369 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5d84b11d281974f126be317e105f8ccae680f62e00648ae5ed0c853919c16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 6): src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:21-39 | src-tauri/science/skills/exploratory-data-analysis/scripts/eda_analyzer.py:50-68 | src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:29-46 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:21-39 | src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py:32-50 | src-tauri/science/skills/exploratory-data-analysis/scripts/tabular_profile.py:22-40 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:47\u0060 calls \u0060add_argument\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:39\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":"src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8925cb4668528d683692cb7400e04de0ebe1105ef4d14463c926de881cc09bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:55-73 | src-tauri/science/skills/peer-review/scripts/_common.py:41-59 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"336adcb59cdbbdf01344c9c3ebad5ca0c87a8415c17c0e944e89fcd81da5fa3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 7): src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py:52-66 | src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:26-40 | src-tauri/science/skills/exploratory-data-analysis/scripts/eda_analyzer.py:55-69 | src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:34-46 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:26-40 | src-tauri/science/skills/exploratory-data-analysis/scripts/sequence_inspector.py:37-51 | src-tauri/science/skills/exploratory-data-analysis/scripts/tabular_profile.py:27-41 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/image_inspector.py:47\u0060 calls \u0060add_argument\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py:66\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":"src-tauri/science/skills/exploratory-data-analysis/scripts/capability_manifest.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d66ca4306619d0beac164f1c290a09ee9ca33fd42710cc511e81366f4da766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py:424-438 | src-tauri/science/skills/hypothesis-generation/scripts/validate_prediction_matrix.py:255-269 | src-tauri/science/skills/peer-review/scripts/audit_citations.py:178-190 \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 \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":"src-tauri/science/skills/hypothesis-generation/scripts/check_falsification_controls.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b836b8f9cfd91a57e87a26718bbdfd15091ad8fe1575ed2d272a0912637ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 4): src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py:251-260 | src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py:313-322 | src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py:485-494 | src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py:518-531 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/scientific-brainstorming/scripts/validate_register.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6751f7a7079b799ae59b3d9e9c75f802c76f5a2f8429578889a46370b3c51f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py:262-274 | src-tauri/science/skills/scientific-visualization/scripts/_common.py:75-86 \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 \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py:262\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":"src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b95507b1931e12207ee12d58b0b0ff39b58f684c064ec8d8dfbefa94cd922a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:257-268 | src-tauri/science/skills/peer-review/scripts/_common.py:230-241 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf39ee0ce71804a29b150635b36d08ab9cdb4fc278134a09807712b0cb0e9713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:31-40 | src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py:204-214 | src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py:246-255 \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 \u0060src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:31\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/science/skills/scholar-evaluation/scripts/check_traceability.py:203\u0060 calls \u0060add_argument\u0060 and \u0060src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:31\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":"src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83154b7bfb2ec38de2eff23175127879dd4a8ae5e0fe98db5c0ed71691ae12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:28-37 | src-tauri/science/skills/scholar-evaluation/scripts/generate_report_scaffold.py:190-201 | src-tauri/science/skills/scholar-evaluation/scripts/summarize_agreement.py:243-252 \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 \u0060src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py:28\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":"src-tauri/science/skills/scholar-evaluation/scripts/calculate_scores.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0696ca3a39ffa241addfedec2196eee48da2c80ba13efb0d9bf7518714a4ab7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:295-304 | src-tauri/science/skills/peer-review/scripts/_common.py:268-277 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0484da29029b4949b9ecef28562831d52db89ddf9e49e75f57f87500c095f41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:73-81 | src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py:84-92 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py\u0060 and \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py:73\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":"src-tauri/science/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d7ee892476de0468aa26bafca7bb44caea888675103b07f8c0f4e68d038ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:341-349 | src-tauri/science/skills/peer-review/scripts/_common.py:313-321 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b1f681b0655dbbfbf1a407c0f9144a869c83d89819b017d85a91707fb454d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:223-230 | src-tauri/science/skills/peer-review/scripts/_common.py:196-203 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa67724bbf98e2e79a32f02b54f7f369cb402c39653e754c7eda871d8496180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/science/skills/scientific-visualization/scripts/export_plan.py:38-45 | src-tauri/science/skills/scientific-visualization/scripts/style_presets.py:296-303 \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":"src-tauri/science/skills/scientific-visualization/scripts/export_plan.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd439deb3ad18797657be3411e5897434944130b624909431e01f57ad45e025b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/citation-management/scripts/extract_metadata.py:469-475 | src-tauri/science/skills/citation-management/scripts/validate_citations.py:567-573 \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":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeeb32c50b3f673d552e240c62c735f8f3958a7c556aff0a0c5d3af9ec435d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/scientific-visualization/scripts/_common.py:56-62 | src-tauri/science/skills/scientific-visualization/scripts/figure_export.py:202-208 \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":"src-tauri/science/skills/scientific-visualization/scripts/_common.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae8b9bf10bb39b769da6f0cdb50bb8d33a518aaf2602bc7cf073ccef06c288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:255-260 | src-tauri/science/skills/citation-management/scripts/search_openalex.py:316-321 | src-tauri/science/skills/citation-management/scripts/search_pubmed.py:425-430 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/citation-management/scripts/search_google_scholar.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"917fc49632902dc822e8275fe3622ace41cfb1b81a74ce8be59bb61ee1a92d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/science/skills/citation-management/scripts/extract_metadata.py:730-735 | src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:255-260 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/science/skills/citation-management/scripts/search_google_scholar.py:251\u0060 calls \u0060metadata_to_bibtex\u0060, \u0060join\u0060 and \u0060src-tauri/science/skills/citation-management/scripts/extract_metadata.py:727\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":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"770295082cb55e54bace0360ad6d27562afff7b35fd627d8cd2e46179b0cb4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/science/skills/citation-management/scripts/extract_metadata.py:246-256 | src-tauri/science/skills/citation-management/scripts/search_pubmed.py:188-196 \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 \u0060src-tauri/science/skills/citation-management/scripts/extract_metadata.py:246\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":"src-tauri/science/skills/citation-management/scripts/extract_metadata.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e04720bb7b699c2f4680f2731430942d75069e6136c7c2c0f1d0e3f502c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:35-40 | src-tauri/science/skills/peer-review/scripts/_common.py:31-36 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c72130fd8b731d701be8aa9ac83b86db8bd24305391e28791a9272707e0c625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:240-246 | src-tauri/science/skills/peer-review/scripts/_common.py:213-219 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"929b5cbf089c4f602037b93004f000921635372d30fd049f94a7eb41690cd4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:278-284 | src-tauri/science/skills/peer-review/scripts/_common.py:251-257 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb5aec25b92fc26c5bb79d658b563effb934918191320c7871f58384a4ab52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:329-335 | src-tauri/science/skills/peer-review/scripts/_common.py:301-307 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda8b9827de78fbb1837461043a88b6d7ff53474e5bc3f154a7ac4e7447562b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/_common.py:414-420 | src-tauri/science/skills/peer-review/scripts/_common.py:375-381 \u2014 before extracting anything, compare \u0060src-tauri/science/skills/hypothesis-generation/scripts/_common.py\u0060 and \u0060src-tauri/science/skills/peer-review/scripts/_common.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac8b3d2845447c16db214e02261e630b27c57dabba4b50f9cbc0794645864c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py:212-223 | src-tauri/science/skills/hypothesis-generation/scripts/lint_causal_claims.py:164-175 | src-tauri/science/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py:1052-1063 | src-tauri/science/skills/peer-review/scripts/audit_statistics_reproducibility.py:280-291 | src-tauri/science/skills/peer-review/scripts/lint_review.py:229-240 | src-tauri/science/skills/peer-review/scripts/validate_claim_evidence.py:196-207 | src-tauri/science/skills/peer-review/scripts/validate_review_intake.py:428-439 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. 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":"src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca2bb0f770bc07443629e4f1fadb5df896885a256f2dc39739dbdfe30e742b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py:227-233 | src-tauri/science/skills/peer-review/scripts/audit_statistics_reproducibility.py:295-301 \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":"src-tauri/science/skills/hypothesis-generation/scripts/check_operationalization.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e939bf6adc1ba3b3091ea3989edc172c5ad06c8c6e6d6660723851c80b98ea34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/science/skills/hypothesis-generation/scripts/generate_preregistration_scaffold.py:355-366 | src-tauri/science/skills/peer-review/scripts/generate_review_scaffold.py:53-64 \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 \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":"src-tauri/science/skills/hypothesis-generation/scripts/generate_preregistration_scaffold.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb03f40e953382a325122d5a1cdd6e3ad9dfa803963730ddf81eb49b342e5fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py:392-397 | src-tauri/science/skills/scholar-evaluation/scripts/_common.py:107-112 \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 \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":"src-tauri/science/skills/exploratory-data-analysis/scripts/_common.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4c63f97882fecda9d6262c2d978017f2e718fd60b260e52b5d8706fe7bf4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/db/test_helpers.rs:29-40 | src-tauri/src/db/test_helpers.rs:47-58 \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 \u0060src-tauri/src/db/test_helpers.rs:29\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":"src-tauri/src/db/test_helpers.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc4a0863bdae33d4addabdcca60ba62c90e639a335370fdb0532b113beedc59"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: says the shortcut waits for computer use to be switched on: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.test.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cfd1c7430ebfc7d71ef91e142e3d04796c6fd4cb4c5744606b25b293493773"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders for a remote-desktop window: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.test.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c3cc10dec12f1986fc836297fb80603d43da420389b2050bb5c4ac186bce50"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: surfaces the last background failure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.test.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"197c5308d49b96f2c038479659d474caeab50b244fe91fba880ac51a9f9baebf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shows the model picker once real models load: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.test.tsx"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6330ab124f24deba116f37e556f53b3889ab7d4611393cabb38b7678b541d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: offers Thinking / Effort / Fast for the saved model\u0027s family: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.test.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4d1011524f0e2fa353bbc2fe7146fd8a157e040f38a7cb8afec7dc9dfab2b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: follows a stop made in another window: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.test.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4039d42273ff7be328ed927da40c9a797ac49268c647c575ca88e4ffc77122fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: survives a mismatch that could not name a remote at all: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-start-dialog.test.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d703d7270d41395b6455f3deb3a97e2f6960b0be009a3b60d2695a092bdc4a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: re-probes an unconfirmed snapshot exactly once, then treats it as not switched: This test starts work it did not wait for (\u0060user\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 600))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.test.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1af2dc9c5d04d7052c2713e53c8b350e6fce8e31e419f732606a5671da805d6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ignores an answer to a request the form moved away from: This test starts work it did not wait for (\u0060user\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 0))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.test.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"08979fb0439dbfd28421ce1fce22fc64a7e682c354ec986eecc13b691585132f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is wired into the shared defineMonacoThemes beforeMount hook: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/lib/monaco-themes.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95ef6898a28fa19b512f4f151bb99d2b539fe8d8ff3672b8d09b463a40f37ad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds readiness waits for older servers that never emit __ready__: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/lib/transport/remote-desktop-transport-lifecycle.test.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dd00b9dde3daa15fe4dcbbf103f67e4818a62a3e6074660be21ddc3a0f528b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resyncs state when a window was first opened while the server was offline: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/lib/transport/remote-desktop-transport.test.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f332f59e5575fcb705d725969803a281c72cb8dd0598d4e747ed9105529711a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases an IPC listener that arrives after its window was destroyed: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/lib/transport/remote-desktop-transport.test.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cfaf8f34d1bb01287977b4a56b03b64e80f5fba05be92c18c6eb67b9447ecc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: toasts a structured backend error with its message: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/hooks/use-connection-lifecycle.send-failure.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e78568e2c9272a04c93f0f52b603756f43a9d098406497182ed0d4d399d09e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: toasts the fallback shape the transport builds for a plain-text 413: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/hooks/use-connection-lifecycle.send-failure.test.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac7a31450cd095c97d6f6f261957a4506fee978320931bc1300ee6744617309"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes TurnBusyError to onTurnInProgress with no toast and no onSendFailed: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/hooks/use-connection-lifecycle.send-failure.test.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a229eb3a837789f408061f85ab42172b00b4bbf16a648b40174e79e9283eccf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stacked layers: back closes only the topmost one: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"src/hooks/use-history-back-dismiss.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a708afe33c32199a2552c050cc183dd4fc34334575d173991e3b972cda2f1b9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: three stacked layers unwind one per back: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 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":"src/hooks/use-history-back-dismiss.test.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc5c33556498e56aa549376003361890cb1e60ccebd8204dd910c3247eded8b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-reads the conversation list after opening the folder: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/workspace/deep-link-bootstrap.test.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"52003454096cf79099450ce9423dc9b2f30ba7a2a034385a6d8a4803393c8d0b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shrugs off a backend that cannot answer: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/workspace/workspace-restore-notices.test.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5b06f601a9e8596cc457e2a9322425c0aeebb7099eb48a4035aa4e82de8803"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends the closing list along with the message: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/tasks/task-deliver-pr-dialog.test.tsx"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d7c21a62cc6e57f0511a5b75d2eb63b56a805b8e6ad511e3571ff14c5825fa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: says nothing extra when the merge starts right away: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/tasks/task-merge-dialog.test.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7846f6fcde8f2d68031be034eab805c8f5c9c0a470c4a99078d6eb16202e04"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not open the detail sheet when a secondary action is clicked: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/tasks/task-row.test.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7637d46d4049497a31b6f9f27d8abfb56ff5f776e1fba9ea09c6ba591394f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the dialog open and shows an error when the typed path is invalid: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 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":"src/components/shared/directory-browser-dialog.test.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75ab34d60fe342f63ca88e2835b0afa8d753a6e86d809fa593f96a633f1d08d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not commit a path when the dialog is cancelled mid-validation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/shared/directory-browser-dialog.test.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a1d0f8a32ae7322b9aea4501120f9f1cfdcea2f67f9f9431c6f62fd851c0a8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies the backend plain_text blob and toasts: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/settings/agent-diagnostics-dialog.test.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c349ee22317c762736ff33e17c7bf726b44a4b084a0270a07db9bcea232fd6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still reports the save when the sync probe itself fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/components/settings/antigravity-config-panel.test.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa77d3a5bf5574bd245c4ccc3b8c77bfe5ef256735f49e0c2d9cf7153ab606f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does NOT poll health and reload when the restart request fails: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/components/settings/backup-settings.test.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa293c74fc21e0f8aa967d885b3d2e030113b1af251427be9649132ac6a92cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rolls the env back when the rules write fails (API-key mode): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 4 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":"src/components/settings/cursor-config-panel.test.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63897c12c2f2db2066f23d54cfa89413a03cf393552865eb8e8c93c0e09c51d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: subscription mode shows the runnable login command and saves login-only env: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/settings/cursor-config-panel.test.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9be4cf5d8568cc92f2654857b28ea5a03fd6577bed3d8ae01ff8685a6e267c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tests each interface\u0027s key the way its SDK would send it: This test sets up 3 test doubles (for example \u0060vi.fn\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":"src/components/settings/kimi-code-config-panel.test.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d854e92b6767d94dabf1ab0a5dd13c92ba2c29d3036863acd194682737458d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves the token through the env channel: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"src/components/settings/qoder-config-panel.test.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fc27b70f413733a64d9958266cc479cc4bd338f1fdcc4c17d91f1ea551d739"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hands the folder the clone opened to onFolderOpened, then closes: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"src/components/layout/clone-dialog.test.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d6fbbe18d0651610cd35332ba63fcf745f262c64c5d2146ec39b7254e8329a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports nothing when the clone fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 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":"src/components/layout/clone-dialog.test.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc2e99266f1dc40e9bc9a91750c86365b7909d4f49b59d26f4834abef854e9b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports to the caller that started a clone, not one that took over mid-clone: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 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":"src/components/layout/clone-dialog.test.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8412da978253cccd028becc0005d3a822ab7740e06521d211346616e3583c759"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: can create anyway, or go and look at the task that holds them: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"src/components/forge/forge-combine-dialog.test.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14c8253defd090f392caecdd369ad5d97c4e6cd6497f9984e2e9cb57fae5ee2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: follows the panel to another item: This test sets up 9 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/forge/forge-issue-detail-sheet.test.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea01dea5fb62273232cd0582b339a4841826c8b4f6c31e15f880c838ffa84c77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not re-fetch when the row object is merely replaced: This test sets up 9 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/forge/forge-issue-detail-sheet.test.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af26c5afa2917741847bfffaa617983486a4b86e28bcd083934f43467295375"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is asked for only on a proposed change: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/forge/forge-issue-detail-sheet.test.tsx"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cf7df5f670f9670980512d2291515908cc023bad321557ade47f2b1fc845ea"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the item rather than a row snapshot: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/forge/forge-issue-detail-sheet.test.tsx"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1507776784b6a6afe48b7501e9adbac8465ec90d29176ba358a864ed9446954"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves the account once for the folder, not once per item: This test sets up 9 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/forge/forge-issue-detail-sheet.test.tsx"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f7edbbaf119c8bb46c58152688626deb50aed839b480a243eff5c1f8a3286"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends a duplicate\u0027s \u0027view existing\u0027 to the board: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/forge/forge-start-dialog.test.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b198d2a07a60aca10ea8f53f5ffe69cd43bf1ac7a8500122b96c3847c0d2fa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies a save that lands while the guest is still being created: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/components/files/doc-guest-preview.test.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64fdba92009f98b8c1c33091e8007e36a16f2370102e8dd0f491dff7a5e77f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the dialog open and reports a rejected target: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/conversations/move-conversation-dialog.test.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf92bf13727d008c4a40158632b6679051b731a94432881133f8959e751e265"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the group id and never toggles the group: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"src/components/conversations/sidebar-folder-group-header.test.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"375a1783056eb074d80f8f86d08cf0e7523a0b2a2077ae1f259a49bca0b367a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invokes the matching handler without toggling the section: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/conversations/sidebar-section-header.test.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6824d927483fc097d265fc799746912f548177ff0888c4a41f9e64053859f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still toggles the section when the header label is clicked: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\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":"src/components/conversations/sidebar-section-header.test.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4278cdca1c707cc892568ef58953204d0c35be1885769c1756354e002c136"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: says nothing about a picture that failed after the sheet was closed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 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":"src/components/browser/browser-screenshot-markup.test.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbf6097213cae0c33333439333e0d83a8c50ad46cdacb0add3b04f06e8ec750"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefetches only the code engine when the browser goes idle: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"src/components/ai-elements/heavy-plugins-warmup.test.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc7082fd74245a353d6a0aafcacdb772d895cc1e8432546fbc897d918bf1be2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels the idle callback on unmount BEFORE it fires (no prefetch): This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"src/components/ai-elements/heavy-plugins-warmup.test.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ad064efc361258aaf0c5eed9e0ad82301087b7734c4dbf2685116bb305e9f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: also warms on first keydown: This test sets up 3 test doubles (for example \u0060vi.fn\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":"src/components/ai-elements/heavy-plugins-warmup.test.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8e00534743fb5e32d71a9c47c24e0a996cc932e24a03389cf1d29d198bcd82"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes the input listeners on unmount so a later interaction is inert: This test sets up 3 test doubles (for example \u0060vi.fn\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":"src/components/ai-elements/heavy-plugins-warmup.test.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c3664dd61c71a0dd8faf9685770f1a9202adac634a8b65dc5c46cafacd0f3c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: survives a parent re-render that swaps handler identities mid-flight: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 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":"src/components/ai-elements/link-safety.test.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1a6cf7d63f347e54e0b19fc96fcca1be736a810702fe5a2f3619dc8f0700db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/acp-agent-settings.tsx: src/components/settings/acp-agent-settings.tsx changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 797 in acp-agent-settings.AcpAgentSettings at line 4973. 18 of those changes were fix/bug commits, and the other 35 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/acp-agent-settings.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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4973}}}],"partialFingerprints":{"codehealthFindingId/v1":"962437f3e9b5369f2c40925fc736146b9ee650b7917e839ae2583e125847c314"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/contexts/acp-connections-context.tsx: src/contexts/acp-connections-context.tsx changed 69 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 489 in acp-connections-context.AcpConnectionsProvider at line 3902. 30 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/contexts/acp-connections-context.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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be96ab05945204dc45767801cef2ed140bd602584140b87e63d1fb65797d586"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/connection.rs: src-tauri/src/acp/connection.rs changed 195 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 144 in codeg::acp::connection::emit_conversation_update at line 25481. 94 of those changes were fix/bug commits, and the other 101 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/connection.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":25481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85c690503b013adab5803b2fc77e1dadaf1a6fda932160b937eb02655be274"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/contexts/workspace-context.tsx: src/contexts/workspace-context.tsx changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 454 in workspace-context.WorkspaceProvider at line 635. 18 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/contexts/workspace-context.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":"src/contexts/workspace-context.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddc55d830839b06c161f766d5fed5eb020acad02e1c857a94f41651eca59a69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/conversation-detail-panel.tsx: src/components/conversations/conversation-detail-panel.tsx changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 191 in conversation-detail-panel.ConversationTabView at line 271. 31 of those changes were fix/bug commits, and the other 31 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/conversation-detail-panel.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":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2487b965c4a5394d2dbba331a424e0b9a580bb5fb557df4f57e9be06633547d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/message-input.tsx: src/components/chat/message-input.tsx changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 269 in message-input.MessageInput at line 332. 22 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/message-input.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":"src/components/chat/message-input.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1d72036266d87a4e5ff1dc8e79aabc9200a9925205208f0332e54243b3326f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/lib.rs: src-tauri/src/lib.rs changed 127 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in codeg::tauri_app::run at line 543. 33 of those changes were fix/bug commits, and the other 94 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc01a92e9c28ff2741665d9c22411065b9cf3c3a5a084f03d419d809f2a5eb5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/codex.rs: src-tauri/src/parsers/codex.rs changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 219 in CodexParser::parse_conversation_detail at line 3241. 23 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/codex.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ddd9e5d0dd9a2579e5afa5b9c60b1201e6896af0cacc9679b8926323b67b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-conversation-list.tsx: src/components/conversations/sidebar-conversation-list.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 261 in sidebar-conversation-list.SidebarConversationList at line 961. 8 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-conversation-list.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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a9420b807d00f3983bec8338f00306318a7ffd12f9863ea21631366c37beef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/conversation-runtime-store.ts: src/stores/conversation-runtime-store.ts changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 145 in conversation-runtime-store.reducer at line 2363. 31 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/conversation-runtime-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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec81d37c3dd9e98ccb8ab0137d46ae0d7350a14555e216734141772610eef18b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/message-list-view.tsx: src/components/message/message-list-view.tsx changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in message-list-view.MessageListView at line 1525. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/message-list-view.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":"src/components/message/message-list-view.tsx"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"56de824adb41d0abdb337a79e9177ad2ec321141c6b0d291044b86570d09f0ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/tab-store.ts: src/stores/tab-store.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 289 in tab-store.useTabStore at line 1640. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/tab-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":"src/stores/tab-store.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e919b04cc8bd9e39d31b70d839360ae1f9bba68c4cc319ddd682be050ace4a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/session_state.rs: src-tauri/src/acp/session_state.rs changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in SessionState::apply_event_inner at line 1206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/session_state.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c653cfad851b295ade6253881d38f04ab7be63923012b89773aa432de1b0cc7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/forge/forge-page.tsx: src/components/forge/forge-page.tsx changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 177 in forge-page.ForgePage at line 630. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/forge/forge-page.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":"src/components/forge/forge-page.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e2694e55eff34b4387f7fd45a95174ecdede8fe1ec32baf90b309196494a22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/acp.rs: src-tauri/src/commands/acp.rs changed 95 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codeg::commands::acp::acp_list_agents_core at line 12785. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/acp.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12785}}}],"partialFingerprints":{"codehealthFindingId/v1":"602a4b48329052a70fb27185a5b6c0e879448a4379938ad911aaad682a62c946"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/file-workspace-panel.tsx: src/components/files/file-workspace-panel.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 176 in file-workspace-panel.FileWorkspacePanelBody at line 779. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/file-workspace-panel.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":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"64afcbd0e4cbad0fbc2d832c177c300892323a5f5d758f10473cec7cde54b878"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/aux-panel-file-tree-tab.tsx: src/components/layout/aux-panel-file-tree-tab.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 271 in aux-panel-file-tree-tab.FileTreeTab at line 1136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/aux-panel-file-tree-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8660d209babd7e3f8606692067913be5863402d6c1adae43d143ee92156c91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-detail-sheet.tsx: src/components/tasks/task-detail-sheet.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 166 in task-detail-sheet.TaskDetailSheet at line 219. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-detail-sheet.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":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d41781c714b65300d7d50822c181d0a68f71b5dd9199f37511aa0b776f55c96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/claude.rs: src-tauri/src/parsers/claude.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in ClaudeRecordAccumulator::feed_value at line 2020. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/claude.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"1faad06189bd4182dfad4d153d9669e2addc6f359ca2c769db98322a3cd313c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/canvas/canvas-view.tsx: src/components/canvas/canvas-view.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 241 in canvas-view.CanvasFlow at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/canvas/canvas-view.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":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e0c93529b93f619ed2ec96e4e7b39fa21a7630f1a5a18dc5a7c2b62e7d40a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/browser/smoke.rs: src-tauri/src/browser/smoke.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in codeg::browser::smoke::execute at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/smoke.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebce3b2cc00048d3b2d36e75041d9aae13d799d780350d87ae9262cb5c8da860"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/terminal/terminal-view.tsx: src/components/terminal/terminal-view.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 156 in terminal-view.TerminalView at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/terminal/terminal-view.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":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd093fcc0adc2b30b6a2bd46879b6a20368c0d31c1ded47da167b3de8eb6eb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/delegation/companion.rs: src-tauri/src/acp/delegation/companion.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in codeg::acp::delegation::companion::build_tools_call_spawn at line 877. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/delegation/companion.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"592f0dc9927c127e87f0802320fa504161cc1e9f2b9353a880f15938e2c83384"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/app/workspace/layout.tsx: src/app/workspace/layout.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in layout.FolderWorkspaceShell at line 779. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/app/workspace/layout.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":"src/app/workspace/layout.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e765f5952d448e52d648baf1c08a06ddbe96c86c7688d6217599c1fe137575c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/work_task/engine.rs: src-tauri/src/work_task/engine.rs changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TaskEngine::launch at line 1279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/work_task/engine.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c93bc8f4bbdffab8d09710101bb9e1c7d42ddf5de3213fa182b4ed93b343a19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/pi-config-panel.tsx: src/components/settings/pi-config-panel.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 175 in pi-config-panel.PiConfigPanel at line 306. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/pi-config-panel.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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b73fa2994ad06d68944c862ebb5b0ea7a52249d338fbccaa2708cb7d9347f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/mcp-settings.tsx: src/components/settings/mcp-settings.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in mcp-settings.McpSettings at line 412. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/mcp-settings.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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa96afa3b0152623c122d378facad8b940853aa55f300e0b61e4e082c42f6130"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-surface-host.tsx: src/components/browser/browser-surface-host.tsx changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in browser-surface-host.NativeSurfaceHost at line 200. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-surface-host.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":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70b4eb49fae6ebd95cb53670a63dd0d274a9e232f7f20f2d0e7584494576cc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/manager.rs: src-tauri/src/acp/manager.rs changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ConnectionManager::send_prompt_linked_full at line 1511. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/manager.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7049aadebefc1067fc837ee552c623d6006e7b230c601d9a3656cc14452cb11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/adapters/ai-elements-adapter.ts: src/lib/adapters/ai-elements-adapter.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in ai-elements-adapter.adaptMessageTurn at line 2452. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/adapters/ai-elements-adapter.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":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a77789cebf9fc568d184006b3a6fc4a5566d6de85b8d6f9d50ec3d4f70b648"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/canvas/canvas-conversation-surface.tsx: src/components/canvas/canvas-conversation-surface.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in canvas-conversation-surface.CanvasConversationSurface at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/canvas/canvas-conversation-surface.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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f97d269af5460c6a1cb99824bb310b3835e18f97325e4eac4be260663dfcba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/mod.rs: src-tauri/src/parsers/mod.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codeg::parsers::infer_context_window_max_tokens at line 1079. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc817fc4a7f897545fdde2a649c46438c16c08446ea0c6155352b120f26bb59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/command-rows.tsx: src/components/message/activity/rows/command-rows.tsx changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in command-rows.CommandDetail at line 357. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/command-rows.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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"13533a63f2b5d1e8dc6325f3009ccbc625cfd7f71834754bd580be114bfbf722"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/appearance-provider.tsx: src/components/appearance-provider.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in appearance-provider.AppearanceProvider at line 399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/appearance-provider.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":"src/components/appearance-provider.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c56f759d04297af89445b3f4fa61d37c740514ae75dbdec8e95825a149e49ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/computer-settings.tsx: src/components/settings/computer-settings.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in computer-settings.ComputerSettingsSection at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/computer-settings.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":"src/components/settings/computer-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"71998fa633ba004bba1816615d0fa25a039972c0479a6405e5d1337e73676ba6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/aux-panel-git-changes-tab.tsx: src/components/layout/aux-panel-git-changes-tab.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 160 in aux-panel-git-changes-tab.GitChangesTab at line 505. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b70e4d734bdcb2e08103903ec977f420ce024ea00008e87e8326a4e9476a257"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/computer/helper/mod.rs: src-tauri/src/computer/helper/mod.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codeg::computer::helper::handle_op at line 816. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/helper/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95e27aa49e50291648f5e85e332d32d38c9111c8a3df41392ba3c41caa01221"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/delegation/listener.rs: src-tauri/src/acp/delegation/listener.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in DelegationListener::serve_one at line 444. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/delegation/listener.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"300fcb8066c56831888c42a0d9c50bb06f6b04175690cf836e2681d2737b2232"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/browser.rs: src-tauri/src/commands/browser.rs changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codeg::commands::browser::open_tab_core at line 284. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/browser.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba2a5ff9345fba137f98bdb73d1a15f105d6e8115f0b99b1dfdc500b955b75f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/tool-call-normalization.ts: src/lib/tool-call-normalization.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in tool-call-normalization.inferFromInput at line 409. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/tool-call-normalization.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":"src/lib/tool-call-normalization.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06bcf1e0927a7bffd42f5585d863bca0c9136cc5873ac0acb3ad818736d438f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/forge/forge-issue-detail-sheet.tsx: src/components/forge/forge-issue-detail-sheet.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in forge-issue-detail-sheet.ForgeIssueDetailSheet at line 2506. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/forge/forge-issue-detail-sheet.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":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d418a784c040f70216705ec0a568756bd774ed63bed3e9bc3b0e0e54596406f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/computer/computer-window-picker.tsx: src/components/computer/computer-window-picker.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in computer-window-picker.ComputerWindowPicker at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/computer/computer-window-picker.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":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af058994020820a5704ac67a260edda84f1a2d6ece80ae6d528f8241bc19af1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/browser/surface_child.rs: src-tauri/src/browser/surface_child.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codeg::browser::surface_child::configure_child at line 898. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/surface_child.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5a97125b8034f96c96a65383eb95f545f394c85c8344746728cb5ea69c2a10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/aux-panel-git-log-tab.tsx: src/components/layout/aux-panel-git-log-tab.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in aux-panel-git-log-tab.GitLogTab at line 1295. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/aux-panel-git-log-tab.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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f55e053be889380da50f9aae4d9d2579559660e9a5f46e54f2c54566bee57d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/completed-turn-content.tsx: src/components/message/completed-turn-content.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in completed-turn-content.CompletedTurnContent 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/completed-turn-content.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":"src/components/message/completed-turn-content.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fa374f13bbae1f2a9cef40af2c1078bed453fd4c6971e03cb31bb449753837"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/delegation-status-row.tsx: src/components/message/delegation-status-row.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in delegation-status-row.DelegationStatusRow at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/delegation-status-row.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":"src/components/message/delegation-status-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9c20449813e48c86917178fdff9bce9a664ccb282ce21f30c712ed13b9f42e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/system-network-settings.tsx: src/components/settings/system-network-settings.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in system-network-settings.SystemNetworkSettings at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/system-network-settings.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":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"692eb8e7297df80b421f861ef6837c37259643aa93cc2db4774a4135e94b3094"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/background_watch.rs: src-tauri/src/acp/background_watch.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in WatchState::account at line 1563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/background_watch.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff22e5f206945afc5b1e6c9d5da7814b989c259e73d0f3b54c3ab689dfe6e760"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/activity-timeline.tsx: src/components/message/activity/activity-timeline.tsx changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in activity-timeline.ActivityTimeline at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/activity-timeline.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":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92a363b06957eb453ef0c3b4d267ad69c65e12cdf8781f56a250e939505b0f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/agent-row.tsx: src/components/message/activity/rows/agent-row.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in agent-row.AgentRow at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/agent-row.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":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2206f9865f7e8b81edcc35176fff535e8a306dbb682f4053f7c31910a40c6fca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/question.rs: src-tauri/src/acp/question.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codeg::acp::question::parse_form_questions at line 1673. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/question.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b22fb6da71633b8335a48d51e40fa4dbcf7ff8a43113109fc8a2bc6ec529cfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/qoder.rs: src-tauri/src/parsers/qoder.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in codeg::parsers::qoder::parse_transcript at line 635. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/qoder.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"394df878667fe2e88ee77dc727bc9656b83cb543132b4a09a17c2b4742607d58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/conversations.rs: src-tauri/src/commands/conversations.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codeg::commands::conversations::import_selected_from_summaries at line 867. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/conversations.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8cac07d520f181ca98a292a5c795174459247de83f1daa4319be692eadb736"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/config-sync-settings.tsx: src/components/settings/config-sync-settings.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in config-sync-settings.ConfigSyncSettings at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/config-sync-settings.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":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b262d40c64b466a9380ac62c18e72ef70fcfada843aa98a6672258d25d1c05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/workspace-chrome-controller.tsx: src/components/layout/workspace-chrome-controller.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in workspace-chrome-controller.WorkspaceChromeController at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/workspace-chrome-controller.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":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a9d239754746f4564664802912d0ee527d0c2a40a7ee7676ebc6c36342f9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/tasks-page.tsx: src/components/tasks/tasks-page.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in tasks-page.TasksPage at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/tasks-page.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":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0129a6cc6b228c03d7df1742ad89c23147a0a4a7915686fad10c7da332cc905"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-conversation-grouping.ts: src/components/conversations/sidebar-conversation-grouping.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in sidebar-conversation-grouping.buildRows at line 1247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-conversation-grouping.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":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0759043c2c9430f955ee487b42f84d978d8f7d2b2597bc1c31f11b4c005147"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-events-bridge.tsx: src/components/browser/browser-events-bridge.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in browser-events-bridge.BrowserEventsBridge at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-events-bridge.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":"src/components/browser/browser-events-bridge.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaa142ad67cb8897400ecf8f532c92713da95f40d4590a1c0b8c0b0270c56a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/deepseek.rs: src-tauri/src/parsers/deepseek.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in codeg::parsers::deepseek::parse_session_events at line 812. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/deepseek.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"68de4e066bd2edde69c4949f3658586ce0333a2aa7d940720e08164e78456dda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/activity-row.tsx: src/components/message/activity/activity-row.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in activity-row.ActivityRow 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/activity-row.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":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5251ab26e5071ab826794eb3d2c4ad0149d305477bd123902edc0d00f41de28a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/commit-dialog.tsx: src/components/layout/commit-dialog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in commit-dialog.CommitWorkspace at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/commit-dialog.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":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"db732ccb79a8694b538702d123765c38ccff2d69efa087a3823b7f313d14cea6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/ask-question-card.tsx: src/components/chat/ask-question-card.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in ask-question-card.AskQuestionCard at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/ask-question-card.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":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeee5db820602a468fc830574d7ce6d4ae922c60014e7db55c1a636f6deff4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/delegation-rows.tsx: src/components/message/activity/rows/delegation-rows.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in delegation-rows.DelegationStepRow at line 174. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/delegation-rows.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":"src/components/message/activity/rows/delegation-rows.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3923992a9b2527cd00f2b5470b7f1876aa1fa28c3a365a833d55e41c64bf85d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-conversation-card.tsx: src/components/conversations/sidebar-conversation-card.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in sidebar-conversation-card.SidebarConversationCard at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-conversation-card.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":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e720ab8f8e2339cb872837c2c1e6d23a67ab6122fed8970a30678b3788d9343c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/computer/helper/act.rs: src-tauri/src/computer/helper/act.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in codeg::computer::helper::act::act_error at line 1583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/helper/act.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cb4ed1b75e45afe0ce6aaa6d23b453c848e51d278f9fb635eeba5412f31776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/bin/codeg_server.rs: src-tauri/src/bin/codeg_server.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codeg::bin::codeg_server::async_main at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/bin/codeg_server.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64be776dac84a6626d3c1527259ccf61a3f408d1f2edf147376c0db6e7ce63d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/command-manage-dialog.tsx: src/components/layout/command-manage-dialog.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in command-manage-dialog.CommandManageDialog at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/command-manage-dialog.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":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b172eb6f367402de79e47ba2e2e73396c250156c1388df18d3f510d8aed142"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/general-settings.tsx: src/components/settings/general-settings.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in general-settings.GeneralSettings 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/general-settings.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":"src/components/settings/general-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c20826ddf2a3a3ce8e1be7c65b049b29a9e1710dab6e5c5482b7be2e6b6f975"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/codeg-mcp-tool-card.tsx: src/components/message/codeg-mcp-tool-card.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in codeg-mcp-tool-card.CodegMcpToolCard at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/codeg-mcp-tool-card.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":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fd6700126e9815e5826f1feaf6d2706f081f6e75abda9b7897cb69615bcc50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/lifecycle.rs: src-tauri/src/acp/lifecycle.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in codeg::acp::lifecycle::code_mode_call_site at line 909. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/lifecycle.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b68dd9d0a6db41773ffc0630bd9e3f946f086ead34cde1ccbba13efd4addfe1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/activity-header.tsx: src/components/message/activity/activity-header.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in activity-header.ActivityHeader at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/activity-header.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":"src/components/message/activity/activity-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74cc46549fd6f6cb1b5a090fa2576ddfaf9c6e180663238e261985622739b26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer/suggestion/suggestion-popup.tsx: src/components/chat/composer/suggestion/suggestion-popup.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in suggestion-popup.SuggestionPopup at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer/suggestion/suggestion-popup.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":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"280233ccc210731cb53168fb60b40478ecaa6bd975a6bf33d11e8367f7cab4b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/delegation-agent-defaults.tsx: src/components/settings/delegation-agent-defaults.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in delegation-agent-defaults.DelegationAgentDefaultsPanel at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/delegation-agent-defaults.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":"src/components/settings/delegation-agent-defaults.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5975870c9962a203484abb9dd6f83f9d269fd43a58fb6a5e4edbd06a1ce66fcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/delegation-card.ts: src/lib/delegation-card.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in delegation-card.codeModeCallSite at line 429. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/delegation-card.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":"src/lib/delegation-card.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"697d8bb6c6c7caeaba5a600934e555e35dfaaa148b93dc67c936e1b474248c36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/token-usage/token-usage-page.tsx: src/components/token-usage/token-usage-page.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in token-usage-page.TokenUsagePage at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/token-usage/token-usage-page.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":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0111bc37c6f826b1fedca7e5aa121c912f4ae4a7a2eb238948982df3e18c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/virtualized-message-thread.tsx: src/components/message/virtualized-message-thread.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in virtualized-message-thread.VirtualizedMessageThreadImpl at line 201. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/virtualized-message-thread.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":"src/components/message/virtualized-message-thread.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba71b79013342c117c8da92032930f4d3f28d14f70a5e183696b47c8421e51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/use-session-feedback.ts: src/hooks/use-session-feedback.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in use-session-feedback.useSessionFeedback at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-session-feedback.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":"src/hooks/use-session-feedback.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f189400f955c6458757c94f498fb7e938f80ee65c9917d1992c0b71add3c2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/branch-dropdown.tsx: src/components/layout/branch-dropdown.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in branch-dropdown.BranchDropdown at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/branch-dropdown.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":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80b83a51e92bafec1e65b7f53ce219a11c66676394f1bf878935461e9389236"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/grok.rs: src-tauri/src/parsers/grok.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in codeg::parsers::grok::parse_updates at line 689. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/grok.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e47c8700754d8ef5c73724bdf713f9edba0e091b72f3ff467b4b5e31e9d51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/diff/unified-diff-preview.tsx: src/components/diff/unified-diff-preview.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in unified-diff-preview.parseUnifiedDiff at line 271. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/diff/unified-diff-preview.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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0d9be66e6b92209c89d8c6e1983d1a6367a2308e36de77c3eb89f80402eb02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/shared/directory-browser.tsx: src/components/shared/directory-browser.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in directory-browser.DirectoryBrowser at line 138. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/shared/directory-browser.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":"src/components/shared/directory-browser.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e34b4ca95a37513fd89c7414accd2cfc588d7e9ecec09f729ab92e37ce5890"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/status-bar-computer.tsx: src/components/layout/status-bar-computer.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in status-bar-computer.ComputerPopover at line 173. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/status-bar-computer.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":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8c4d12d92017c98b13914006072dd1637b0556db9a09f014d6a616948a9d5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/browser/shim/windows.rs: src-tauri/src/browser/shim/windows.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codeg::browser::shim::windows::on_event at line 500. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/shim/windows.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"243e44e51c07054ae5f082ce3f6b47b682e07bc5adbb231f66e8fcbd7b0ca1e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-deliver-pr-dialog.tsx: src/components/tasks/task-deliver-pr-dialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in task-deliver-pr-dialog.TaskDeliverPrDialog at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-deliver-pr-dialog.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":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16022df5fffe3f9794d056dfd7d094885a743646877226d68a9adc4d501c52c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/turn-stats.tsx: src/components/message/turn-stats.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in turn-stats.TurnStats at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/turn-stats.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":"src/components/message/turn-stats.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a0e08ed028c2d194b5a4943e624fede33ea559364c465004473de887af6157"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/codex-visualize-card.tsx: src/components/message/codex-visualize-card.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in codex-visualize-card.CodexVisualizeCard at line 436. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/codex-visualize-card.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":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73441e914d642ae6d1a5f8011cf1824add7543cde9634828c8414f3a33d1fd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/codex-model-list-editor.tsx: src/components/settings/codex-model-list-editor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 101 in codex-model-list-editor.CodexModelListEditor at line 246. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/codex-model-list-editor.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":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd5d88b4803e134e69e32d9db36ec57ed217c1ec6f071f9a686ba8799bc803"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/remote_proxy.rs: src-tauri/src/commands/remote_proxy.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codeg::commands::remote_proxy::run_ws_connection at line 1885. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/remote_proxy.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e0efaeb1438775afe38cd66b661ab408597942ab2300d01bf3ddc80c112d6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/activity/describe-tool-call.ts: src/lib/activity/describe-tool-call.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in describe-tool-call.toolStepKind at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/activity/describe-tool-call.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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787d66c6451403f89c97ab95a4da34723f37ea249862271ae9cb408f6599703"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/activity/build-activity.ts: src/lib/activity/build-activity.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in build-activity.collectSteps at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/activity/build-activity.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":"src/lib/activity/build-activity.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0af2cfcb525f69474faf0e5d9859e83c0cac968d8095a9efdf8a541bf0fd3db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-editor-dialog.tsx: src/components/tasks/task-editor-dialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in task-editor-dialog.TaskEditorBody at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-editor-dialog.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":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"660232376c6aef3ab1fa06dd6459d48ddb7d6f7589d76169d3646ea7f919917b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/app-workspace-store.ts: src/stores/app-workspace-store.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in app-workspace-store.useAppWorkspaceStore at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/app-workspace-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":"src/stores/app-workspace-store.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bd7523fc5383d60937f532794d88cf7c49e0cc7557112b7a9f1d9498d850af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/opencode.rs: src-tauri/src/parsers/opencode.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codeg::parsers::opencode::normalize_tool_call at line 1635. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/opencode.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"a558ddcbc92b28e60c7f8799dca9e12b5bc9ef44e251a2f26f46337588baa013"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/file-workspace-tab-bar.tsx: src/components/files/file-workspace-tab-bar.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in file-workspace-tab-bar.FileWorkspaceTabItem at line 373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/file-workspace-tab-bar.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":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4e2f74da763ec92c574a43cd69b908134faeab4ec2e0f57a29b8aed32fa63a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-status-layer.tsx: src/components/browser/browser-status-layer.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in browser-status-layer.BrowserNoticeBar at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-status-layer.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":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8a90820cd6fc45dbc752688a431ec012aafdb0c808e4161f6b7b6474b47a77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/browser-settings.tsx: src/components/settings/browser-settings.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in browser-settings.BrowserSettings at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/browser-settings.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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7a63621cd4856a20a06aa8c2fa52fae5b1daaa32f5ad70ef1b24f8d2149ea3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tabs/tab-bar.tsx: src/components/tabs/tab-bar.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in tab-bar.TabBar at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tabs/tab-bar.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":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0112a0d036270d74d0193a13516d314559a91aa6ebaf5ab131c877e40816da95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/automations/automation-editor.tsx: src/components/automations/automation-editor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in automation-editor.AutomationEditor 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/automations/automation-editor.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":"src/components/automations/automation-editor.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60425a8c47f41aeb00df1fc0d8d3a3f76e328f1c3ff0476bdfb03d32fcd47cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/cursor-config-panel.tsx: src/components/settings/cursor-config-panel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in cursor-config-panel.CursorConfigPanel at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/cursor-config-panel.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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a013d394a3a2af37205040a8d51948eaf2cc83b2b4ebd5d0858cd5eff1539fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/branch-selector-list.tsx: src/components/layout/branch-selector-list.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in branch-selector-list.BranchSelectorList at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/branch-selector-list.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ba53ec574d30307477360190ef4a7cee11be91da1badefe0401dc517ba5906"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/sidebar.tsx: src/components/layout/sidebar.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in sidebar.Sidebar at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/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":"src/components/layout/sidebar.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59211ddbae5f8d3c1888f2c6ec95030b49c1ee5d512356aa1561a32b9289438"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/opencode-connect-dialog.tsx: src/components/settings/opencode-connect-dialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in opencode-connect-dialog.OpenCodeConnectDialog at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/opencode-connect-dialog.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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b803ef84008e91c291c0dd62df836a631bdf353d26c860711862e4b0f9007aba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-toolbar.tsx: src/components/browser/browser-toolbar.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in browser-toolbar.BrowserToolbar at line 179. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-toolbar.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":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a3fe6b177894966848eb20d6059ec9c595f4ed4a6ddc222bc2cfbfb925f521"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/contexts/terminal-context.tsx: src/contexts/terminal-context.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in terminal-context.TerminalProvider at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/contexts/terminal-context.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":"src/contexts/terminal-context.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbc1dceafa2ddd1d9c556d464c6712282c5f80d1805cc3cd5e94235c2acb58d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/agent-tools-settings.tsx: src/components/settings/agent-tools-settings.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in agent-tools-settings.AgentToolsSettingsSection at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/agent-tools-settings.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":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c42233b535de35cacab9232e6c38f55d236a6cd648f702b93055691e0144b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/session-details-content.tsx: src/components/conversations/session-details-content.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in session-details-content.SessionDetailsContent at line 512. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/session-details-content.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":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e5ba23341e36aaf4aaa254a661b9bc9abd8da8382421ced92acc93ed319aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/acp_native.rs: src-tauri/src/parsers/acp_native.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codeg::parsers::acp_native::apply_update at line 697. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/acp_native.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/acp_native.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f464a5106f9e2b94f44f21a3ad46998bf29ed67c346ae32dc251e51d31041"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer/rich-composer.tsx: src/components/chat/composer/rich-composer.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in rich-composer.RichComposer at line 254. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer/rich-composer.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":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4759996399d19207c8cbcc0705c5116ec86353a00e1ca0870e3212ceb72eb25a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/use-connection-lifecycle.ts: src/hooks/use-connection-lifecycle.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in use-connection-lifecycle.useConnectionLifecycle at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-connection-lifecycle.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":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1afa7ff7c4b5e1d198dcf36cee4214f390de44544c43229004477dc589cfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/permission-dialog.tsx: src/components/chat/permission-dialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in permission-dialog.PermissionDialog at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/permission-dialog.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":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ee2a09fccb03349521fdace350e9a4e5fa761b36e79f9f5fdb7ebe37fe61f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/kimi_code.rs: src-tauri/src/parsers/kimi_code.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codeg::parsers::kimi_code::parse_wire at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/kimi_code.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"16544a29a9355cd19cd4b77fa2bfdff06ce8863772faf1b1860f481d06eee09f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/codebuddy.rs: src-tauri/src/parsers/codebuddy.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CodeBuddyParser::parse_detail at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/codebuddy.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b08859d8d2e214fcf0625573f5c47ff7ddf55349fa0b02a9002bcd42c97a16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/computer/computer-indicator.tsx: src/components/computer/computer-indicator.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in computer-indicator.ComputerIndicator 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/computer/computer-indicator.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":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ed06bccfe48911de2ae56843e44b7ee676b11db998250151cabc12b050c147"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/antigravity.rs: src-tauri/src/parsers/antigravity.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codeg::parsers::antigravity::project_steps at line 820. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/antigravity.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c12993eb7fa5c3e9c4a18e44583a449938b7a1d694357adfcbfe808e040b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/file-workspace-header.tsx: src/components/files/file-workspace-header.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in file-workspace-header.FileWorkspaceHeader at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/file-workspace-header.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":"src/components/files/file-workspace-header.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef1b452ba5b6a458cdbdf6f9f3f4e50ea5e745ea45cb5e317c7cedb8e3a6fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/status-bar-update.tsx: src/components/layout/status-bar-update.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in status-bar-update.StatusBarUpdate at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/status-bar-update.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":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2557d62f16119c7c2aeb9f2bc728c70cd59c671a5baa70eaac638127f03e4cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/backup-settings.tsx: src/components/settings/backup-settings.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in backup-settings.BackupSettings at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/backup-settings.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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4460bd9e8ec854bfc2843227e6be0b720887d73828f2f2f42fb5c04c9716c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-settings-dialog.tsx: src/components/tasks/task-settings-dialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in task-settings-dialog.TaskSettingsBody at line 189. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-settings-dialog.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":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb17fc36065cdcdc3f6824e60c28dfc3fa48695167428862539da5d9078e43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-tab-view.tsx: src/components/browser/browser-tab-view.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in browser-tab-view.NativeBrowserTabView at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-tab-view.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":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf57f05104cf14cae3a941f22536427f11e6c663583766dec7f745135fc46d97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-card.tsx: src/components/tasks/task-card.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in task-card.TaskCard at line 411. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-card.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":"src/components/tasks/task-card.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"00728612c3c6db40aded32a47b7eeae6c740ab709f16ddd79f12b66352a78768"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/canvas/canvas-model.ts: src/components/canvas/canvas-model.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in canvas-model.deriveFlowGraph at line 891. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/canvas/canvas-model.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":"src/components/canvas/canvas-model.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed323298c88bd21ac1a9a79329455ef541644a0cf216b15b17bf610bffa0c34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/edit-row.tsx: src/components/message/activity/rows/edit-row.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in edit-row.EditRow at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/edit-row.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":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ea2f9afb0984f29a34a610d388196a1e4b90a2e47f93b5435dc3d7b698c0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/browser/channel.rs: src-tauri/src/browser/channel.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codeg::browser::channel::handle_message at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/channel.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/channel.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"845b94848d988b5ffba58883bd0f077f129c7b22b41b8347f3015618f2a558f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/step-visuals.tsx: src/components/message/activity/step-visuals.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in step-visuals.toolIcon at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/step-visuals.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":"src/components/message/activity/step-visuals.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d7be478214a31605adefb258ccf834cc20b86dd28923815906bdc16bc2a350"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/status-bar-mcp.tsx: src/components/layout/status-bar-mcp.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in status-bar-mcp.StatusBarMcp at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/status-bar-mcp.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":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d358d7213a0a6011f9b1dd8039c428a3443929faa7e7645f2756b636b79cbbcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/generic-row.tsx: src/components/message/activity/rows/generic-row.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in generic-row.GenericRow at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/generic-row.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":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4b42ef659deea8894e9e3cb63aa56e015d87ea63bbc1e6e21809559f0612e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/command-dropdown.tsx: src/components/layout/command-dropdown.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in command-dropdown.CommandDropdown at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/command-dropdown.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":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1944804239bebd706c165f86f8b9f0bef8e8fee785a811a994bc52ba745d2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/forge/forge-issue-row.tsx: src/components/forge/forge-issue-row.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in forge-issue-row.RowChecksMark at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/forge/forge-issue-row.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":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed827865e26d9fe858a8981f72d210138b823c2a0aa76515789d012e20da6844"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/adapters/tool-kind-classifier.ts: src/lib/adapters/tool-kind-classifier.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in tool-kind-classifier.isAgentLikeToolName at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/adapters/tool-kind-classifier.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":"src/lib/adapters/tool-kind-classifier.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0b33232221c7d9b96f91d158f6d6279a6dfa3be0abdf901de4ed7ad12c0d2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/deepseek-model-list-editor.tsx: src/components/settings/deepseek-model-list-editor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in deepseek-model-list-editor.DeepSeekModelListEditor at line 302. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/deepseek-model-list-editor.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":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a0314b54dd6ec58649d40d728650417eb83f06a2f86904eb369c664a943ef0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/computer/targets.rs: src-tauri/src/computer/targets.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codeg::computer::targets::resolve at line 1689. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/targets.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/targets.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eedbec8e94c9465c803988a01459bcad05678357fa7c37cafda5a1e1a8691e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/goal-tool-call.tsx: src/components/message/goal-tool-call.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in goal-tool-call.GoalCard at line 212. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/goal-tool-call.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":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7212b38c40b139d7c20413ad7435ac50c00e7767836958747122be7192ad078a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/pi.rs: src-tauri/src/parsers/pi.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codeg::parsers::pi::parse_session at line 559. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/pi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe21a8c0b2400bc516f5b7d5a22033827e0584a02da5593f7f7d485832fdb0f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/kimi-code-config-panel.tsx: src/components/settings/kimi-code-config-panel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in kimi-code-config-panel.KimiCodeConfigPanel at line 479. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/kimi-code-config-panel.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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f080099e96e8ee5454d41a0e510e48b8c2c7db934ea160594aa075717baebe1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/custom-skills-settings.tsx: src/components/settings/custom-skills-settings.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in custom-skills-settings.CustomSkillsBody at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/custom-skills-settings.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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21e566b5822729609b5a512f4ce7b3f5bc637c6c158845c7a3cb4c99808bb75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/web/handlers/folders.rs: src-tauri/src/web/handlers/folders.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codeg::web::handlers::folders::open_settings_window at line 476. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/handlers/folders.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/folders.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e0782e6c5b8c9ef06bd5b0b40fa40ded11586ba74d96b6e223c84ccc6a1bfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-agent-access.tsx: src/components/browser/browser-agent-access.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in browser-agent-access.BrowserAgentShareControl at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-agent-access.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":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da1b08ba56f73fd4d1ce4f60e023cc18ddd5b732bbe2d5dbbc5e06103c141cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/providers/update-provider.tsx: src/components/providers/update-provider.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in update-provider.UpdateProvider at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/providers/update-provider.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":"src/components/providers/update-provider.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076a1933ecc9f593bba75a8aabe8d0bf76b4c537f36ffe58d1a74785222bce0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/acp/delegation/broker.rs: src-tauri/src/acp/delegation/broker.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in DelegationBroker::start_delegation_inner at line 2484. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/delegation/broker.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b562f280ad233bfdbf29aa1719c77013626fb1e9bf0077a9e2d2b80033d9ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-page-handoff.tsx: src/components/browser/browser-page-handoff.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in browser-page-handoff.BrowserSendToChatControl at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-page-handoff.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":"src/components/browser/browser-page-handoff.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89a8e9fe22e4bc412ebae4564eca3e4ab489eeb03f09737ddecdeb60fb5e495"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer-context-usage.tsx: src/components/chat/composer-context-usage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in composer-context-usage.ComposerContextUsage at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer-context-usage.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":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3188add43243b6eec62b9193e3f83f3b46f0a83f212ecac7ac98ad2354f54c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/ask-question-result-card.tsx: src/components/message/ask-question-result-card.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ask-question-result-card.AskQuestionResultCard at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/ask-question-result-card.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":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e698bad9c69bce070cef09b7fc7ee2c68185feebd1489c34f5a41dcf1f6a9bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/edit-model-provider-dialog.tsx: src/components/settings/edit-model-provider-dialog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in edit-model-provider-dialog.EditModelProviderDialog at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/edit-model-provider-dialog.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":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a2429b56b26fb4fe0f45a0239089c2c935518c59d300e1a3cfc2816be3601b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/agent-selector.tsx: src/components/chat/agent-selector.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in agent-selector.AgentSelector 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/agent-selector.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":"src/components/chat/agent-selector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"db51e21dc6494d62143d5a58d6d0da040482ef70afb8e5764649b92b2ee2c2bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/conversation-message-nav.tsx: src/components/message/conversation-message-nav.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in conversation-message-nav.VirtualRows at line 353. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/conversation-message-nav.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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b607fc91f7f3cf4b250192dcd315e559f77d8609c3de2273ed4292632fb11f5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/antigravity-config-panel.tsx: src/components/settings/antigravity-config-panel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in antigravity-config-panel.HeadlessSignIn at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/antigravity-config-panel.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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba0c617074e90e2f38d9479a9cd1a8d3cd128b44d2fd899ea4e5b59659ab7d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/chat_channel/session_event_subscriber.rs: src-tauri/src/chat_channel/session_event_subscriber.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in codeg::chat_channel::session_event_subscriber::handle_acp_envelope at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/chat_channel/session_event_subscriber.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17dbf4186063a3c64a216d9a9e159151e780fd6ab47f41843b0ef88732fff6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/async-task-row.tsx: src/components/chat/async-task-row.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in async-task-row.AsyncTaskRow 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/async-task-row.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":"src/components/chat/async-task-row.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4131d6e2cf46909c6d1700d79d60a9b2af15b0122ff448867f4b4649bb6ac7b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/import-sessions/import-sessions-window.tsx: src/components/import-sessions/import-sessions-window.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in import-sessions-window.ImportSessionsWindow at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/import-sessions/import-sessions-window.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":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"277b9f52297ddfdc0f323855766e2e2fec256be8579b714afae62917be6d0fd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/activity/summarize.ts: src/lib/activity/summarize.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in summarize.summarizeActivity at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/activity/summarize.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":"src/lib/activity/summarize.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"176dfa9cba820831b131fd3c099c6f58e0a352d776a48307e6b376e6cbb6b837"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/version-control-settings.tsx: src/components/settings/version-control-settings.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in version-control-settings.VersionControlSettings at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/version-control-settings.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":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbfdbf18207734c7cd84098d58a3fa13a4db62569e7b435c2b6d5491402f1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/git-log-branch-filter-list.tsx: src/components/layout/git-log-branch-filter-list.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in git-log-branch-filter-list.GitLogBranchFilterList at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/git-log-branch-filter-list.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":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64bb0a2e2f6e37b76df347761570934262ae19f25c0955d5d0b033c25d2dcf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/conversation-manage-dialog.tsx: src/components/conversations/conversation-manage-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in conversation-manage-dialog.ConversationManageDialog at line 517. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/conversation-manage-dialog.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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e6bb808255845eaccdfd7f3a0b7eb10ce1bbfa565399f7ef582896744665b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/aux-panel.tsx: src/components/layout/aux-panel.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in aux-panel.AuxPanel 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/aux-panel.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":"src/components/layout/aux-panel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d9a662801f86d8007fff3e6c408283cd2408be76146c81698846d372c9daeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-section-header.tsx: src/components/conversations/sidebar-section-header.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in sidebar-section-header.SidebarSectionHeader 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-section-header.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":"src/components/conversations/sidebar-section-header.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5721a648e5f4e2bc0a456266f49c4dc20119f2dfe8d6b82e6e0b33b3c572fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/skill-agent-matrix.tsx: src/components/settings/skill-agent-matrix.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in skill-agent-matrix.SkillAgentMatrix at line 188. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/skill-agent-matrix.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":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a8196528ba1591bad33069f46030468f651855412ca06672140b6a83ec7c26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/selection-action-bubble.tsx: src/components/message/selection-action-bubble.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in selection-action-bubble.SelectionActionBubble at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/selection-action-bubble.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":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5931b0d7daad0710eb72595a06312b598fffef7e0e59bbb7ea3883f05df6dcd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/parsers/cursor.rs: src-tauri/src/parsers/cursor.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codeg::parsers::cursor::build_turns at line 925. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/parsers/cursor.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae68398472eca3c660e846cfae09a41fa7d95da967966bfd7fb131ebe2ee04b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/delegation-settings.tsx: src/components/settings/delegation-settings.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in delegation-settings.DelegationSettingsSection at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/delegation-settings.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":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee5a9c2f06436391abae0bd0c06b7045cd6ebedfe571798cfff24385cb6ca1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/search-command-dialog.tsx: src/components/conversations/search-command-dialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in search-command-dialog.SearchCommandDialog at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/search-command-dialog.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":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"998347737a9301412ee595fa96a43c5c8e876be09e7195679f6c932e14b180ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/ai-elements/html-code-preview.tsx: src/components/ai-elements/html-code-preview.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in html-code-preview.HtmlCodePreview at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/html-code-preview.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":"src/components/ai-elements/html-code-preview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dcee80dab8a63ad543af1d5928cf6170f9a3eb26b79b368c34bf699a0d69b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/doc-guest-preview.tsx: src/components/files/doc-guest-preview.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in doc-guest-preview.DocGuestPreview at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/doc-guest-preview.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":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5729f3d10127fd7a674d3ccc5d97faab4d72c838018c228af044aa9abb9999"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/activity/edit.ts: src/lib/activity/edit.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in edit.editDiffText at line 694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/activity/edit.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":"src/lib/activity/edit.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e34f6f4ce5c0b98ac94c17054b23eae54efb419f5baec9d2f22afc508bb92e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer-connection-status.tsx: src/components/chat/composer-connection-status.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in composer-connection-status.ComposerConnectionStatus at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer-connection-status.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":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac66723ae13ac28a0861dffc92c23ccc14c55c10a5b49b32fd8609fbbe37e05f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/automations/composer-invocations.tsx: src/components/automations/composer-invocations.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in composer-invocations.ComposerInvocationsPopup at line 297. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/automations/composer-invocations.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":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7996cedda104325079520e712c0313f61e908f4ff28e73c3f804146fa70d688"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/assistant-editor-dialog.tsx: src/components/settings/assistant-editor-dialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in assistant-editor-dialog.AssistantEditorBody at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/assistant-editor-dialog.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":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"612cc165ea2aa687a42c342017b37bdda0434994ff126f3c55ba2547cf6fa7cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/mcp-row.tsx: src/components/message/activity/rows/mcp-row.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in mcp-row.McpRow 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/mcp-row.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":"src/components/message/activity/rows/mcp-row.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff09e41f521e6466238ce2523287342bf1dd0e39cdf6cf201368fc1b822292"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/ask-question.ts: src/lib/ask-question.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ask-question.parseAskQuestionInput at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/ask-question.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":"src/lib/ask-question.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dc307c5edf047cc50b7b9cef0264978f483feea2eb7c8a2ba3c789ac824878"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/context-compaction-card.tsx: src/components/message/context-compaction-card.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in context-compaction-card.ContextCompactionCard at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/context-compaction-card.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":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3848a2763c7dde44c11eb193d683c8f5a8581ff85f3717e67bd731cf70666222"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/subagent-session-dialog.tsx: src/components/message/subagent-session-dialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in subagent-session-dialog.SubagentSessionDialog at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/subagent-session-dialog.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":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"17af749b703b03592b0b18a83c33dad05de5a42eae91965fbb1e7da470bc7964"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/add-model-provider-dialog.tsx: src/components/settings/add-model-provider-dialog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in add-model-provider-dialog.AddModelProviderDialog at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/add-model-provider-dialog.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":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6051065b73a6991dd6ace324fbb99f696bff93dc16e13ebc6f1ae65276a71813"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/remote-workspace-manage-dialog.tsx: src/components/layout/remote-workspace-manage-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in remote-workspace-manage-dialog.RemoteWorkspaceManageDialog at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/remote-workspace-manage-dialog.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":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1db91465bd2f51a909a2cca0b84f12c23f0a396b7d13c49d67028c8ae872c6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/browser/browser-bridge-view.tsx: src/components/browser/browser-bridge-view.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in browser-bridge-view.BrowserBridgeView 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-bridge-view.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":"src/components/browser/browser-bridge-view.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff75119599418ab2e81b80171c5bb4d76c78f3b915d50a729b193c8be260aa7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/use-open-url-target.ts: src/hooks/use-open-url-target.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in use-open-url-target.useOpenUrlTarget at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-open-url-target.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":"src/hooks/use-open-url-target.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4f3c1d6b778ba8af6a45b0c3df3a068c386a6170d1afa5cd8a584294ba34eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: browser-agent/src/act.ts: browser-agent/src/act.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in act.defaultActionFor at line 1109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- browser-agent/src/act.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":"browser-agent/src/act.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a301632d818ddafa20ed5e323ab296cd1a222d9076d0e44f1457625e139550b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/ai-elements/message-thread.tsx: src/components/ai-elements/message-thread.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in message-thread.EscapeLockOnUserScroll 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/message-thread.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":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf460d0f199b0771b26d484be3a1b5e97f9153680f0137c937508a720d2641c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/chat-html-markdown.ts: src/lib/chat-html-markdown.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in chat-html-markdown.createChatHtmlProcessor.\u003Creturned closure\u003E at line 197. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/chat-html-markdown.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":"src/lib/chat-html-markdown.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"888846826f86e0b580aebc4a422b9dec47043ac13a071af0b7bd9e47dbdfcef1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/transport/remote-desktop-transport.ts: src/lib/transport/remote-desktop-transport.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RemoteDesktopTransport.handleWsEvent at line 475. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/transport/remote-desktop-transport.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":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a85f641aa32e88484c730d823118a63447babccba71d9b7392a4dc49e6b01d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/rows/background-task-rows.tsx: src/components/message/activity/rows/background-task-rows.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in background-task-rows.BackgroundTaskRowView at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/rows/background-task-rows.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":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac72c8fdaf425c352c9e32c2caf9ec0cdd629740cfc78b907979e9ae37168d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: browser-agent/src/index.ts: browser-agent/src/index.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in index.act at line 480. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- browser-agent/src/index.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":"browser-agent/src/index.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9370e2665ae40e16bf88e733b33a023d7d47f2f19b8a02fb9e82e174b91f4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/conversation-context-bar.tsx: src/components/chat/conversation-context-bar.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in conversation-context-bar.ConversationFolderBranchPicker at line 270. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/conversation-context-bar.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":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae6f38d13ce40cbe24f216142dfc767ec40a8dcdb90b8ee88a67d2a7dcfc15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/automations/agent-config-section.tsx: src/components/automations/agent-config-section.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in agent-config-section.AgentConfigSection at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/automations/agent-config-section.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":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68cf23bd13d7a434b7fc9014ad3fa4b9e27249575e0cd4c0ff534bf0d1f9d06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer/use-composer-attachments.ts: src/components/chat/composer/use-composer-attachments.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in use-composer-attachments.useComposerAttachments at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer/use-composer-attachments.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":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a4febc6a8ef05fd7e98cba8aa56bebac63c3c77e78757009f14d690de54c6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/pi-project-trust-banner.tsx: src/components/chat/pi-project-trust-banner.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in pi-project-trust-banner.PiProjectTrustBanner at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/pi-project-trust-banner.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":"src/components/chat/pi-project-trust-banner.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaddea4fa77a91f90a7f030a42af6b808c2fe3ad02de6507b9389b06e3d3bc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/activity/use-rail-growth.ts: src/components/message/activity/use-rail-growth.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in use-rail-growth.useRailGrowth at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/activity/use-rail-growth.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":"src/components/message/activity/use-rail-growth.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd40f7c451fecbc89cabbcf7129c5e1c760eb3372675af5a57d5c98bc2e9cf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/canvas/nodes/region-node.tsx: src/components/canvas/nodes/region-node.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in region-node.RegionNode at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/canvas/nodes/region-node.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":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc9089bbcc554eda27257b22ca672ae54fdf742f234a631e4e69efee0050044"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/forge/forge-settings-dialog.tsx: src/components/forge/forge-settings-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in forge-settings-dialog.ForgeSettingsScope at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/forge/forge-settings-dialog.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":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe78430e2d6c906db73b9fb78daf7ee82ebbeade64d963e89a20ed58c865eae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-merge-dialog.tsx: src/components/tasks/task-merge-dialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in task-merge-dialog.TaskMergeDialog at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-merge-dialog.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":"src/components/tasks/task-merge-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c99b8eecfc22d4a51c24dc7110127b5b2bbd52fab7569b730704925fc71766b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/opencode-plugins-modal.tsx: src/components/settings/opencode-plugins-modal.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in opencode-plugins-modal.OpencodePluginsModal 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/opencode-plugins-modal.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":"src/components/settings/opencode-plugins-modal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fc1161b5cf86cc8bfa10ed4c1c45dd12a824923bab7cb523f255d61f01bab4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-actions.ts: src/components/tasks/task-actions.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in task-actions.buildTaskActions at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-actions.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":"src/components/tasks/task-actions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a352c8c09d65aa82d22fecfa11ee084167681fc75793d03f9b5da10f6a8239"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/composer/use-reference-search.ts: src/components/chat/composer/use-reference-search.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in use-reference-search.useReferenceSearch at line 251. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/composer/use-reference-search.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":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a229dbc05af00516f1ea4e18109b2bf0a836221ade5a4bad084f0eb2ec89c955"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/opencode-permissions-section.tsx: src/components/settings/opencode-permissions-section.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in opencode-permissions-section.OpenCodePermissionsSection at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/opencode-permissions-section.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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe949f40a37a5092935ea57fa2d86b74e5e2db82448673eab73367f60de546e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/conversation-detail-header.tsx: src/components/conversations/conversation-detail-header.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in conversation-detail-header.ConversationDetailHeader at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/conversation-detail-header.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":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2a79e623d4eb3f390ee78245c2be600c2941824e5b95d6c683c1d045e7e1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/reply-artifacts.tsx: src/components/message/reply-artifacts.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in reply-artifacts.ReplyArtifacts at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/reply-artifacts.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":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4782e3032d20db0aa0f15f6dc7883094f1838bcaac859210a1742cb65df18288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/html-preview.tsx: src/components/files/html-preview.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in html-preview.InlineHtmlPreview at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/html-preview.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":"src/components/files/html-preview.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8ff1ea197a22107442dd805549c3a9973cc21aba9f7cde3f57aa7e52c6c10d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/codeg-mcp-tool.ts: src/lib/codeg-mcp-tool.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codeg-mcp-tool.parseCodegMcpToolCall at line 429. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/codeg-mcp-tool.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":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"25253483692826a9832b30584a7bb6c8411c5d22a4643e559239f589e32191b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/canvas/add-node-menu.tsx: src/components/canvas/add-node-menu.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in add-node-menu.AddFileSubmenu at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/canvas/add-node-menu.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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bedf7271bb8d51dcfa1d1772c25b9e5587c94fc70de1b59deb588063b8b49a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/forge/forge-start-dialog.tsx: src/components/forge/forge-start-dialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in forge-start-dialog.ForgeStartDialog at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/forge/forge-start-dialog.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":"src/components/forge/forge-start-dialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f2a35ebb58afc9bf17d50ea09d7c8de453f4e3786bcaab669efd9b126ad791"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/files/office-preview.tsx: src/components/files/office-preview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in office-preview.OfficePreview at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/files/office-preview.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":"src/components/files/office-preview.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"af672580ea648f675aa237f50197f83aada4d377faa761848706a0972c05bbe5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/db/service/canvas_service.rs: src-tauri/src/db/service/canvas_service.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in codeg::db::service::canvas_service::update_node at line 693. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/db/service/canvas_service.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"f928fe317407aa028c92c11f2157d3a7fa149009e548f3c60a50e3c4252287f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/use-agent-call-model.ts: src/components/message/use-agent-call-model.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in use-agent-call-model.useAgentCallModel at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/use-agent-call-model.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":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33bd133435fe6786de05eae5ef97897a49e717ac965758763369339b560c868"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/model-option-list.tsx: src/components/chat/model-option-list.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in model-option-list.ModelOptionList at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/model-option-list.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":"src/components/chat/model-option-list.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2c0078bf2cd9ef47dbc05a710c73b322659fae32626f97951fa8a2206f1313"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/workspace/deep-link-bootstrap.tsx: src/components/workspace/deep-link-bootstrap.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in deep-link-bootstrap.PetFocusBridge at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/workspace/deep-link-bootstrap.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":"src/components/workspace/deep-link-bootstrap.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16b4c929a881a82d60d736c98ef7db67da4e01897ba7d419bb16d6fce30af28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-row.tsx: src/components/tasks/task-row.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in task-row.TaskRow at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-row.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":"src/components/tasks/task-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb409d3f1f28e12698dd1eec3f88457ee696ab9788b66ff613278e1806448f26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/browser/host-rules.ts: src/lib/browser/host-rules.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in host-rules.parseHostRulePattern at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/browser/host-rules.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":"src/lib/browser/host-rules.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3d1fe7bc985483b29dc1b22c5d3f50b769ecd5a417062c1ef002cfb93e804d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/unstash-dialog.tsx: src/components/layout/unstash-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in unstash-dialog.StashWorkspace at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/unstash-dialog.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":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"52380e6c5f7a2313491dcc8f1fddb3b55ba896abbd7fcc4cafcd9b6520a1c9bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/conversation-tags-store.ts: src/stores/conversation-tags-store.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in conversation-tags-store.useConversationTagsStore at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/conversation-tags-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":"src/stores/conversation-tags-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"698f5f2f4305492bdf4ccc25908b3e50a400dbfbff7ec8e9ae117db38ea00828"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/html-preview-inline.ts: src/lib/html-preview-inline.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in html-preview-inline.inlineHtmlResources at line 567. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/html-preview-inline.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":"src/lib/html-preview-inline.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f88852193696a0a28c89c9afe0c1d1f587734d8d37073bd87b03e4d3ea2492d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/add-forge-account-dialog.tsx: src/components/settings/add-forge-account-dialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in add-forge-account-dialog.AddForgeAccountDialog at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/add-forge-account-dialog.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":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"383341c5bd170f7f90532210e90325dee159b267efffb677496f6c2011e63560"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/shared/branch-picker.tsx: src/components/shared/branch-picker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in branch-picker.BranchPicker at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/shared/branch-picker.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":"src/components/shared/branch-picker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da14b11707dcf5eea18f910377649a91e0d30780bdd06f9054346ff9796490a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/message-nav-entries.ts: src/components/message/message-nav-entries.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in message-nav-entries.buildMessageNavEntries at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/message-nav-entries.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":"src/components/message/message-nav-entries.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6108f7f5c1fbe8253ddfebb0fef54a83467e06f1a1a5aa21edc7c91be0d06a20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/message/file-reference-actions.tsx: src/components/message/file-reference-actions.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in file-reference-actions.FileReferenceActionsMenu at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/file-reference-actions.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":"src/components/message/file-reference-actions.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8574136fd7126a2e647cea1a7fde54eaa9c6b2ee6e113ca7d70884ba3e764c90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/shared/server-file-browser-dialog.tsx: src/components/shared/server-file-browser-dialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in server-file-browser-dialog.ServerFileBrowserDialog 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/shared/server-file-browser-dialog.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":"src/components/shared/server-file-browser-dialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"620bc444b14e82ef916024e4d56598cb74c1a83728872d1b02f15c4b9567aac9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/desktop-notification-settings.tsx: src/components/settings/desktop-notification-settings.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in desktop-notification-settings.DesktopNotificationSettingsSection at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/desktop-notification-settings.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":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b112df2db834215e7fe05efec998ba08d97f253677bccd6a0015f61bd0e68b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/office-tools-settings.tsx: src/components/settings/office-tools-settings.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in office-tools-settings.OfficeToolsBody at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/office-tools-settings.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":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb0b43482bc19c06cb4a31ee2d317d1b6ccd56a28e50223a187f0858c33c855"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/chat/chat-width-handles.tsx: src/components/chat/chat-width-handles.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in chat-width-handles.WidthHandle at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/chat-width-handles.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":"src/components/chat/chat-width-handles.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf99dfb99415eb784bfc89d3321408f1bb15763b67a67dcbf93a2e09e54d7be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/contexts/remote-connection-context.tsx: src/contexts/remote-connection-context.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in remote-connection-context.RemoteConnectionGate at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/contexts/remote-connection-context.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":"src/contexts/remote-connection-context.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"880251e5a7e84ffdfd7ebe19efe923d2dae8060eeadaeedae38f2b767ee08940"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/canvas-store.ts: src/stores/canvas-store.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in canvas-store.useCanvasStore at line 171. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/canvas-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":"src/stores/canvas-store.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"042051eb19f97cf7a502ef3b303f83bd2ed2180ddfe22df298721b13300bf210"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/tasks/task-message-composer.tsx: src/components/tasks/task-message-composer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in task-message-composer.TaskMessageComposer at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/tasks/task-message-composer.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":"src/components/tasks/task-message-composer.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fe518cd5b845d5964b4bd3c2a1c52b677cc254e4bfa2532327e64b1754e5d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/project-boot/hyperframes/hyperframes-launcher.tsx: src/components/project-boot/hyperframes/hyperframes-launcher.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in hyperframes-launcher.HyperframesLauncher at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/project-boot/hyperframes/hyperframes-launcher.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":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6092c40e5d1ae346a2ad121713fbf859c2bfe921b0895779f9402c67768ce81a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/settings/workspace-background-market-dialog.tsx: src/components/settings/workspace-background-market-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in workspace-background-market-dialog.MarketCard at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/settings/workspace-background-market-dialog.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":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e375e8469d853332493b3c9671542bb714b618461435f3580963e1088423569"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/automations/automations-page.tsx: src/components/automations/automations-page.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in automations-page.AutomationDetail at line 1078. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/automations/automations-page.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":"src/components/automations/automations-page.tsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f5ab3518e751f71619b8ae8c20e102da954de5d0f9399baa7056353df5dbf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/resolve-link-action.ts: src/lib/resolve-link-action.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in resolve-link-action.resolveLinkAction at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/resolve-link-action.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":"src/lib/resolve-link-action.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfc238a055d4cff53ace4fd7ed7c8c7423e2ca0cef892f6154a3bc893900266"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/branch-selector-rows.ts: src/lib/branch-selector-rows.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in branch-selector-rows.buildBranchRows at line 299. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/branch-selector-rows.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":"src/lib/branch-selector-rows.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"891c28ec2ca05b92d4322fe015b5c15f256ed85739a2e30141173e3e8e37a00d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/folder-tabs-store.ts: src/stores/folder-tabs-store.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in folder-tabs-store.useFolderTabsStore 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/stores/folder-tabs-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":"src/stores/folder-tabs-store.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ddc559f782328b72bbf6923abc9a3e86b20b5f1cf1d22e27efd6f77cdf53b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/browser-injected/picker.js: src/browser-injected/picker.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in picker.owns at line 660. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/browser-injected/picker.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5cd8e67bb61f47ec63e237673335900e940ea175c495c5613403e54c2c76a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/workspace_file_search/index_cache.rs: src-tauri/src/commands/workspace_file_search/index_cache.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in IndexService::start_build at line 902. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/workspace_file_search/index_cache.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c8b90a1a827d5401271b196e58634030c7249b5dab90a7a60f4a7ca35f6ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/use-file-tree.ts: src/hooks/use-file-tree.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in use-file-tree.useFileTree at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-file-tree.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":"src/hooks/use-file-tree.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a849fc7fcda61565cd90c94ebf122e78c961cd5c424d3a1221ff226fe854b921"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/workspace/close-request-dialog.tsx: src/components/workspace/close-request-dialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in close-request-dialog.CloseRequestDialog at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/workspace/close-request-dialog.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":"src/components/workspace/close-request-dialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"26920a4d352293ad32beae7468967377e4766d71f3c8a6ebea7126929866ae40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/terminal/terminal-tab-bar.tsx: src/components/terminal/terminal-tab-bar.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in terminal-tab-bar.TerminalTabBar at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/terminal/terminal-tab-bar.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":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8829158d8a371db83a6072920075c2b97ed7bb8da093be79874689fc5e8184"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/codex-visualize.ts: src/lib/codex-visualize.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codex-visualize.splitCodexVisualizeRefs at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/codex-visualize.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":"src/lib/codex-visualize.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be17547c32292321db5b28f8fb04702734321a229f9e38c3db12baf26e5dab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/layout/aux-panel-tasks-tab.tsx: src/components/layout/aux-panel-tasks-tab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in aux-panel-tasks-tab.TasksAuxTab at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/layout/aux-panel-tasks-tab.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":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d4ba91db9bd2e4045d79d062620d9c47b6ad643e6d5a81013c7ba5214a06e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-tag-filter.tsx: src/components/conversations/sidebar-tag-filter.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in sidebar-tag-filter.TagFilterPanel at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-tag-filter.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":"src/components/conversations/sidebar-tag-filter.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7e50a9c0271742ae55ff3a9223df3ad2ec0143ac6947b1811df3d278dd0019"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/diff/diff-viewer.tsx: src/components/diff/diff-viewer.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in diff-viewer.DiffViewer at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/diff/diff-viewer.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":"src/components/diff/diff-viewer.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fccdd35c6400cb034324284a297c49569ede54b01b0d17e4efe93d98dac7812"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/conversations/sidebar-folder-group-header.tsx: src/components/conversations/sidebar-folder-group-header.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in sidebar-folder-group-header.SidebarFolderGroupHeader at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/conversations/sidebar-folder-group-header.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":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"281aa684f16cc7390de2df8fce2938707b2a4798f10e13200e56f97549c939ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/work_task/git.rs: src-tauri/src/work_task/git.rs changed 22 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is codeg::work_task::git::remove_worktree_and_branch at line 867), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(git): find non-ASCII and renamed files by their real names\u201D; \u201Cfix(git): read numstat paths unquoted, as git status already does\u201D; \u201Cfix(git): preserve racy-clean detection in copied indexes\u201D; \u201Cfix(work-task): record what a push-back added to the pull request\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/work_task/git.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"718f8d9a066e64537eb1d0fc94bcf6cf780d5e61e2b8c10a52e337ca1c9abe06"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/computer/local.rs: src-tauri/src/computer/local.rs changed 21 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::computer::local::launch at line 969), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(computer): run the macOS helper from a copy outside codeg\u0027s bundle\u201D; \u201Cfix(computer): ship the macOS helper as an app of its own\u201D; \u201Cfix(computer): settle the review of the Windows and foreground work\u201D; \u201Cfix(computer): build the tests against the delivery argument and meet clippy on Windows\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/local.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/local.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe4da301de698cca468153fb2867174e2fa441079ee3d4ad501c0275c42e3be"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/system_settings.rs: src-tauri/src/commands/system_settings.rs changed 16 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is codeg::commands::system_settings::resolve_close_request at line 632), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(proxy): show the bypass list in one format and state its rules\u201D; \u201Cfix(proxy): keep agents\u0027 loopback traffic off the proxy and add a bypass list\u201D; \u201Cfix(settings): report the shell the default-terminal choice resolves to\u201D; \u201Cfix(macos): key the fullscreen drain on the flag tao actually sets\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/system_settings.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae00e7bdebba3e1f631f8d7a4ffa262d0bede02a53674ba695625b60fce6ce0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/ai-elements/reasoning.tsx: src/components/ai-elements/reasoning.tsx changed 16 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is reasoning.ReasoningMarkdown at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): number and bullet a thought\u0027s lists inside its column\u201D; \u201Cfix(chat): keep a thought\u0027s line breaks in the built app\u201D; \u201Cfix(chat): read message text in the direction of its own content\u201D; \u201Cfix(deps): patch the packages pnpm audit flags\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/reasoning.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":"src/components/ai-elements/reasoning.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc11bcd25bff4a9165888a27ba899ac259fa0eccf42adf87683121ef77b68e86"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/scratch_dir.rs: src-tauri/src/acp/scratch_dir.rs changed 12 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is codeg::acp::scratch_dir::create at line 560), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(acp): isolate Windows scratch dir for custom agents running Antigravity\u201D; \u201Cfix(acp): stop pointing Windows agents\u0027 TMP at a per-launch directory\u201D; \u201Cfix(delegation): see through aliases when scoping the broker socket\u201D; \u201Cfix(acp): never sweep the launch dir this process uses as its temp dir\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/scratch_dir.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95fefcb3e2b5991d067cec7b75efd7ce73d7f04085164ee1448bdf4b96450ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/terminal/manager.rs: src-tauri/src/terminal/manager.rs changed 15 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is TerminalManager::spawn_with_id at line 438), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): load the user\u0027s PowerShell profile (#1088)\u201D; \u201Cfix(appimage): programs codeg starts get the session\u0027s environment back\u201D; \u201Cfix(terminal): close a stopped terminal\u0027s input only once it has died\u201D; \u201Cfix(terminal): refuse a closed tab\u0027s launch however many others close\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/terminal/manager.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8ff66d86be55ebf5c7f75767ae44667ff1103f5db975d5bf38032cc779b3ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/browser/downloads.rs: src-tauri/src/browser/downloads.rs changed 8 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is BrowserDownloads::finish at line 103), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(appimage): programs codeg starts get the session\u0027s environment back\u201D; \u201Cfix(browser): finish the download a transfer reports, not the oldest of its URL\u201D; \u201Cfix(browser): give each Linux surface its own process and keep GTK focus\u201D; \u201Cfix(browser): embed Linux tabs in the workspace window via a GTK overlay\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/downloads.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/downloads.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"623ce7544486578c0c53de778c68311b162e34a57b22c73c7bcdadd052b195b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/config_sync/webdav_sync.rs: src-tauri/src/commands/config_sync/webdav_sync.rs changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is codeg::commands::config_sync::webdav_sync::upload_snapshot_core at line 716), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(config-sync): a fresh browser must not replace the appearance mirror on open\u201D; \u201Cfix(config-sync): never overwrite a remote snapshot this machine has not seen; sync appearance settings\u201D; \u201Cfix(config-sync): the test credential guard cannot be a std mutex\u201D; \u201Cfix(config-sync): two regressions the fix review caught\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/config_sync/webdav_sync.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"3264dba868ced45f4262ea4fcc3360abad2b851b2eaa78d9c4cbe95a513e7705"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/computer/appident.rs: src-tauri/src/computer/appident.rs changed 7 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::computer::appident::windows_name at line 396), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(computer): settle the review of the Windows and foreground work\u201D; \u201Cfix(computer): build the tests against the delivery argument and meet clippy on Windows\u201D; \u201Cfix(computer): identify framed apps on Windows and stop listing unseen windows\u201D; \u201Cfix(computer): identify window owners on Windows and name them as Windows does\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/appident.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/appident.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfdc6dbbac2860935f3ebe7db1318881e437dc53c63d9367e544183dae575d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/binary_cache.rs: src-tauri/src/acp/binary_cache.rs changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is codeg::acp::binary_cache::migrate_root at line 275), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(acp): stop doubling .exe for Windows binary agents from the registry\u201D; \u201Cfix(computer): settle the first review of the settings page and share-all\u201D; \u201Cfix(computer): close the gaps the M1 review found\u201D; \u201Cfix(acp): isolate per-launch agent temp dirs, relocate the binary cache, and name JSON parse failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/binary_cache.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1139a5d89620f6404e74c65a5982878c6151964b49783b202c26dbb22dd82f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: browser-agent/probe.mjs: browser-agent/probe.mjs changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is probe.check at line 303), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): stop telling an off-canvas element that it paints nothing\u201D; \u201Cfix(browser): separate a refusal the page can undo from one it cannot\u201D; \u201Cfix(browser): make the scroll keys scroll, and say what a refusal means\u201D; \u201Cfix(browser): stop a page taking the picker\u0027s press with inert\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- browser-agent/probe.mjs\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":"browser-agent/probe.mjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e59d51995bc9908adc5ffd8368ae5ff182138b5b35406f4e0aa49e2ef852fe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/automation/engine.rs: src-tauri/src/automation/engine.rs changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is codeg::automation::engine::run_automation_engine at line 252), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(work-task): keep a later turn\u0027s answer across empty turns and a lost connection\u201D; \u201Cfix(work-task): order a held run\u0027s answers by when the session got them\u201D; \u201Cfix(work-task): a later turn on a held connection decides how the run ends\u201D; \u201Cfix(work-task): keep a hold\u0027s claim through its settle; respect partial async-task tables\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/automation/engine.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be7b20b51e0330897868dbd71448b56ffb21c0e5e891091d765f230ca6f084f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/browser/policy.rs: src-tauri/src/browser/policy.rs changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is codeg::browser::policy::parse_pattern at line 105), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): give each Linux surface its own process and keep GTK focus\u201D; \u201Cfix(browser): embed Linux tabs in the workspace window via a GTK overlay\u201D; \u201Cfix(browser): name the rule score type\u201D; \u201Cfix(browser): trim patterns as ASCII on both sides; make visibility changes atomic\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/policy.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f733a256b78049d5b665bbd48373b5849f521562c2237f30cd8d31fe095148"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/local_command.rs: src-tauri/src/commands/local_command.rs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is codeg::commands::local_command::reject_unsafe_cmd_variable at line 154), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): load the user\u0027s PowerShell profile (#1088)\u201D; \u201Cfix(local-command): stop naming the removed local: prefix in a refusal\u201D; \u201Cfix(local-command): allow only plain quoted remote variables for cmd.exe\u201D; \u201Cfix(local-command): make cmd.exe quote a remote window\u0027s variables\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/local_command.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/local_command.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4cc79d5b2620fe89a37448e42e20d6c1d40eabf50fd084633a55df5612463"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/browser/shim/linux.rs: src-tauri/src/browser/shim/linux.rs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is codeg::browser::shim::linux::install_world at line 264), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): finish the download a transfer reports, not the oldest of its URL\u201D; \u201Cfix(browser): give each Linux surface its own process and keep GTK focus\u201D; \u201Cfix(browser): embed Linux tabs in the workspace window via a GTK overlay\u201D; \u201Cfix(browser): hear window.close(), and stop painting errors over a live page\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/shim/linux.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e09e56328a65cf8e58b8dc4f94c3834faa18729b6a598e6b01f85aea25994d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/browser/doc_guest.rs: src-tauri/src/browser/doc_guest.rs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is codeg::browser::doc_guest::walk_links at line 659), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): give each Linux surface its own process and keep GTK focus\u201D; \u201Cfix(browser): give every document guest an origin of its own\u201D; \u201Cfix(browser): keep a document guest\u0027s own addresses to its own host\u201D; \u201Cfix(browser): compile the child surface on Windows\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/doc_guest.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcf34c31d971ae64b06d90b145d68442ded052ab0cea55c353103eae90a91e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/office_watch/mod.rs: src-tauri/src/office_watch/mod.rs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::office_watch::start_within at line 507), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(office): kill preview servers still starting when the app quits\u201D; \u201Cfix(office): count a queued preview start against its own budget\u201D; \u201Cfix(office): leave headroom for slow preview initialization\u201D; \u201Cfix(office): allow cold-start preview servers to become ready\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/office_watch/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"079cb479af9196b38e9689b84e8922b0d7ab95a775c46e4cecb2322c85c0342b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/lib/platform.ts: src/lib/platform.ts changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is platform.openFileDialog at line 177), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): restore panel sessions after refresh\u201D; \u201Cfix(browser): read a windows path by either separator, a unix one by its own\u201D; \u201Cfix(browser): keep a document guest\u0027s own addresses to its own host\u201D; \u201Cfix(browser): show a download that landed on a network path\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/platform.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":"src/lib/platform.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc582b7b2e542033dcc07db64b5bc93a8ea8a5843dd72f805502efb123f33eb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/chat/message-queue-display.tsx: src/components/chat/message-queue-display.tsx changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is message-queue-display.QueueItem at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): reuse queue flush after rejected steering and restore Codex gate\u201D; \u201Cfix(chat): guard concurrent steering clicks and preserve draft edits\u201D; \u201Cfix(chat): deliver queued Codex and Claude steering reliably\u201D; \u201Cfix(chat): don\u0027t send a queued row twice when its insert races the turn end\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/chat/message-queue-display.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":"src/components/chat/message-queue-display.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e915ffc5f847fde4166cdb2cf1f7fa63d5501326c869a221bc0e166092755f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/browser/profile.rs: src-tauri/src/browser/profile.rs changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is codeg::browser::profile::parse_proxy at line 230), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): let a toast be seen over a page, and stop being an engine with no browser on it\u201D; \u201Cfix(browser): install the channel wherever a surface can carry one\u201D; \u201Cfix(browser): keep a profile in use until the engine has finished clearing it\u201D; \u201Cfix(browser): count profile use while a deletion drains and pin popups to the profile they were built in\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/browser/profile.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95c3dc9d87b46ac7ccb46f459488ed29042e1b13d407134d95e78a41a4d177d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/contexts/tab-context.tsx: src/contexts/tab-context.tsx changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is tab-context.TabProvider at line 48), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tabs): give each folder its own split layout while tabs follow the folder\u201D; \u201Cfix(tabs): follow a tabs-follow-folder switch made in another window\u201D; \u201Cfix(workbench): move the picker\u0027s own draft into chat mode\u201D; \u201Cfix(workbench): keep conversation tabs and the active folder consistent across worktrees\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/contexts/tab-context.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":"src/contexts/tab-context.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"333ec148b25e6821393acd9c493ceb5bcabad889ff9237700203503957fd58a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/browser/browser-viewer-drawer.tsx: src/components/browser/browser-viewer-drawer.tsx changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is browser-viewer-drawer.BrowserViewerBody at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mobile): make the back gesture close overlays instead of unloading the page\u201D; \u201Cfix(browser): decide a suspended tab\u0027s fate against the list it lands in\u201D; \u201Cfix(browser): keep a profile in use until the engine has finished clearing it\u201D; \u201Cfix(browser): count profile use while a deletion drains and pin popups to the profile they were built in\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/browser/browser-viewer-drawer.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":"src/components/browser/browser-viewer-drawer.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0658838681e9137d68fddcde35318aa9da9bdb025abb70c40d12a02315b5f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/lib/config-sync.ts: src/lib/config-sync.ts changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is config-sync.pickConfigFileToImport at line 249), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(config-sync): never overwrite a remote snapshot this machine has not seen; sync appearance settings\u201D; \u201Cfix(config-sync): two regressions the fix review caught\u201D; \u201Cfix(config-sync): three more from the panel review\u201D; \u201Cfix(config-sync): stamp the upload baseline with its destination\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/config-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/config-sync.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4382aea7587795128daa7c2853afd39d7cfdb92a7a3f90d046c2b27fa8005fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/logging/init.rs: src-tauri/src/logging/init.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is codeg::logging::init::parse_level at line 333), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(acp): keep mid-turn messages, steer custom claude-agent-acp agents\u201D; \u201Cfix(logging): stop the panic record doubling, and bound what it writes\u201D; \u201Cfix(logging): deny the handshake dump\u0027s target outright, not by level\u201D; \u201Cfix(logging): pin the handshake dump on its own target, not just the crate\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/logging/init.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/init.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"347532cef383953bc19a6d5b20935b7479b664f98cb1a24230ac2dca6b7b7289"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/terminal_runtime.rs: src-tauri/src/acp/terminal_runtime.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is codeg::acp::terminal_runtime::own_terminal_process at line 313), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(appimage): programs codeg starts get the session\u0027s environment back\u201D; \u201Cfix(acp): end a terminal whose creation is dropped before registering it\u201D; \u201Cfix(acp): end a connection\u0027s terminals when its handshake stops early\u201D; \u201Cfix(acp): retry the terminal shell fallback when exec reports ETXTBSY\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/terminal_runtime.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce82f190eaa542cc6f12252b1e59fa6199f351c0ba16d52f3bf669b1c88adba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/lib/transport/web-transport.ts: src/lib/transport/web-transport.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is WebTransport.probeHealth at line 570), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): open the event socket when a proxy admits a browser that came straight to the workspace\u201D; \u201Cfix(web): an expired proxy session asks for a reload instead of reconnecting forever\u201D; \u201Cfix(terminal): restore panel sessions after refresh\u201D; \u201Cfix(acp): isolate per-launch agent temp dirs, relocate the binary cache, and name JSON parse failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/transport/web-transport.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":"src/lib/transport/web-transport.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f33ed7e17d02caa33e6d538e0ab7eb8ce239f01250db857350a8e07fc147fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/ai-elements/remark-file-uri-links.ts: src/components/ai-elements/remark-file-uri-links.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is remark-file-uri-links.remarkRewriteFileUriLinks.\u003Creturned closure\u003E at line 112), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(markdown): mark a reference link only from the definition it uses\u201D; \u201Cfix(markdown): tighten the bare relative-link guess and its safety note\u201D; \u201Cfix(markdown): keep relative file links relative through rehype-harden\u201D; \u201Cfix(chat): render local Markdown images inline\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/remark-file-uri-links.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":"src/components/ai-elements/remark-file-uri-links.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab71f84089799ff90ffd8e9ceadd93f04df6c5bc242a6c696f877451010be4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/turn_end_hold.rs: src-tauri/src/acp/turn_end_hold.rs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is codeg::acp::turn_end_hold::running_work at line 220), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(work-task): keep a later turn\u0027s answer across empty turns and a lost connection\u201D; \u201Cfix(work-task): order a held run\u0027s answers by when the session got them\u201D; \u201Cfix(work-task): a later turn on a held connection decides how the run ends\u201D; \u201Cfix(work-task): keep a hold\u0027s claim through its settle; respect partial async-task tables\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/turn_end_hold.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/turn_end_hold.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26256bedb55551c28fceea8fd4b5f1ce2f6ff74ca1707b0d46b6bfbe88b14bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/lib/markdown-local-image.ts: src/lib/markdown-local-image.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is markdown-local-image.localImagePath at line 27), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): bring browsers onto the server\u0027s release, show local images in more places\u201D; \u201Cfix(chat): show Markdown images from outside the conversation folder\u201D; \u201Cfix(chat): show the image in an expanded Read card\u201D; \u201Cfix(chat): refuse Markdown image paths the parser may have glued\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/markdown-local-image.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":"src/lib/markdown-local-image.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4711363d8f61dc3ab7da3282c7438b24d89b845dc745111566dbcc4a993d34"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/config_sync/local_io.rs: src-tauri/src/commands/config_sync/local_io.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is codeg::commands::config_sync::local_io::parse_export_bytes at line 158), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(config-sync): never overwrite a remote snapshot this machine has not seen; sync appearance settings\u201D; \u201Cfix(config-sync): the test credential guard cannot be a std mutex\u201D; \u201Cfix(config-sync): six defects found reviewing the follow-up work\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/config_sync/local_io.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb847b0f5892c14bc566ac2e7c22c6ea28d5b77459afd4c05f40782defca350"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/scripts/prepare-sidecars.mjs: src-tauri/scripts/prepare-sidecars.mjs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is prepare-sidecars.main at line 135), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(bundle): keep codeg-server and a desktop-built codeg-mcp out of the app\u201D; \u201Cfix(computer): ship the macOS helper as an app of its own\u201D; \u201Cfix(computer): name the step that rebuilds a stale development helper\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/scripts/prepare-sidecars.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/scripts/prepare-sidecars.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b90bb090d832f37fb713868b0db869788a044d53b5db5e217b1846e58a411a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/custom_registry.rs: src-tauri/src/acp/custom_registry.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::acp::custom_registry::validate at line 419), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kiro): date the built-in migration after main\u0027s newest\u201D; \u201Cfix(acp): stop doubling .exe for Windows binary agents from the registry\u201D; \u201Cfix(kiro): date the built-in migration after upstream\u0027s newest\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/custom_registry.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/custom_registry.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa3135789e27ba38f7dc5d9306eda7cacb456828eb31f17eb115d420939df6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/ai-elements/file-tree.tsx: src/components/ai-elements/file-tree.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is file-tree.FileTreeFolder at line 247), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(file-tree): keep the folder\u0027s click target filling the row beside its action\u201D; \u201Cfix(file-tree): give the whole row to the drop zone, and unwire the nested long-press\u201D; \u201Cfix(file-tree): make the row \u22EF button open the menu it promises\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/file-tree.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":"src/components/ai-elements/file-tree.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dc975a0de1ba2d8806b3399657cbcd66ce03464870b2d54516a529a5a97880"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/web/handlers/config_sync.rs: src-tauri/src/web/handlers/config_sync.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is codeg::web::handlers::config_sync::parse_upload_params at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(config-sync): pin the overwrite confirmation to the snapshot it named; adopt only valid theme modes; accept an empty upload body\u201D; \u201Cfix(config-sync): never overwrite a remote snapshot this machine has not seen; sync appearance settings\u201D; \u201Cfix(config-sync): six defects found reviewing the follow-up work\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/handlers/config_sync.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/config_sync.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef00fff6e129e2ce92f8bf7a484e9eb8eb354abdb7956efd73fa311aba0fe3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/web/handlers/conversations.rs: src-tauri/src/web/handlers/conversations.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is codeg::web::handlers::conversations::list_all_conversations at line 22), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(acp): keep a session\u0027s background work alive when its view goes away (#1096)\u201D; \u201Cfix(parsers): read agent history from the dirs its settings relocate\u201D; \u201Cfix(chat): make the message navigator cover the whole conversation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/handlers/conversations.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/conversations.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c080b1e87842bee14d37a84c9c1f3f7ce7ab4ae996ffd2b3e8ea810394032f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/workspace_file_search.rs: src-tauri/src/commands/workspace_file_search.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is CompactIndex::scan at line 196), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(search): keep warm roots, cold walks and Cmd\u002BK freshness across keystrokes\u201D; \u201Cfix(search): schedule queries independently and reuse bounded root snapshots\u201D; \u201Cfix(search): defer workspace discovery until a foreground query\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/workspace_file_search.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f8be5df02871368a6027f3b070d9f74bde0b215c9ad17200577c601f94ca9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/ai-elements/streamdown-plugins.ts: src/components/ai-elements/streamdown-plugins.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is streamdown-plugins.useStreamdownPlugins at line 297), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(memory): share bounded highlighting with cancellable Markdown retries\u201D; \u201Cfix(markdown): gate the inline-math parse and keep two literal cases intact\u201D; \u201Cfix(markdown): render guarded single-dollar inline math\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/streamdown-plugins.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":"src/components/ai-elements/streamdown-plugins.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84894cd282e8fa79ce62a59d39ef330df4274a263d47364b98066107ae53cd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp/zcode.rs: src-tauri/src/acp/zcode.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::acp::zcode::js_entry at line 131), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(zcode): manage the skill folders the ZCode runtime loads\u201D; \u201Cfix(zcode): refuse a relative ZCODE_BIN or ZCODE_NODE\u201D; \u201Cfix(zcode): launch on a Node and bridge entry that can run ZCode\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp/zcode.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/zcode.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae45e1f3614fd890d3fd404ae7fbbbb9d4a62db029f5faf188ca08c0024d35da"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/message/generated-images-block.tsx: src/components/message/generated-images-block.tsx changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is generated-images-block.GeneratedImagesBlock at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): keep an image card\u0027s name stable across a reload\u201D; \u201Cfix(chat): name image cards after the tool or page, not Image generation\u201D; \u201Cfix(chat): make Copy image survive WebKit, and offer it only where it works\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/generated-images-block.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":"src/components/message/generated-images-block.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe1214fd57d7cd587ac242e6c536e2c8c84d93fe92c0b3645a025b9b4fe88d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/web/auth.rs: src-tauri/src/web/auth.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is codeg::web::auth::carries_token at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): name another origin, not another site, in the cross-origin refusal\u201D; \u201Cfix(server): refuse a proxy-admitted request that another site\u0027s page sent\u201D; \u201Cfix(web): an expired proxy session asks for a reload instead of reconnecting forever\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/auth.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/auth.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"264b25eced6e56230a3bd483b1e027b0a3fce9cb275a72a0c6c10df85245c4af"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/web/proxy_auth.rs: src-tauri/src/web/proxy_auth.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::web::proxy_auth::verify at line 343), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): fetch a loopback JWKS without the HTTP proxy\u201D; \u201Cfix(server): stop reading a JWKS sent without a length at the size cap\u201D; \u201Cfix(server): answer with proxy keys past their age while they refresh\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/proxy_auth.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/proxy_auth.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c221350feb4fc763bc8a790d36995e98c6526ac71bc312d2128d18e76c23286"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: public/sw.js: public/sw.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is sw.self.addEventListener(\u0022fetch\u0022) at line 120), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pwa): never install over the active worker\u0027s caches\u201D; \u201Cfix(pwa): keep each release\u0027s offline boot self-contained\u201D; \u201Cfix(pwa): stop the service worker looping offline or hiding real responses\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- public/sw.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/sw.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a54fa1fa5de28d4b427c9d4cbc361ea30c297cb463fc2e14b9a279cb01310b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/hooks/use-conversation-detail.ts: src/hooks/use-conversation-detail.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is use-conversation-detail.useConversationDetail at line 32), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(conversations): keep retrying a failed detail fetch every 30 seconds\u201D; \u201Cfix(conversations): stop re-requesting a conversation\u0027s detail as fast as it fails\u201D; \u201Cfix(conversations): keep a newly shown tab from connecting before its detail loads\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-conversation-detail.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":"src/hooks/use-conversation-detail.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e462042ab48a042cfa926f5d6996c06b3fb13eb42d19612994834ad0a428fbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/computer/helper/mcp.rs: src-tauri/src/computer/helper/mcp.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is McpClient::start at line 163), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(computer): keep the driver\u0027s session alive and its captures full size\u201D; \u201Cfix(computer): settle the second review round\u201D; \u201Cfix(computer): close the gaps the M1 review found\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/computer/helper/mcp.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mcp.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2373e4e8d29d6ea5075909bb7b663fd246b99fbeb017af21625720a9eddfb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/network/proxy.rs: src-tauri/src/network/proxy.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is codeg::network::proxy::no_proxy_value at line 184), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(proxy): show the bypass list in one format and state its rules\u201D; \u201Cfix(proxy): keep agents\u0027 loopback traffic off the proxy and add a bypass list\u201D; \u201Cfix(proxy): give a scheme-less proxy address an http:// scheme\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/network/proxy.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/proxy.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45470dae3a44a3e7d6b2afb0cbab6d7a60ff339d602f6ecab9828f4711116b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/web/browser_bridge.rs: src-tauri/src/web/browser_bridge.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is codeg::web::browser_bridge::parse_ports at line 330), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): believe forwarding headers only behind a declared proxy\u201D; \u201Cfix(browser): judge bridge requests without Fetch Metadata too\u201D; \u201Cfix(browser): keep bridge listeners apart and pair the grants\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/web/browser_bridge.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"90184b299c3fe61dca75d286ec4ba5cf5a05449624eefacdb80d457b57abe97f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/ai-elements/rehype-allow-codeg.ts: src/components/ai-elements/rehype-allow-codeg.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is rehype-allow-codeg.rehypePluginsAllowingCodeg at line 48), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(forge): render GitLab issue images from disk cache\u201D; \u201Cfix(chat): refuse Markdown image paths the parser may have glued\u201D; \u201Cfix(chat): render local Markdown images inline\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/ai-elements/rehype-allow-codeg.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":"src/components/ai-elements/rehype-allow-codeg.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3e906a23ebfd052aa5fbfa5502cf4db12fffa3e0773104ba6b7c5e363eeaaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/lib/browser/native-surface-occlusion.ts: src/lib/browser/native-surface-occlusion.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is native-surface-occlusion.acquireNativeSurfaceOcclusion.\u003Creturned closure\u003E at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): hide a browser tab\u0027s page under a fullscreen chat table\u201D; \u201Cfix(browser): let a toast be seen over a page, and stop being an engine with no browser on it\u201D; \u201Cfix(browser): bind occlusion leases to overlay DOM and sweep orphaned surfaces\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/lib/browser/native-surface-occlusion.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":"src/lib/browser/native-surface-occlusion.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"55345b77dc98672b1adcf8533748ae1c2685a4dd69810cd462b3467d53ae56a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/hooks/use-agent-skills.ts: src/hooks/use-agent-skills.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is use-agent-skills.scan at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): list OpenCode\u0027s skills in its slash menu (#1089)\u201D; \u201Cfix(skills): keep one shared skills list that every reader follows\u201D; \u201Cfix(skills): share one skills refetch per window focus across instances\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/hooks/use-agent-skills.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":"src/hooks/use-agent-skills.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b426827ced5528d4986ea23844a9c6e4a6afd6f2f03dc500866c4f3c596020c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/acp_transcript.rs: src-tauri/src/acp_transcript.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is codeg::acp_transcript::compact_batch at line 663), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(usage): record only verified per-prompt adapter counters\u201D; \u201Cfix(acp): keep mid-turn messages, steer custom claude-agent-acp agents\u201D; \u201Cfix(acp): keep the turns a custom agent runs on its own in its history\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/acp_transcript.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c0e8601d507e88814c49875574d9f6e75798d50f5c38fcdeab06a1f32b0dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/message/search-results-output.tsx: src/components/message/search-results-output.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is search-results-output.highlightQuery at line 44), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): drop the search results\u0027 own scroll box inside the panel\u201D; \u201Cfix(chat): bring the timeline\u0027s colours up to WCAG contrast\u201D; \u201Cfix(ui): size the interface in rem so it follows the window zoom\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src/components/message/search-results-output.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":"src/components/message/search-results-output.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d582a75362ac2bc3f1f987a92e288bcb7936f1b035a11963feef50580e7e4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/deep_link.rs: src-tauri/src/deep_link.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is codeg::deep_link::handle_raw_urls at line 256), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(desktop): preserve remote workspaces across activation and reconnect\u201D; \u201Cfix(deep-link): make the handoff exactly-once and give Linux the URL\u201D; \u201Cfix(deep-link): make the codeg:// cold start actually reach the tab\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:43:10 \u002B08:00\u0027 --until=\u00272026-11-16 21:43:10 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/deep_link.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64686739295af8e280262a316fec5b546f34f5151212bd147a9d8fa153f2e61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///             \u251C\u2500\u2500 plan.json          # TODO state \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":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478733890b8d8baf6d8e87ee0406c0f43c8853a8db874cabaa657d34158b88a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo / failed / canceled. Moving to another folder is allowed only for a \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd0f347e11dbf4c518d1802ffcb9278795f07d4c1e3c1eb8c3f2b25af4d11a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo\u2192queued, queued\u2192preparing, preparing\u2192queued \u2014 all on the timeline. \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":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c70354cc5dcdf9514fa95a0c6e78c698bb6e9089c3cac950abf2b017083287c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2192 queued \u2192 running \u21C4 awaiting_input \u2192 review \u2192 merging \u2192 done \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":"src-tauri/src/db/migration/m20260801_000001_work_task.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1237293b0fe1a958b8359419593b7ba495648e73f1b9466b88ef651e41a56e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \u0060todo \u2192 queued \u2192 preparing \u2192 running \u21C4 awaiting_input \u2192 review \u2192 merging \u2192 \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":"src-tauri/src/db/entities/work_task.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e553eebc0bf959ebd00ed5095df30bbac61c259e827e556b98a7287a57e86c8"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // (xxx) **CLI 2.1.299 and 2.1.300.** What reaches codeg: \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":"src-tauri/src/acp/registry.rs"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f5d5c31b4901221b4cacbf68b62557c77857c1d332355117a6f8872008cc3"}},{"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 \u0060package.json\u0060 makes this repository a deployable product (line 7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getJSON\u0060 spells \u0060JSON\u0060 where 38 names in the project spell it \u0060Json\u0060: 38 of 39 names in project codeg spell the token \u0060Json\u0060 (38 of 39; unit: names in project codeg containing \u0060Json\u0060). Peers: json-tree.countJsonNodes (src/components/ai-elements/json-tree.tsx:57); json-tree.parseJsonForTree (src/components/ai-elements/json-tree.tsx:77); mcp-row.prettyJson (src/components/message/activity/rows/mcp-row.tsx:29); goal-tool-call.parseJsonObject (src/components/message/goal-tool-call.tsx:37); AgentDraft.codexAuthJsonText (src/components/settings/acp-agent-settings.tsx:314). Rename to \u0060getJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c170661f2c60da955b2bec7dff8446f78b9ae2ca62d6f495369726372296f8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Preview mode for markdown files\u0022 repeats the code it sits on: 4 of its 4 words (preview, mode, markdown, files) are already in \u0060const isPreviewMode =\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":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85d3bd69e0a68086498c45150e0684d817ac937601f05868fa0a43258b5d87c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort by baseStart, then by side (left first)\u0022 repeats the code it sits on: 5 of its 6 words (sort, base, start, side, left) are already in \u0060ranged.sort(\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":"src/components/merge/merge-diff.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2209f4d2085e64ef388b534e1042c1a73748e608562e5d52efaca94390a588a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort by baseStart\u0022 repeats the code it sits on: 3 of its 3 words (sort, base, start) are already in \u0060mergeHunks.sort((a, b) =\u003E a.baseStart - b.baseStart)\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":"src/components/merge/merge-diff.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b293b18a1959bfad385caf5a2f99502c51770ab7abfb132d8aee7a7ae6c7f4b7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Auto-select next unresolved file\u0022 repeats the code it sits on: 4 of its 5 words (select, next, unresolved, file) are already in \u0060const nextUnresolved = files.find(\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"248aac912af06bfba7c0a6722356f875f81bd1170ee7e90f78faca333fcbc678"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build the result content from base \u002B applied hunks\u0022 repeats the code it sits on: 6 of its 6 words (build, result, content, base, applied, hunks) are already in \u0060const resultContent = useMemo(\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":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6163a3f0914915731fe5805e20dde136de6c91666bbdf518d62cf27d8fcdc883"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2500\u2500 setActiveKey \u2500\u2500\u0022 repeats the code it sits on: 3 of its 3 words (set, active, key) are already in \u0060const setActiveKey = useCallback(\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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":4499}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9cb98df0d11713bae55a7c9108ba661a347cd2ddf182a36131568cfc813ca8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060src-tauri\u0060 (594742 LoC, 2543 module-visible types across 58 directories) overshoots its size bounds. 2 of 2 build unit(s) (Cargo, 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":"src-tauri/Cargo.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ae41302d42442745dad7da746f17ee350d5e267dc4c3c4612b28c439c3e2a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (330448 LoC, 2359 module-visible types across 95 directories) overshoots its size bounds. 2 of 2 build unit(s) (Cargo, 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":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"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":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"2121e53db2df9bc4cdf10bec2dab13c184e66969f51dabe037b7dcca67527e81"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"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":"95c86518b9ad95a400ef73d9039d32575b09c7dd3fc490c40463b4b7e2269082"},"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":"57d94ecf1e4e1b67a0a20e1126764020d74cc51d3a14b0d8b3faf921de4f9ffd"},"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":"44ab766b9ceba5acce5376a793dc45d0e9351e0c81f44332d9165adcfe2ec20a"},"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":"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":"a7db3bc9e130e9265ecdcc885344f1fce626ad26fb8cc0fd7e579af285065cf6"},"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":"a2d4d34db81fb7980bb0374cbffc224c0329c23127b2f87c3c88b3da56ac785c"},"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":"6a4909e3de32a65e7de612969f0295afd84ebde3413edb3fc1fe52d9677ee411"},"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":"cf65fa71a481149d27b336e3e916ba2f55edd467c683acfe1f2d01e550fb6480"},"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":"e90d5ae4ca95058fb8e0b730349886b32da3e9f8ca2f62b599e79a368ff5dc12"},"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":"bb0410ee4cfe4973d155b8561e3e89af5200f9ce81c264c396f787235d3821c6"},"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":"f00325fef59e74123494e6fa059f167187c97c01ae32da41574f045cf019ced9"},"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":"fb230b17a82b36bdedde2cf48183570ade62c29c0906e80763e425f87b5c0c23"},"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":"0bbf3a88f45aeb8027e2b570289dde7011126cd3cfc5817ec662824f297e62bb"},"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":"e14456fb5f63301db25bf55ac67f96de76e7d5b2d0e42532614f9e47c03f2aa7"},"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":"025b8b06af9dc221b74ba0bf5d9379507269ccbcb8823d91905e47d7cc8eae4f"},"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":"da391b1ac22b0ff060a32816bdef05db42022ec8423ae96a34b58e4ce4536eaa"},"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":"4ddf7a1156373ff8894425ab3cdcc6c62eadb6ecfd89483679246817cb613afc"},"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":"868ddf759e71bd9d6fe3fa974feeb7bdb15a6a06def57574795e854e0728f06c"},"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":"00d147a944a8b8ba8c01865548ef3ad48bcd90d31acc3531c2fd3cc9e366a866"},"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":"2af929165d367a6ababbd93eaa753afe39318f2af2d53cc091ba50e1082af19f"},"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":"2cc074ca03002738cd3cc9ccc9f8b9a681176496735869b425d81b66d83a485b"},"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":"e42ba3d84e3bde183a4fd2d72f5ca0c075fc1af571a674fa31b9ba3cb933813c"},"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":"02721915754e4537dade433e8cb07437d130abb31a9f5b59de037a77f3594da2"},"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":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"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":"3697f1522e19a638b7ef88b7aaf49350d5b9b08b7c831fcbc85b3c68f84dd986"},"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":"fb74a59e718a61b51c6a15dfe35f20d46ecd5a38b36668578b2ddda21b37671f"},"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":"e49b2f1dc8b6ada106a5ae99dbd677414f86c9417d6f8d886e453974e952e52e"},"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":"2cda12ade2ec2710b7dca5e054f0e71d75819267a9850f73b253c183b256cf29"},"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":"7adc332f2d68b4a8e35c8868ce3df7038dc1a68ece15e2a5c16dee165f7a002c"},"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":"f9b606b2ca1836ca0dad815cebacbd2a8179aae629ac79c3f8e32bd905cdcdbd"},"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":"ec156991a9356539a00c43ab41b62a6e8b3b60243a49a0fd94d780df05e148cb"},"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":"fb4a23173542d7a1718b502d857067e50a3ab2bcd9e6cbc8252c0d9b2bd57371"},"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":"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":"6fefb5a862019e6537f48d1cc54cfb909690ae67b4719969c16dcad65a24a27d"},"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":"d2afc5a81f5e606c4e1b87b7b2a2619fef6a3941060ed4ebb04aa258f3608437"},"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":"960691d97fbe2b6a685b9a5aa993ca33169d579c014d4f896e1661cc92b48e74"},"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":"fc4496fc674ac0d0155a791281a5c9eac5a014da835f130329efef8dd7eae233"},"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":"91e163fb21b52caaeb36fb609caec021d6cee484d42dabd33b43b04372a9ca1b"},"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":"0aabe60f9485ae4e2f1d6d400f61fb41510a8ad23347871557c15018186090bf"},"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":"8ed6500f5876e81fc17ced2c0ff125e310198fd7c075be25542c2bad7f5111e5"},"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":"6de7e81d72b486d865f0796ad920c682dfa0f0540fd6fab81841cb8d2ea2e1d3"},"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":"c32f3257be0f3133e70554dea51af904e2ed0a1f9ff20884a71300a85ee6f36c"},"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":"55a9feee9774121f2f799f78815f48406c361b20f27615a6b6c4aa576c312700"},"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":"92580436dc7037a3afd597615e1e02779eb2328c8f7b7d3d5e0251c1b35bb619"},"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":"904b3f333838d97fde9dc807fd4560c10f8371b02ab76c0e403975727509d022"},"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":"929889218fe2adba5577454da6e2fffb54a21f38de62c057ea511bf22abbc080"},"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":"01651c3acd1be7f6d2ab4ce1e06b30292eef62f6e055644701e368d30b596563"},"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":"5e8a33a54dc08402893ba3dfc98d14e78055af5595d408b41eab76f50257d089"},"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":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"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":"60e51c12e3490359f01f8cc76d6edc274287dc727633f543076b5287941e8d63"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d8bb945ad24197c70f38b617ace758ec8e010d3520e51bd8ed1bb3df72e68d6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74361249c6b3bf6f43b2daab60178c1abd4c34ccba5e768fc3beca66bfc4d603"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ecd6b0e0812afe618c5075c55cc05ce3e25aa14ba38714eb44919235b19a07a"},"taxa":[{"id":"CWE-89","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":"2bbff10815fbbaf26bda3cdc5c55c8d42d6f539f9a2630f2bd6c1221874570da"},"taxa":[{"id":"CWE-89","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":"9cd52f55f824ce018eb29761305a45864dfe8fd89a9ac359ea77f0090c5d17a0"},"taxa":[{"id":"CWE-89","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":"39109b6bf502c22b76aba76da9a909134a67cd677b016ff8c45e6e15344e71c4"},"taxa":[{"id":"CWE-89","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":"d6240625e800ca7de531a1008971a4af92c08a62ba7b3d1795c6c08f284b23de"},"taxa":[{"id":"CWE-89","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":"2f0b7c2b73aa80ff0dae5deee2412440c2419f4de525cd22ebb47352db5ea548"},"taxa":[{"id":"CWE-89","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":"ca0ce061b1fea11dea78ab2b6a85b52c4209f99e72ef60e929516fd26bda186d"},"taxa":[{"id":"CWE-89","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":"ea7ebd719a1b6a54ae07b203878fe440963bb9addb96c56948dc00c2acdb32f3"},"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":"57338c188744c100670ded5b5788ea8916844502eea93985f28a938a791bc3aa"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efd65c56c4ccb069f075ea13a3d309b91f7e4e95edb9113afa7e7fabb28adc79"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8505dfae79ac1ac160ec4a95e818dfde45d0ee962d2a3fabfb05726e014992bb"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3525ea5a05cdea5602b7596d244dc7830f09b2aeede37d1087189602a56ee4b2"},"taxa":[{"id":"CWE-345","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":"dbae65ae9c9783cdcf896e3003aa797f368a2ebd51ab7fdf68cab0c58338ef18"},"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":"12debda6963edeb04d4ac4e446f07892d2abe6c8022fc98f4e9b9a66195e96cb"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afcb1cc38e01d99f6fc0e65e12c0dbfd1cf5118cd23bba4aa8f04e1f380b0504"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"672c6cba4d594769c96502883558040e73c151cf88ba71f03daf95bbfe34e8c8"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba4fd1d736aabde45fb1d0fecace0b81d0671b7d513090a5a9761fa558e19f03"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2d20c198bfb86c5c03381ab8ed738fdd4fc6f3f0b39f0ca44fe13538b62051c"},"taxa":[{"id":"CWE-345","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":"f8688fbea26d782ee7ef9b569bc21daac4cd79c98188c04cd06d33fba3f06e6b"},"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":"a65e68f2152b907b7fa8ba3c9f5634569d12d4b189a7892aa4be5e75bdc9d975"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"783bcdbf6df8720737bbc58b31a92fd04efe5b6fd316507c611377b80d716349"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5bc14d82981c364570f18349bd805fd4bcbb5e5422087c79a71aac80eab9e16"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf18ded3baf636a2fa947b0a7da34104d46942ded1ae9b79dad9b6f7b45e4f77"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c5fc269e2fc6bb37f5f10cdaae32561123244994f1445a3a1d7340d88ad95ff"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"148a52f18bc3963315a93bdc644c1c5e4b0556bd99ad982b909a03448de49524"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"188b424c1afc6cbdc9c0850a9f593c522099ccb2bbf722a7c47866451c384272"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a07b05e2156781abe258e8dbffdb0e62b098d605451a6325001a09f2af11081"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bc5500ce271d86e3f6081a76cbbe65a14454127559ebb8cc4813696141ee2ca"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"4f19ad2fde6604dbae4837ad357de5438190a9717c67618ac3c7dff8a4318978"},"properties":{"dependency":{"package":"zip","version":"2.4.2","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","RUSTSEC-2026-0545","RUSTSEC-2026-0548"],"severity":"critical","fixedVersion":"9.0.5","relation":"direct","declaredRange":"2","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":"069ce4fdaa0a2ea9ad6d2758b9f7f094dd9414dd0bd0637e3665ada8e3cb4748"},"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","RUSTSEC-2026-0545","RUSTSEC-2026-0548"],"severity":"critical","fixedVersion":"9.0.5","relation":"separate-copy","declaredRange":"2","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.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.4.17","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c175a98fa00a946cd78c8d8875b0fe68a17c1bb8d3df0720efdd70e0220260e5"},"properties":{"dependency":{"package":"openssl","version":"0.10.75","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"severity":"high","fixedVersion":"0.10.78","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":"2482c67acaa16e8d2ececd30a6b398ac640494fd6727529010870d9140cf8d59"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.9","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","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":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.4.0","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":"8bc75d6ae6f61b4c00859aaf5ab70991e1057622810c9a2f9baf0a4daea22f70"},"properties":{"dependency":{"package":"picomatch","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4e0dd83584cb27c0d0d1e9d59854c83a45e11db83ca00fa9a7e894971acb833"},"properties":{"dependency":{"package":"picomatch","version":"4.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7531eb5fa8b12bbac40121f69038f913c6ef844555a157b58db0a6ce500ba8f1"},"properties":{"dependency":{"package":"undici","version":"6.29.0","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.29.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":"a6174b6127c1ef7c9a327ab3132be41788d90354b48aea6b988888d0531c746e"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"separate-copy","declaredRange":"^4.3.6","reachability":{"kind":"production","file":"src/lib/json-render/charts.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":"e652f7cd2095fdfde4dcf680f293b8efb19af902006bba2daa2ea0e280b2a55d"},"properties":{"dependency":{"package":"zod","version":"4.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^4.3.6","reachability":{"kind":"production","file":"src/lib/json-render/charts.ts","line":1}}}},{"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":"aa92114692fa14a8856610f437bb4e3185c169f30a6c12b83b2e7887a75fed16"},"properties":{"dependency":{"package":"anyhow","version":"1.0.101","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":"65c43df04c250fc3bd4e83f06efbd5c557308260e9ae99497ca4c6de86f1db86"},"properties":{"dependency":{"package":"chrono","version":"0.4.43","advisory":"RUSTSEC-2026-0543","severity":"medium","relation":"direct","declaredRange":"0.4","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":"66db5ba9cf8bfcd858457aed5cbc1f7036bac2f32f2eb8dfb61952c400c14c06"},"properties":{"dependency":{"package":"chrono-tz","version":"0.10.4","advisory":"RUSTSEC-2026-0555","severity":"medium","relation":"direct","declaredRange":"0.10","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":"95d011b57d1e3acb9049abc1cb9c149ef21609277992fa8ac28493d28f2c6847"},"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":"178a00c6c350113153d2347e49d088d7521918be733d1e48af0c286948b18f0f"},"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":"f517f532eee860192185b6ef21517080594282777732dc0adc79370bbd7575e7"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.4.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":"b8470d70bebc1d76d706d4345d4dc0223d2edaf5936c81cd6624c7f247ee7efa"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.30.1","advisory":"RUSTSEC-2026-0459","aliases":["BIT-sqlite-2026-119375","[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"severity":"medium","fixedVersion":"0.39.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":"c1722511205bee91e20536963bf3df3c1ee66aefe4ab379f2d0248381ee10270"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","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":"a480367025272469acdc05c0efeea27e564b6d640cec55746a2ab403b6da8691"},"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":"2c483a4a238364a3de471572bed9d40ec0f29eda22e451e9795e6e514df1b4a2"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.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":"b85dd00d15b23db4351ecb17ebce749fb6c323137675ee0deadec12e7b681748"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.8.6","relation":"direct","declaredRange":"0.8","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":"7559ebbd4856ff902a823868fbee900be440cde98d00d821ea999104da06e88e"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.9.3","relation":"separate-copy","declaredRange":"0.8","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":"09268fa64b4b651a07a938d4049303ea65f00f13fd20fbc3891fbbccf9a59fee"},"properties":{"dependency":{"package":"rkyv","version":"0.7.46","advisory":"RUSTSEC-2026-0235","severity":"medium","fixedVersion":"0.8.17","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":"79b0182ff9e312941f3a16fc3fe04b8534fe7dafa0026f4f6b22352d42ad1c20"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"0.10.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":"be4a7edbfc020620bb9cdc132f5744189ee7ba2c9cc1cee23332c6e28219cbe4"},"properties":{"dependency":{"package":"rustix","version":"1.1.3","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":"5b2ef2cf3c8eabf225138bc21001811e8a7225843389975153af4efe45c215bd"},"properties":{"dependency":{"package":"rustls","version":"0.23.36","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":"5d600ee11434747390b464a37bca455dded7baa405363c58b11fc6510518a46c"},"properties":{"dependency":{"package":"serial","version":"0.4.0","advisory":"RUSTSEC-2017-0008","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":"bc49677326840d5a66474ad6b84f78ba31d49dc5078cde4e429c5961ff23ae71"},"properties":{"dependency":{"package":"tar","version":"0.4.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0067","RUSTSEC-2026-0068"],"severity":"medium","fixedVersion":"0.4.46","relation":"direct","declaredRange":"0.4","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":"46a9a2b1fca1f48d4cb1ae80513408cd7eb1e83ad54d0c7c248276e619e88bcd"},"properties":{"dependency":{"package":"tokio","version":"1.49.0","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.51.6","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fc116b222ae23c8dbd16889d7c1035e67c607244d6fb5326e217bd4e3004cd9"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","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":"db88ca3768c62a6a2bd1c939467e42a85ba6e3f284d3ea4ecc48c2d9b2f062dc"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.6","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":"c4ab56c0e623562177bf3fc98f3ad3cc9b6b578418b2fadc757c1412a19ab72f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.6","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"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":"9567bff849cf836b7115700e3a3dddea664a56c67cb0464f9f9ee20baf8e27a8"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.1","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":"524b21b534c92c68b75cee706e50fcccdb96590a839a7ca375f076f28b4760ed"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","severity":"medium","fixedVersion":"0.13.4","relation":"direct","declaredRange":"0.13","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":"aa73c54e765b45a3f2128655416d01dde8df96daa810aa0feb8ded533be262d2"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","severity":"medium","fixedVersion":"7.4.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":"d5873d0ce6dbeeee40bbcea4a80d4eb6bbe9c6cb3879f42905c4c8c03532b5e5"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","severity":"medium","fixedVersion":"7.4.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":"6fd61d1e9f2a29998293f475d33704bcade398d414b026902bf20269dd63400c"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","severity":"medium","fixedVersion":"7.4.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":"7a6e08ec5ff49b4687a1558fd23a5be44ccd90eb5d7b2ebe42377ce00167eedf"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","severity":"medium","fixedVersion":"7.4.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":"74ef70636f15d7ea80f9e754c33a1353b14975487522bc0839096e3c7d7f479b"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","severity":"medium","fixedVersion":"7.4.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":"2e2ae2417fcfe301a84cefa5d8f8ebef81daed9ee197711396febf99a2092c51"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","severity":"medium","fixedVersion":"7.4.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":"c56f64ce9ffa1320e106eff9b87a871351394dd632bee98d875dc357f52b3d80"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","severity":"medium","fixedVersion":"7.4.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":"b15b5c0a64ed29abe153c097b6571bd65341d6e488578417af0e4024f9a1a4e7"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","severity":"medium","fixedVersion":"7.4.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":"b5966febf7b83d54d42183f103ad989350f5e5faeeb425bf27950d5e8fbf3a99"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","severity":"medium","fixedVersion":"7.4.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":"d1533f8da8988901db52b626008e88cbb214b3e4445c031f56889016e485f9a6"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","severity":"medium","fixedVersion":"7.4.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":"04bdea8ca51aea49ffd2a715e7c6ae25b8360e1c0c52cfa90e99fa339e4e3a6f"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"severity":"medium","fixedVersion":"7.4.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":"8daaec8e55daca7612f75049b34412a477cb7b04670a2b5dd1adce6bf992a652"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","severity":"medium","fixedVersion":"2.1.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":"1c973a2a1e2def2baa74c34b1214fa43f0b4c321572ef9d3ca9744c9c37554e7"},"properties":{"dependency":{"package":"zvariant","version":"5.9.2","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":"7332388d8ca187d371348448c920981c6e045ed3bc3c84ab8d48300e4fab2d1e"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.9.2","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":"1c98218c53b66c56892158d62ebcae19aa07e801c5aaf0163dc1041e87914931"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.17","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.19.18","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":"11a8858958f6af7f2809c36538a0c7dba6a1fa7cb81360e64b1ca91be4e8ee1b"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.12","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":"efbda114bddac0c8eaaef9cb588e96e001c33455c95ab78188b98393e539b3f0"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.1.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba88c88c0f4da8eaa88b0cae886b4acc3bb4f750dd875a1809e63c9a06776ad"},"properties":{"dependency":{"package":"hono","version":"4.13.13","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":"4.13.16","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":"7acb66024ada7b946476ca6b010453cb1d9166fc4dd9ff5e3c8d97c5a9080708"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8dca892e6689f1d6a9466c0bfac4bea6ddaa105e743b12997b2fa448ed1aedb"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dab007ffb10203a9ec950958b9c822cd0d6964bf6443696abb0afde988753b07"},"properties":{"dependency":{"package":"next","version":"16.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"16.4.5","relation":"direct","declaredRange":"^16.4.1","reachability":{"kind":"production","file":"next.config.ts","line":1}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"edfa1c4a24d95cdfb9349310efc0f09420f014d066e6301e679ec3eb63e2239f"}},{"ruleId":"D31","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":"f7f4051573b0d1d5e1030dff20f8c7749c2877c6cfe6274f8246d4cd5d7f854e"}},{"ruleId":"D31","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":"6028df6d18215ca9d4556dfb6846c3aa93d7cab71b06a5e65147f844788fe94f"}},{"ruleId":"D31","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":"c8271b7dbf2f5e1899312de033e359bb77513622f7bc578ccf116fa847d4be54"}},{"ruleId":"D31","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":"95d9fd7167d46b5e0a366be07490b40c552dc2ca3dd4351b1c8308c848666d4a"},"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":"D31","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":"1a5954f84a748bc27f821534ef91c303071f6126ecc9469c8a7dad9c36ac4408"},"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":"D31","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":"0fdeeca554792c351f6e943bb32c7bd5f57f5798f241e6290c4d9cffe2836af2"},"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":"D31","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":"267fd09c10766eb078c536a395457f3abd126af0cf7e5b84be0831412cd6cc44"},"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":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","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":"e7fac7df4d54fbe1727a8c780d4ba6e20985616b208f523f394c4c4c2e2167fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 15 of 1363 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1363 of the 1696 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src-tauri/src/db/migration/m20260211_000001_init.rs, src/components/ai-elements/commit.tsx, src/components/ui/combobox.tsx, src-tauri/src/db/migration/m20260703_000001_chat_channel_thread_binding.rs, src/components/ui/field.tsx, src/components/ui/input-group.tsx, src-tauri/src/db/service/thread_binding_service.rs, src/components/ui/tabs.tsx (and 7 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260211_000001_init.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481a1303a075f3d5ac1c82bb0f4a1ffe40732a962bcbf34352d3617d094d4daa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb268a04e6b8b3676f242d5bbef46a929417c29bdc99035608e456301fcaf73d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/combobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff0516bc952c44e17957858ea972c427a5838fa6d4fe15369028792d35f74e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260703_000001_chat_channel_thread_binding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe06afd443a48bf8f890c8ba4eb6412ed9cbe8f4eebc671abb390589ff0f3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/field.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be736c9ca9405a68a432666dd91a07a6457964e4e2c5251b29832055a4aac61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/input-group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d530b8bd7ddc340ffa76d8a3acc66041734463754831892ec2cd57101618e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/thread_binding_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21342f7904c299f8902d0fe4ebbfefea910c0df0ef2cbd7275a78c9b20bc33c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/tabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08edd9ec518ca740b75d925530a1233f18e80f70f2df01908ff6e6f55f56301"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed03ec07fdc3e99b77ff43c06b6fd2f63dca58c0083e30b7e223b60646776d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/task-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd34b1c5cc7fdb836b41e2765319236964a266beca7249bedab85679c72da9a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb31dcf6d31e8f83199e1d6a6e43b11c141e55acd6d61093f21c18a792944ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260226_000001_agent_setting.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9525a61d5e628c531beb23dfcee61dc9c71aab9c756d70d21b7e524bf29c53a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/m20260219_000001_folder_command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdc17226ba42dd75c0423479a14b2f3dd4a96092a452c73afa4686d292877a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-tasks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e36dab9e181f4a5ce0e1114504914e547b7597779490b89a472ef2762f87176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43c693038bb9a4ec63e13df3e495735e73768b03e5099f54817181823277223"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: conversation-detail-panel.tsx \u2194 use-connection.ts: \u0060src/components/conversations/conversation-detail-panel.tsx\u0060 (context components) and \u0060src/hooks/use-connection.ts\u0060 (context hooks) sit in DIFFERENT parts of the tree yet change together 79% of the time (19 of the 24 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 19 shared commits counted here, the most recent 3 are \u00606c0b8acc\u0060 fix(chat): raise \u0022load background activity\u0022 only after a connection\u0027s\u2026; \u0060c9e6329c\u0060 feat(acp): pin claude-agent-acp 0.93.0 and show Claude Code\u0027s Remote \u2026; \u0060e4c38963\u0060 fix(acp): show the session coming up when a historical conversation o\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e07f2cc294a3be6d2599d11447fc249d1844cedd1f9e0b7434c637c6b95ea60"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: content-parts-renderer.tsx, tool-kind-classifier.ts, tool-call-normalization.ts: 3 files \u2014 \u0060src/components/message/content-parts-renderer.tsx\u0060, \u0060src/lib/adapters/tool-kind-classifier.ts\u0060, \u0060src/lib/tool-call-normalization.ts\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/content-parts-renderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90cc11f9dd9d295e30f87bd0424ab251e32a1e3148af81b7fb780738f6b4fb2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: message-input.tsx \u2194 use-session-feedback.ts: \u0060src/components/chat/message-input.tsx\u0060 (context components) and \u0060src/hooks/use-session-feedback.ts\u0060 (context hooks) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 6 shared commits counted here, the most recent 3 are \u00601deaf524\u0060 feat(chat): offer the mid-turn send on every session with a delivery \u2026; \u0060a462935b\u0060 fix(chat): default the mid-turn send to the weaker promise and lock i\u2026; \u0060b058ccbd\u0060 fix(chat): steer a draft with image attachments instead of refusing it \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41968f428a10b308ba77f3089788dc0d36d8acb303226d676f6bdcefa6717498"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: acp-agent-settings.tsx, add-model-provider-dialog.tsx, edit-model-provider-dialog.tsx: 3 files \u2014 \u0060src/components/settings/acp-agent-settings.tsx\u0060, \u0060src/components/settings/add-model-provider-dialog.tsx\u0060, \u0060src/components/settings/edit-model-provider-dialog.tsx\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea658b91363ef8233dc69f092f9c35d95a383fb42386f676f06ca4ea4395ef83"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: codex.rs, gemini.rs, openclaw.rs, opencode.rs: 4 files \u2014 \u0060src-tauri/src/parsers/codex.rs\u0060, \u0060src-tauri/src/parsers/gemini.rs\u0060, \u0060src-tauri/src/parsers/openclaw.rs\u0060, \u0060src-tauri/src/parsers/opencode.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"469522040be8ce787783627fd9ee8159c018b278d54d0db11ef8fc2e459daa36"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: use-appearance.ts \u2194 appearance-script.ts: \u0060src/hooks/use-appearance.ts\u0060 and \u0060src/lib/appearance-script.ts\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060d595d8ee\u0060 fix(chat): keep the chat width in step with zoom and with what the co\u2026; \u006022c65780\u0060 feat(chat): let the chat column width be dragged and set in Settings; \u0060b8e8dea0\u0060 feat(chat): add a setting to turn off chat-area animations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-appearance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd02824ba4e494e22f46400bc030fc41399c0986aa37ba453ac4dd5e45558aa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: aux-panel-file-tree-tab.tsx \u2194 aux-panel-git-changes-tab.tsx: \u0060src/components/layout/aux-panel-file-tree-tab.tsx\u0060 and \u0060src/components/layout/aux-panel-git-changes-tab.tsx\u0060 change together 66% of the time (19 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u0060cde93fb6\u0060 fix(file-tree): line every file row up with its sibling directory; \u0060f16e71c6\u0060 perf(state): migrate tab context to a zustand tab store; \u006060ab7d68\u0060 refactor(workspace): split workspace context into actions/view/fileTa\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e244e788912f0a84b5d7b49d8e1e02d94238d96eddc18a655a766da47935b8f4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: canvas-conversation-surface.tsx \u2194 conversation-detail-panel.tsx: \u0060src/components/canvas/canvas-conversation-surface.tsx\u0060 and \u0060src/components/conversations/conversation-detail-panel.tsx\u0060 change together 64% of the time (9 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060e7679785\u0060 feat(session-details): show the plan, sub-agents and message navigato\u2026; \u0060c9e6329c\u0060 feat(acp): pin claude-agent-acp 0.93.0 and show Claude Code\u0027s Remote \u2026; \u006047970b14\u0060 fix: allow switching harnesses during draft startup \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b39868bf1a9eb54e92edfd40c3da922720ab5de64a23a9416ba645ae00b9de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: composer-invocations.tsx \u2194 message-input.tsx: \u0060src/components/automations/composer-invocations.tsx\u0060 and \u0060src/components/chat/message-input.tsx\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e15d37b6\u0060 docs(chat): describe custom agents\u0027 declared disk skills in the compo\u2026; \u0060466c3df2\u0060 fix(chat): list OpenCode\u0027s skills in its slash menu (#1089); \u006009777a18\u0060 feat(acp): adapt to claude-agent-acp 0.99.1 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b3764d4e3f9e4e0de0c58c6ce8fef0886ec4abacde193e73b4521cb6a0812d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: smoke.rs \u2192 surface.rs, browser-events-bridge.tsx, browser-api.ts: \u0060src-tauri/src/browser/smoke.rs\u0060 changes together with 3 other files \u2014 \u0060src-tauri/src/browser/surface.rs\u0060, \u0060src/components/browser/browser-events-bridge.tsx\u0060, \u0060src/lib/browser/browser-api.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38a9e7f72c1e031ae44a57c4a0efd3b549480dfae0a7393474eaa43e110c2a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: appearance-provider.tsx \u2194 appearance-settings.tsx: \u0060src/components/appearance-provider.tsx\u0060 and \u0060src/components/settings/appearance-settings.tsx\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d595d8ee\u0060 fix(chat): keep the chat width in step with zoom and with what the co\u2026; \u006022c65780\u0060 feat(chat): let the chat column width be dragged and set in Settings; \u0060b8e8dea0\u0060 feat(chat): add a setting to turn off chat-area animations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f88499661062d9b1c96d85580b19236c7bb0107d23540500f88f19ebadc2ca7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: appearance-settings.tsx \u2194 appearance-script.ts: \u0060src/components/settings/appearance-settings.tsx\u0060 and \u0060src/lib/appearance-script.ts\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d595d8ee\u0060 fix(chat): keep the chat width in step with zoom and with what the co\u2026; \u006022c65780\u0060 feat(chat): let the chat column width be dragged and set in Settings; \u0060b8e8dea0\u0060 feat(chat): add a setting to turn off chat-area animations \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdc9329e5905f4c300f964240abf8a2606d430fe8b72682d68a31314870cec1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: work_task.rs \u2194 task-detail-sheet.tsx: \u0060src-tauri/src/commands/work_task.rs\u0060 and \u0060src/components/tasks/task-detail-sheet.tsx\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060a71be92f\u0060 feat(tasks): let an abandon take its worktree, and offer the removal \u2026; \u0060d69c4002\u0060 fix(tasks): measure a task\u0027s own work, not the material it was given; \u00608d9bd04d\u0060 feat(tasks): show the agent\u0027s mark beside the work-task title \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea17134d164aad471eb57e339403b31de55ffa48069b4c3e5e46759393a746b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: file-workspace-tab-bar.tsx \u2194 tab-item.tsx: \u0060src/components/files/file-workspace-tab-bar.tsx\u0060 and \u0060src/components/tabs/tab-item.tsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060de53f8c2\u0060 feat(workspace): polish the background-image appearance and titlebar \u2026; \u00606b2006df\u0060 feat(workspace): host tabs in the title bar and add conversation/file\u2026; \u00605b552dcf\u0060 feat(tabs): close tab on middle-click in session, file, and terminal \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a2f3c48a8078aaa5513f8bccb56af8f21b75739574a56ecfeab76da6702e28"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: git.rs \u2194 aux-panel-git-log-tab.tsx: \u0060src-tauri/src/web/handlers/git.rs\u0060 and \u0060src/components/layout/aux-panel-git-log-tab.tsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006066a911b0\u0060 feat(git): remove a worktree from the branch selector instead of failing; \u00605dafe50a\u0060 feat(git): push any branch and rework the side panel git menus; \u0060ae2750ba\u0060 feat(git): commit, update and stash from the side panel \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/git.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fda94a0aa11cd4b768c954217a6e831fea6c2d318803b6cca7d6e74f2118d6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 api.ts: \u0060src-tauri/src/models/mod.rs\u0060 and \u0060src/lib/api.ts\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00609cc351ad\u0060 feat(tasks): commit a worktree\u0027s leftover changes when delivering a p\u2026; \u0060e09b4916\u0060 feat(window): let the close button be a choice, not a guess; \u0060965697a4\u0060 feat(settings): add a launch-at-login toggle to the desktop app \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b580ed56f33bb89f95d94deee4ba74cea92387dafb9b984681fdac14fadb9a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 types.ts: \u0060src-tauri/src/db/migration/mod.rs\u0060 and \u0060src/lib/types.ts\u0060 change together 50% of the time (10 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b3ba997d\u0060 feat(acp): offer the unreviewed latest release instead of a version c\u2026; \u00609e0cc74d\u0060 feat(remote-workspace): add custom HTTP headers to connections; \u0060e7dd6f4c\u0060 feat(conversations): keep conversation titles in sync with session files \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/migration/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3bf56b7c5c9326e2f1e83c00ff78d944ab147d25ae23f5338ee2d99333ac9d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: work_task_service.rs \u2194 task-card.tsx: \u0060src-tauri/src/db/service/work_task_service.rs\u0060 and \u0060src/components/tasks/task-card.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060bb952802\u0060 fix(tasks): don\u0027t let a context compaction block the merge click or m\u2026; \u00608d9bd04d\u0060 feat(tasks): show the agent\u0027s mark beside the work-task title; \u00602aeb22f2\u0060 feat(tasks): unstick tasks whose worktree was deleted \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5601dfe8935bd4fcad19b7afc91dfda7859f8feef878ab0aa99d1e96499182"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: surface_child.rs \u2194 browser-events-bridge.tsx: \u0060src-tauri/src/browser/surface_child.rs\u0060 and \u0060src/components/browser/browser-events-bridge.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060076b7613\u0060 fix(browser): let a tab\u0027s web inspector open in its own window; \u0060ffd5ba46\u0060 fix(browser): close the gaps review found in site rules, load state a\u2026; \u00608e024418\u0060 feat(browser): find in page with \u2318F \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38287a5f4a57119d8769b4ac1cb5d59c4a86eb0d9540687dc7fe936d5f0eed1f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 browser-api.ts: \u0060src-tauri/src/lib.rs\u0060 and \u0060src/lib/browser/browser-api.ts\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006070255f6a\u0060 fix(browser): give the empty tab a page of its own, in the app\u0027s colours; \u0060076b7613\u0060 fix(browser): let a tab\u0027s web inspector open in its own window; \u00607c5a39d8\u0060 fix(browser): show a download that landed on a network path \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2037ad0bc34f90021a7dcfa9d843c71467c7b99c3cffd7279360e355fa4e68f2"}},{"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":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","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":"563bdf0917f0ecbab433109d371351f664bd9c961c7399331bc0feb0a48b2a0e"},"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":"src/lib/custom-style.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a203d1970d4898ea7af97fbc2fe8314082ac315af5e2ac395c85dd737f6776d9"}},{"ruleId":"AC2","level":"error","message":{"text":"Editable \u003Cdiv\u003E without an accessible name: An element made editable (contenteditable, or role=\u0022textbox\u0022/\u0022searchbox\u0022 with a tab stop or key handling) is a text-entry control, and it has no aria-label, no aria-labelledby and no title, so assistive tech announces an unnamed edit field. Point aria-labelledby at its visible caption, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a5ae765f0332e0d058f8ae9d00518289f8335728982d8bf97ade08220fa671"}},{"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":"src/app/login/page.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"397667ff7b447dc8df673b9254b7e1f67a0125031f14bce88c101b385625482d"}},{"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":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6e7809a5ce1f5324c68691839f90f63fa9e91c6b11b816f3fb9b668f93bd8b"}},{"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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7e0d9eb42b40ed547bc18150dae0088c3a3075a3db19573c3320f2f987b58"}},{"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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6709ffce911d91f89cbf56625ffbf72de1c5244ba0a5ff663259327140960a96"}},{"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":"src/components/canvas/nodes/note-node.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e8dc8ef87fe6c22d0ffdecbeee7f7ddb2d0aebe36accf8f7708bea7c095773"}},{"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":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbab6126b4af0a17ab5bfef44abbac7fb45dc1f024a5f16770ce1f658e57f7c1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86742ba12d448e9f33fd5dc5c55f79b040a1a62020b89cf81fc74d49c6856ea"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextSelect\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":"src/components/chat/message-input.tsx"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f21e519bf94d273dc88fae38a25af9c1fdef9aae46c3a93a76adfc74e27c59"}},{"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":"src/components/chat/message-queue-display.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6286021ea0fdf9bf94a865420a32fd4d3879f20bae1d91a52c61b8b1a9dd7dc5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/chat/plan-approval-card.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2848980297acef519216e9bd57d7083bbb01f5ba25704eab95f40fda49606a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2451630d2f147147daa36e7012bac2e19890dc988fdf9b155116a5f2001cec41"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"481e8b04469a7ad9518cd8158a7f68e6cea54be0aa07f6fb8ee93a962349bb07"}},{"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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ddc7f230871a74e9c4ae43d80cb9f5ed43b72f09d24a94fcf1c5f080999ae5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/conversations/conversation-tag-form-dialog.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c601c995e5fbc52b07f25314313228be424b734b655f5fb56b19991d79e0eee"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\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":"src/components/conversations/move-to-folder-menu.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"285ee4c700583066f5ebf339e101fac204b24dd211aae47f1fad09da425f75a3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\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":"src/components/conversations/move-to-folder-menu.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc26d0af5c135b8de7101fd981382367845dbd77dbf519bb0e1be5da2c282bbb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0ac37e390b2796224d6345a1e324fbe969bc9a0fa6427858d9890924fcd27"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2714}}}],"partialFingerprints":{"codehealthFindingId/v1":"587dc7d1f28dc652cbb8e35e13fc244886aa071504982ba9c8ac6d6ed6a2b2b9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c229c158ddf553aeee5c52538541100577ed4535a92a247503a20465a48ab5b3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/layout/push-workspace.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae90a7d5cbfee9c7d9d3e5ce4fe05f4d003ce224017dfb2aa836fca2c52bd81"}},{"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":"src/components/layout/status-bar-alerts.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2b0316c038a0bf2cfb8050fb2a9112c27f334f88cd55bc7f640f6432f0d2b"}},{"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":"src/components/layout/status-bar-alerts.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e3553ab18046b7d33be4d96dd73349c4d4c08c7d9141bd4a1bd7d9125e892"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4650ba98e4c42a6c78dbd023f28a0aeeab7578efff24aa1c9408f40f69e8d5de"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a9275752a6c7a67386cc1a20a87bbd651f9357f3f2ec3cacb676377d98451"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9998a53629cad50e52515e2bdcb081b154cafc48c9ccecae624e854ae7ce73"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/project-boot/shadcn/shadcn-config-panel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1327db69b4537593b4af4b8f694d1423644f7b89612848c75e9d9791e86a97d1"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4946}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5daaff77a418415430077c023eff0e4801ed91f0d209feb3ecd3fc1f8bf977"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc6a7dde7955493e5bbe3c6249d52d6a71011ada9962eea552b086d99beccc4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":8996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7226dcc10224d8ba60c19addc13e3cc35c170c238f4d0356c8b251be0fe3abd8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9003}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9902d4a444af557c911f8109515dd35cd87a01d1db0717012e60e671fcd164c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9025}}}],"partialFingerprints":{"codehealthFindingId/v1":"534d9be7c5f1bb327bc18b2bfde1091fbc748e9e43bca4cf87789e8a90f5a2c4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9050}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e80a7164534f0851c710ac8c1b00dc3e4b2d90d9d67d5240797d3fccb68fc"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9247}}}],"partialFingerprints":{"codehealthFindingId/v1":"069a9b0c7c0846f9e37b6db6b976ce97ef6c5492e6b9e488d61fb79a4e283ee3"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9256}}}],"partialFingerprints":{"codehealthFindingId/v1":"687833202ac66c4845929b59345ce9d7a9c9f73737110567996618236f815609"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9259}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1b133927d8372ec8bd77c8bb904d3d0251fa989c4a48c8b2f1936a1e35f4b"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9399}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c3f8d9b8e28f794457619e4bcd8172007294a303accc83d778484ba29b684"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a63824964c796bff136bef26e3db3844066c0282e2a62491e2ac43306a57030"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6585904bc66e392d05e17f0a79eca700aa00a1abeea402a36dac33e36dfbb48"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02b7e46125cc7ecd68d0b26c47ae633c91a2417b8ba2537a0f623a5182ae270"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7324ca0b6bf6a9cdfcf587ce62b5d2d1ea67b604354787f1ed2a9de7130d377"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9568}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f1c245d8533717c03ded7afa39bf772f3218f8817ca18e72d28ed1b5222d46"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9615}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e3a20032e9e7f3be4cbaaea3663077506c3a16a97ce5da0c601b84d82facf9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9618}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f40761fbae231ef4d909b1b9544a3e82ef3f825195d6e6449708ceba45963"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9679}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f30c815f6cdef6ceb2c848382148daa9a84b038143d876fd824845f8ce18a"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9701}}}],"partialFingerprints":{"codehealthFindingId/v1":"53becb63261e1de08f03431cd80d8ee94c3f161a22e13f7fc44ae0712ad92807"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9704}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02b989f16bafda4dd50ae82c1bcaf93c521a43f7fbada4ae452001aa3ea2fb9"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb0af23fd1fc51b00f2fdb7b96ed0bd102c6d463c2d68d39653b17c00b1eb7"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9773}}}],"partialFingerprints":{"codehealthFindingId/v1":"26560dace73d62140aa929f9f819a83db89addbdbdcadeeb9cce733feaf7a346"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9799}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cae17b451b72741c65b6ec600a17633161e715d7547e99d3987fd8303e2c3dd"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9814}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada5427cacbb9e9dff00fdd16c5b0f6ae928e8fcefca307b40da7848bc542b03"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac025e7c4f097e95a71964f200911386729ce17484b10d352aa8885cca17e55"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9848}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6593a2733c1c6adcd077f2cc72d79c75373204e1b3f0de0f8db2e315179274"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9851}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d912273a4ea422d081d62ae482f8eda221e6abdd875bbd1f29420553654001"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9967}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec47f6a3c04e77f778efc4f7addd8257fc5b357ff0313065ed8bda60e3c3854"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9976}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ad8da471aab342197e3fe88e9df719c65e53e4fe64baaf89c40535f394084d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9979}}}],"partialFingerprints":{"codehealthFindingId/v1":"040393e7c8b5fa533fd84df35fae6368540808d59a74c75c2812e00bd4ab8a19"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10009}}}],"partialFingerprints":{"codehealthFindingId/v1":"914e15d7067a45ad74b0a98c321b08437930ecd4c5bcfe6a4982bbdef8671cd5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10013}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1a59904b393c62ecbe00e25c7eb3acfb98c806aadeb5ffa88d15b32499f4c2"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10046}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a08637463eab2ef7f3a5d03f16f36fa685963200452491ce1327c055bfe55e7"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10068}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4730a3e9d0abe9427a25ffd8a86565519db148f2ab70755ba52172fc632aaa4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10092}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d115d1519de8a7b3c6c70e1757737d4ba15d2118a681b64882699ddcadc5c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10163}}}],"partialFingerprints":{"codehealthFindingId/v1":"926b029cc01a137612e0bb0d7dcf4bb1ae2196a16d20772dda59be29ae257672"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f400eb832ace9a0b66d114aaab52325d5fdf6dc7c1ebfcd0647a851508f7504"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee81b68824351ead732ff6a0023df340276b60b5ce15ecba05762cc9194137a7"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9252843d5c551a37a827c2640ebf56c362cd4b9e59463a17fad4a5ff825dc6"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10296}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b18efd4e44b0e01f6e790ddccd272e896207c89ffd2b23b99ca5af9a0fb2ec"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f443920628b5dcfc8642f8305d00a26e8a66d449a9ee68379fd05f98e6201b8"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10325}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2c01a2963421a8b70d77eb19246ce9d709d00eb6c863936608849e126db8e"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b51a2485c6afa56f66aead32ed3a8de669c29cf71bb0195f66ffd0876888c4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc1de406a010edb43c20aa84c36e24cc33756af17fa593bcc01b0ad2ae8a60"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10685}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd09abb39c83956c723f341a234cc8d6606985d7b414e050bb1d8f987540148"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10690}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb4405648188466db7d5acb62c525d2a943ca1ce23138c381a00f63c2ac4ca6"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10727}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29eee731bf4abc86338560203960f9d8788c3a02559f464b4d5b122f5e7032e"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10745}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e8984c70ab805bbcd3217b5b483bd2d0df36b662adb6948f7f11b3fa0ec606"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0953d4fab44e4efc0ba520fb10bd9d67d42cb15f8ba79927538878dafaeb4bcd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11126}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c94a91b6149c06d2134ee7daa0ffc7f1a92c42671d4e73011a70712f06a925"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11194}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c0e1b7ad8f31d8126b4c6593aecf243aba2dee0def23a1baf231eacf1e7622"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe6b89cd66156409906adcc3b2eefc602f579dc4b0d6286521244ec0314543"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4307255086a413c5e42eeef795dc8ebbb0250ba8d0968401cc8cabe3f81ac4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7766f5e0bf5c1d8e670d1f4845129062d545f83b1d4de0db1e4fadd63d5da6"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6a1d6f4cf39299b8fc3ff7b488ab64751549e71adfdfa2650cff1f041c588"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e5fb2d2a2871824386b91643fa6eefce27b5f330b5a7f36c091f504cb8e339"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df32ad336c74d800e88a3e549daef7885d7025648f87493eadbd9b364b6a6fd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca733450bb94336416109b90397258b246e5a0b6ce3065ed46e7d3b6c7a57688"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3837c5eae04e463ad5f0aec3f89548db05d1e9819d569ee3ba49a3c1535b7edf"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11458}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b8ca033bb33d2d9d77208077db2209b09b0fa8767d112111200959c337b5d8"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba36ec3af339240f23c91102a33178241105f26e0f0db11209b199d4adae41c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11526}}}],"partialFingerprints":{"codehealthFindingId/v1":"50742fbce0529173b8a03a83120a15ada76e519b6bfdb224c5881bb801ab0ea5"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9549dc9e50431ed63b86e1c8994ed5ffc8e0a9096fbb42372348053f8978c2e5"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11604}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3e99117f4014eb3a601cd46b22789bb8beb6b74397ae13e457ea60cb54c3b2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11607}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0a140d4270f5bbf0ac48802d4f452b8b3a8a36a0820b16c736e70b6eb655c8"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11663}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b736e781cd646212a044c45198cf86b5a5f5311618a3f03588e0eeadef7ff"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e545ba79368900d3528b32b30fe49095692640a4fb240489b678332909a440"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11733}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c0f35767aae93bbff08eb4bd8bb89ed360ad719edb32c9cf554356a80126c9"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11790}}}],"partialFingerprints":{"codehealthFindingId/v1":"30398b62aa66f813cc10e053f4e49ceeda4551564030af18f89bdd1c8dfc91c8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11866}}}],"partialFingerprints":{"codehealthFindingId/v1":"7264f63f150839b36ac98e5b5eb0a904f5b1a0d27d021de932c98ddeda94e136"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12122}}}],"partialFingerprints":{"codehealthFindingId/v1":"183093e77d3f64680c17d834de78b30cb6a449b47a613e19ae92dc37554d9daa"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12133}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd922f1f5eccc15ca9e37002cf5c1dbfd529b2c59eb8f8bec38d99e86d13ae"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8823e20fbfa977dc9707f107527ab045eceb81350fef0c15cc128e5a397b8131"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12223}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c2cb266c3d5021c3b3ca4e86fbec864697d2ba1d12df150901f3f448e48537"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62845145760ebe7240318f05f81463d5ecf0de06234a592c26de269ffbeb2f3"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a5b6d9cf12eaf149716cc7a5098e5139fc41bdcef4f75cac8246bb7231cd4"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee8bdcf045b906d04b51c8a94825f3a237909e64a736a8fa887017925bfcf99"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12394}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d5d6fc0954f5e7dbfebc03c04000e0070c14c7d100d625b7970a4118c9effc"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12413}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c9303725d980af76a717cd4e1095fd6b7ee9548d5e391b6905e0b83992168f"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12451}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ea058bba2dbf1cb775bafec2a3d0304f2b0e62f2ce6a3aa6282f360dcd4706"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12503}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1965f745b24c7a28e32e796e5cab86048d1b157470a23a8338bddc5d2e97f"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12603}}}],"partialFingerprints":{"codehealthFindingId/v1":"7414046af9a57698f1aba6e30ead6799576fdd616172a549f891a288f5185c79"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12651}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e93e3ed372f1bad732ecd31f84d536908a7a9b2d6a0d99e6199168acbdf5ec"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12854}}}],"partialFingerprints":{"codehealthFindingId/v1":"466bd1e61184c2686976e2a269a7c0bfa5f52f49167a0e25d6cc25a7f704af4c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12866}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a25a116219c56d3f01b2b386139d1d5826a8928b3f3df5d550733c39f8a590"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12869}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a71b34b86d69ede7bc10635366e09f356e6808428f8c0d0bb08e072e3ae6801"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12912}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535197ca9d5bb2d60e88bbacc5947866ee981b2f9ddbe0af0aaf5fc0e5d69bd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7da96d7cb225d4bbc43f2fa94597cc0ec9fb2c0ed4a1d5f89c1eed14619c1b7"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12955}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf6a0f9b727162506da0b8753871503dcb947a921ac7f33cf0fdb33e0c6a7e6"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17bdde5289436bee8c5eb03c45b758a1401efb3d0e1aba2f45393d110a10b92"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13036}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674ac5229aa1e8a56bb71130903c1f17f55e4b3aa8fd0f9ae8136674cd865e2"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13056}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6291be5384fd48ad2eccd5bc8bdc5bfbf77b6109e39301fb19796e444c36af1"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13076}}}],"partialFingerprints":{"codehealthFindingId/v1":"be482b5def32cce6c1174f50c83364905b00a599e6677df6c32eca671ab7156c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13096}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df3589838f7f5f3bdedff2a9e33d8106f45752aef253b3430a4ab30e768efdb"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2de956f4726e3b251fd49da38934c0e0ece6c468994b117298185c9787611c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a99a18d267246c49605808d63d9e956285b8e43191ce0046cc3411177170a3c"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d11d69c7a492909e4080d91a35ebdf8816351a984c8feaf4b4c1bfe128fd404"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13182}}}],"partialFingerprints":{"codehealthFindingId/v1":"423364f34c4982bb092af8f3fa7ee72a36600283d7d33cb843e6c4b1f38b6d6a"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f920e26f2a7e8269369afbc10a36c603376f9a276bcee8a47ea79a04f73fa21"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a57be5f7af12ccc9580e8b18ceaf90e1df3a276f05918a67fde0f534053374"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13270}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f879f432713bb8e4d5a6a8f71d0da78c6163c0b7452eabddc391f6cf14935"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e463b2f0652b13c0c6f275ae76035d15946ca26912a1503996da8c79e75438e"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13318}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c642fde542b38ea66986e88c111bb69655b4d4d83f7ff2b23cdf89765730a7"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13337}}}],"partialFingerprints":{"codehealthFindingId/v1":"562c97886a2f46d59233611a05f2931c8d135c7c3496406c009fc0882cebb25d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13340}}}],"partialFingerprints":{"codehealthFindingId/v1":"99182ef822f0a83b42506b53a2667a6f8467bcda1328809a51f734dbc839241a"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edf2f792adce592a91421fb91d01b5c961e187706c17e95bd017aa4b8e0f74f"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ca1ff9ccfbca27f184c71e92d466ed90f7c773d064f299d03cd6368dbddeb8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc314bde7346ebbfbd29f1bebc9a75a9edcfc95c2b8d64c22db4c05ee29749"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fcd385ac7340ef0852f5aa44438c63c29a1e580bd467f7a92c0cfc14308d63"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"55decad90fd4df6716cc0fa819e124331f46d5074f905ba301c09c4aebf6d3d4"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a940bc8ce3399fbb4be876b8af47e8056e79a150ae33434be593bf960b7e949c"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a6e496cef9a88e86c9d32d434238e681eeb06865f2e607792e06fbcf2ba6e0"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a0ab8c3c8cfbdf06f7d9e4b119304a0798fe4425e7359155f3d471ecf4364"}},{"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":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b14a97da879e0a5b29ec3119af0c6576ae60ef59fcbd5e6c6599d0a1a7ddb"}},{"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":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b576cab4a796559aab931b7d3c9af5343c66b8d6de5f847877a898fb91d95"}},{"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":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"38410ab7df864a99ee9cc58439851161415c0532d892d36120a13f2492e106e9"}},{"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":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33d080634d9a0b2623b2c8e4ed0b4886a9704ea938830acf5c530a4fd3ec505"}},{"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":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d458b5ae9f80338d0573a8040c9ed419d44585ea5223edbeeae26531143e49"}},{"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":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"279fb7bc9df5a78118efb4f9509ef3c09245d2d1c39519f91f1108cdc1aca236"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7fcf794fa29a1e488442387a09b1a0decfb2b7fafe32b7d1d2be96449f7416"}},{"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":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec2bde2514dde4391ad71c8910328217263b3207de4c323c6f98c40e57f44a9"}},{"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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e784b150343c239783964d5928af58f6752535e2f9ffd118b526cb8b6b13d3"}},{"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":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139f1ba6b4c6718cac9c5ad512f8267d2321e3ec82efe7be4c9f5e4a87f7b63"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a104d5b4c1be5eab2fea18633c8e9272a4b68d548de9739bda360cab95cb36e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd51fdd4e63701af296f7e371d5206817818ad4e3bd15cf0955f85428fbfc41"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba86e735bab2668f3b850a22b5b05b3189db65c177d0eb588ba7320a9d9d619"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/channel-other-tab.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9b919a72e344611b0ebda427126e2d146e862d5bd9308da1c3454f9ebb4e9"}},{"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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e6ae53d3ebc5f93461e6bb8c3a2a92477ad1fac7883055b827b64d909c757"}},{"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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"347856a8030a78ead274fc4865c0414e12e21f055e646f5c178fc3f97877beaa"}},{"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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eb26fdacf16d2a976ca0ea30e3ad1b8816737490d9266a1b141ff4dc6686bc"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"215da0af26224236a3af04f927040e6510cb26636e0ad969d46b8f8764221b31"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7da3c7755105086a61b4a4f10208b212a984e471e3fa23e07a29480101b79f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde8451c234dca02c1e4e7838bc2bb0a0a3ce00c296d98019e57fd991976552b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b009093124171153d6ceb2314df6609b8a12fbf773b38feeb504ca4511ef197"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19317edee7e334091c2bcf8e1df280743fa1215558ec27fdd306196aa66f6b4"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66a720c6feed98e120282124b3bae21426e0bf71e4984905ea6ff6f3825a7b3"}},{"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":"src/components/settings/command-code-config-panel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db1e560abc355207a48422da78986f3bc004d768e9f958b20816350b75a9c0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffef48cfed14bacbf8c3a80f24ed75062d80c7deed2876dc8cc077e1e24cd43"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f9b7403128df8c432e2d2e1b3cc6fc67e73ec0f1739bccaf1e4901973bf3f"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279ad722f7fcdd5d51d56cf337a307a3f3498e50d726782993aeecf3b8dec72"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e950479ce0b1f96e59bd3d3c8998b82804a731d9272d5ad8ace91830908d7"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76e36c7b9e47813d27bb0d87885d0673b18b36e03a8ef019128a8d629088345"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CCombobox\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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b0885c7a275cdc7411d62351a3b0e6e9ab4dcba563b86ceeb4703bb853369"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da51ebcd6124d50f1ea4d335b288ef569ce8b1b3b6df19199a82d38220717ea"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabbda4de292d4e46c94c9b4a81bc94656993910146bb634df1a50f3b2a699ab"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa1509fb558cf66a0e640a0cd0d262f6f97185f47eb1d92a50314123a0271e2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf0fc3d5ae2b6fd96ab8842c7e0c7c9d5b664e2125db42ed64387148d4ec411"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0d7bff5ae950f086d8282884ded1769a879963eaa766e428667bcdba8b95e0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eb2cde03c2567d11d6de077c0dc8c82fa523d61a678a281380fabf7d848833"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f90f91994ccd4c687dba9c6ef3076df10ba4ec32b9e841a233d1a5047377b2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac283aa7007815764dce8dea4bee7ea687d6d7469b761f86f47547e419637b50"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff912b2b8ec3ab4c03066d1f1d141da820b30a39401fadea90ff3eff72ec0da"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b065e3134fd2f3bedc6812d72003a8194dc0279195995e4443f2c7b25d637d"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"7407f13b55fd5e4031795509cb4f02d59b076a53d540e41130452eba3156a908"}},{"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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2fdb1caaa379c42d89a857c9492489d8807b7d99d50c9cec66c2dd13ce1450"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"418471d3ae9f6c367b2fb7d8d45f7c05a4aecc87270b941353915c3cde88304c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbca76d690a69a3ad7db3a5a42a01d9003794a1e850c152e58aa43ddf8f144f3"}},{"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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01e7bd34887e0a614e07b55697ee824328b0a553140a2ce4f6257abf0b3914"}},{"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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3192db3d4c51a341412f7a8e78c24440a99579af4dc3e7d551dd8c095e804c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e617df062bc7ce31f4991657d8fc4b34d1b8bbde6f1daa85a7091b8ff3306"}},{"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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32d732a9031adc75c67cc28beb84cb4cd4a8eca3b130d8ea0f508e301eb2010"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16e5d8ad356f3c15b0d4ad816a3fc1ea211c69eb781b6ee165a522a3a244c4"}},{"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":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5840a25cd2a7786eeaa3aca7c6748553d08f2bef6aa5ef59d3a6e68d75bbba54"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ae5a427c441225f5e6104e85948b511ea70bb748625ef403e17c72e96edf27"}},{"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":"src/components/settings/deepseek-config-panel.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"645333eec24672459c60567347bfaa4cbba091721e761d8eb94c4ffc234fa27b"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf1bf8c1b3cc1c59463f89aa351b896849ff5925abcd79a1abfcb1090f7e75f"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eda69e3a54d604cd528ed62138a09379e9867d77f528bb2f59f6ff58ca946d9"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072591093448c262284bc3bd5da7469543c6c66cb81ce5cb7e6e9daa9867e60"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"90246d056162df012309d1ec0ab4c878399ce24595fe2aa137ba93bdfc41443a"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"510cac1f844bcd12a5303841055cb186190af92e9cacfa7f8858445c4e128658"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4ea0077804ce4ca158f510cd00d6c338a8c476a578ab8a608641df984ec4cd"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5808227e147f40495e842bbd8b9c31838690795f2fb329a1dd188a8798ecc1"}},{"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":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"642ff8cc50489e72f6f9dc1a6a406d9de506ae19508d3fb88923fb1951748714"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f39597372196507e6a8054137afbbf39bd044bfb03c19f735cdb2faafb4c0"}},{"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":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb90fc017bf9e6b9f1e3b8308c68384133673c910bc70b40414d751ec57a6e9"}},{"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":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3ce2b6103807cc713ce4fa6a11045c0ce275e9b098667035a8071157cc030c"}},{"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":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b7aac38b2e5706f105637f6e829c93c5cea3341e5aba4c13cd12744ff3f5f"}},{"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":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"becbec658bda80d3bd3d356574ee622f4b4c4097eb0f824bd50bf5919997fadc"}},{"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":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a97badbf042602ebce7ca26df74062e5f014fb44aa7394c9b55aa1d69dd67"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92f44bde6a2a0e577bea49b8a3d2522ca508cc64346279394af53aa379847e7"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bf4ecfe39f38d21c8bb5b0065b89fd692a7f183ebbcfe6333f70b727241172"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"9512bfe8a1693d656c614c7be216ff6bc6c484c201ddd28fdd6c8999d5d91157"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85eb61aa3abc41a8ff1d67abf9c6f6d4cc00223ac5bf7c9ca78759376ee627d"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500ce720f8e61d59afc30f254e3a174f3729d91fea7340e7567cce1e66fbd06"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9090fca471c6a0bd01dc6eb94e4648265f7e053f7414d1e54f9ff3d78b2c4dc9"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f49861645e631e292f15883dcba8d55221bb375783a2fbf4c632f573cd4f3f2"}},{"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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f28e69bd5d7f61b46df177cf71337c58960d4c4baa4d3c2c1247351a546e0a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1941fbce39391983384b7e62c19090cbd83964f949fc14dd90a118a1c1da862f"}},{"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":"src/components/settings/kiro-config-panel.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc41dd6526e868309deb7cf020ac31d5aabc340cd9f94db09c46ec09a17417"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/logs-settings.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d57f07606e6259c7563a5eda12995eb307746f57a7d8413e02fc9136c22d11d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/logs-settings.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57cc5f7aa61a3b1a527e957a9d0a01de9160b68037941813b0ed99b2e181598"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/logs-settings.tsx"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5376b09df32ec6d92c99490bf538c9a65c970d0dc51af2c7ec10f2b535d108c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbcead5a6f111e1cec4043713a8a45fd39c13aaf5c220ab0ffb409e09df4cd5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"e140bbc69e4e80884733c16cd1e45ebcdd050902a15240f27a1b00cb3e571901"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f78d191c1c32ce8009d94848173ab741678e8411e8238a449ac531a08aa3b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f1bc5340c61805e8ce315c4edf85c4b29ec4ce46e8aae4c31788f9380f3a9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57fb67ad2ea383317d9acbf576d51e3b9bc5dcc64e00cb6828992ad53c8187a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de07cf7eea3613ba5bcda7a060fbfbb917056fd1901a1354824214731cab95c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9efc51f3aa844ce6bf21a7e47ac627b2d1582c4671d3330528dec5bd5532b9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cd52e9090821b673681ffc365f050380f6b925e3a471a636ddd3a43a975d7a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca65f41709f68d635aac6e28721c965345a563ae3f35e97cf39d90e0b0ea185"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59ca0db151a7c1c10ceb3bf192c84228702dcca0004bc1719893a845fe8ece8"}},{"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":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"27058d1544f0c0b51b88403f36f35464c3f2bbfbd4a7269299100f8f0bc1a332"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126db526857a6da0dd74435f92902a5cf6ad8719df6c7b49faf5ee6def1f344"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d984118f78c20ea8c0c1e074a2ab04bd06ab34c1b4e77894c6e74197b76c13"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ddf4edf852c0bdd35ba7c4683bc4a04fa4c589fe8a643f3581fa84a5369e2d"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"753aba1a8bf02e383140781c231b2d6721f2d5dc2346aa15aa3da4b1c006eecc"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"67993a8b1ba8b0c5cf60ee2ef81487712561f3a87cd2928904c9120a35284a80"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1569354f693278b359e8509c688f2ceb66c51cbcfcd1f0b2a6aad03bc972e9a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d0fd8e2a8d0e6d49fc72fa2126baca23ac103970f9581cd6216085c5c4baf"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297b5b0e1ddea288e5369330e8d8e84c15b36b56998adeb00d5aa2f7920e023"}},{"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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f37c78eb405638b1f11edbdc13cdff58246dceabea233484bd7a3298bc71da"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"86825721cc44f0f46d28191f95cf23dba629f04120835f1567343623ccd7cf8a"}},{"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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab1a8350397662b92ce114a43d04255d0a13e085bf66a60fa56181b9e9a1138"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28469e1393c27ff8b73c6efaa66014e94716d434c41d07472650d8a1e30979"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"96975fd30c38cf50a1a962d955ee9c53be4c33ecbc967c0a813b615fce2d1f49"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d763396abb8ff88564e8d035c7b897d13f12f7458554831381f331b5d431f6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"831e8e5263622295924b5b496466d3dae77f79ba46edebee5bef0010cff1e0ea"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e2275c8f1ef4e361dbb046570c1f7849e3a262709f66cb74279c9942af013"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcddd7bfb88c1968ba19598142befeb96fb809cd513b7dbb4bb9e4be56e874c0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e99c010eec1197c58eb65162f1a3a11180b63b6d970411ffeb9935c501b1e1"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27665154c3d3ae821b02f3f900d496e2fb3707ad547d8fd0fb7d7816dfa27b7"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70a55a6f87b8951ba6edfeabe00c8e5dcabf06bb8e8aa112fe41e40681195e4"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac830ffae42eec73189fa04c25f302538d884f1df43a07aaac6d09a60b4a67"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc63f4b73da68f2d2a0d874428998623530c781c5d76911ce08412cc1152ca1a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"566c99d4e6a8931ec2290ce5c1b8a897fc9153f4527cb4c4f49992b22e4b119b"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27d950d02bb1d7d7e58897eb9db445ed5d2bf9792a3b912d1c9e09b0d412b2a"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad133f5d1e6b671705ec0e37c24840f55b8adb59dea0a153dadaa4e09ad51bcb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb49dd3300880173f64b7b73e4dc0c4c410fb7c11281a53c15bfa930102aaae"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"82825043ec528a42212601dd991970b18cdac3f0ef58d076e2d13d602aac7aca"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e502146e440b0f47fb5e5e06ef31eb9e485a4e678b4c43ebf2d53a0ad64d9a1"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6f0bb7c7270751a4f9bce09cfaf887d6c987c217c31470212289aeb19c7b7"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a982b1450cd59f29afe75c935e7eabe4d6940536685d8224b70cfd3f30d621b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c046a0cc0b420f99b844205589d39ce7cd55a3cdfce3fca9e531287681dc3ed7"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea2b2d36be70de2a9d569f6d86852f011075927e789b2957dc16546eb50c49c"}},{"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":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"54df358fcaf784985983bd33349cb67d4b4bc6949d45a5322ea4b1d3ea6d82b6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"79248742da9c21d5a38c61c372aec15e36165390647839d40fcd9763a1a0790b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5c47fc967581e810c4cbb55f10ec17f1dd5d37398be9d442053af03edd4a1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88e52673d64b3b330f18eb6ad7b87117205aa6c2f57cc2f1a6177b96b1e4663"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\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":"src/components/settings/skills-settings.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"844f2bbe2c2ab8204f01758d3738241a27cc946c5d72859344a8e818cbe12d44"}},{"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":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a4750a74f898a84daa4e0094cfc081846d7a876e0e75d0dfd045a3ad43359"}},{"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":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc7f460500aa8d3f95f0a33c8b684b87f37ff7319d60fb8d9bb93e2864f46ef"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31517e8bef318a3ed28a41086fb50e82dcdc204104b585b5ab6e576bd8bce85"}},{"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":"src/components/settings/trae-config-panel.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3366110906326b0b7309d0a80fe7cc84e48952214a8e9e5107ed1299b95ecc8"}},{"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":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"732e72421f43db2a501d74f7e1f06dce930e14409562fdae444fcaec2001b4ad"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c061ec7d360c9eb5cf079aa7aa76bc24e7d9e5a598514fbda5d269d64e0cfa"}},{"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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4b5a605ce4e4570a22fcd0e2694abfba5a94fd3bf6988110f020eef5fb570c"}},{"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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0975c638ec814c83ec4b516f6493a9c5228fd735561a57087e1c09b4b4bc3971"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2fbbe22f64acc762c66308147ad01dd9ca538a6c766b49462d41da5e5baaec"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4531bd67b929fafaf3053c46bb9dfc68a1c57523f55e610eb0e246e36063951"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"602169640c6cab4dc554aaf0762293dd4e05ce50fe1826551dc40d3fb3b3bfee"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6d6e768d36851058f7cb6882a9c50ff4eebb89bcc330d621258555dd2d0345"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e291dbf281f125629b351875fee6825af79d53add54a75c145b53a0271e57b9"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2223cfbfe6ae20370e50aa1a7b495887471a8e030c49c5246ec9465d04187fc3"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daf8fcc8f143c272e63884fb35a2204b62c7e2df5d9beaabb9ab7c13d76821b"}},{"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":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa30bc54d01c5df9fdea45da6a369abe10adc82602e31e9f66587a5f6b4849a"}},{"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":"src/contexts/git-credential-context.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aed6bfb2a9febd7cfbb181935d20db23711e9e5fab3b5e0f78ae90884bc61f"}},{"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":"src/contexts/git-credential-context.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"19962e7032a1a0e07b9fe3fcd3b3837b967a5e1f93a0bb33bb643cfe1b648506"}},{"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":"src/contexts/git-credential-context.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a83bb13f603b37803d3332de7eccb4cb46f53263bd7c9ead958259d26aea4f"}},{"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":"browser-agent/probe.mjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"45446d1b1ee1c21cded1a39ef5f88c327b706ffdd296cf8eacc17b4c440373ca"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd8a30d522746a2501172b6cd5697b040ea96329e1e0db3618820d666697b6"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a1bfddd06bc5c4072fa426007f101eb4e2ecd4174dbe7ee7d94130e34f364"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc0109e06c6eba3f2f429997655afaebde1d4d1d9a82a652b6dcbe148b2c6e"}},{"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":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f70cc23b4722a15c480a1842af08d0bc17de40f402fc89cab919ceda1ab2e"}},{"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":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3757e2015a51df19a732457e36737edbd2034994dd0d2fd1dea94fc875eb85"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/shadcn-preview.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1eef8b8091743c2937259841db097c5227b1c055e5f6aa489d209dbcc070af"}},{"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":"browser-agent/probe.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a463881ca7c0116afed7bf88e2a111cc405f9fdfe9e75f974f0fc8b10a0d33ae"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/note-node.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c95eecc2e304bdd6d495f6a509b3216a03e7175562f3cb045771d97e17a4e2"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaa164999ee47ceb67ad77aee0a2d446152c925b94916c8eb5b7479c060f429"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, pointerup and pointermove, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/group-split-handle.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ad455ac5ddd05f8ac54f073be43aeeec7b28657b02316b32410af7acf72188"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a \u003Cspan\u003E nested inside \u003Cbutton\u003E: This \u003Cspan\u003E carries its own click handler, but it sits inside a \u003Cbutton\u003E that performs a different action. A keyboard user reaches the \u003Cbutton\u003E and activating it runs the \u003Cbutton\u003E\u0027s handler, never this one, so this action has no keyboard path at all. Role and tabindex cannot supply one: HTML forbids a \u003Cbutton\u003E from containing interactive content or any descendant with a tabindex, so the browser will not put this element in the tab order however it is marked up. Move it out of the \u003Cbutton\u003E and make it a sibling \u003Cbutton\u003E, so each action has its own control."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15433ce1c9e5cf19aa20ec845713d249cc1411728404168f7eb9cb323be3788"}},{"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":"src/components/layout/sidebar.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd44ea2837c6ae452b4dee2c166b1ff70014b9a4a0cfc8963b7647cb422e2cdd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a \u003Cspan\u003E nested inside \u003Cbutton\u003E: This \u003Cspan\u003E carries its own click handler, but it sits inside a \u003Cbutton\u003E that performs a different action. A keyboard user reaches the \u003Cbutton\u003E and activating it runs the \u003Cbutton\u003E\u0027s handler, never this one, so this action has no keyboard path at all. Role and tabindex cannot supply one: HTML forbids a \u003Cbutton\u003E from containing interactive content or any descendant with a tabindex, so the browser will not put this element in the tab order however it is marked up. Move it out of the \u003Cbutton\u003E and make it a sibling \u003Cbutton\u003E, so each action has its own control."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dbf4bfe8f5790bafc7a4a9bba7ea81d194051c2550a524503257fda713fc39"}},{"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":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa6f103955667dbe2c0b7c228446c62ad5fdbcb02305585d017bbfab48b81a"}},{"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":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"634e2c57583118b8a7f39a2e063d1fe43dab72c3f3ac1b3647fe0813a7e115fb"}},{"ruleId":"AC5","level":"error","message":{"text":"Unknown ARIA attribute \u0022aria-label:let\u0022: This is not a valid WAI-ARIA attribute, so assistive technology ignores it (usually a typo). Use the correct aria-* attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/sub-agent-overlay.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2900e678624bf31a031cc3171761e3936825ead5cf12aa28a1e73f52f30e13aa"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.option .letter\u0060 sets color: #86868b on background-color: #e5e5e7 \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b1aacd14cf3c01c166e3b46ead84f99baac4a65c9b8f1070b53ce0811033b4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.6:1): \u0060.option.selected .letter\u0060 sets color: white on background-color: #0a84ff \u2014 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"915ae3c0ca98474ced10ac97d5986545229640f433fe554e05551cfc3ed5a020"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.mockup-header\u0060 sets color: #86868b on background-color: #e5e5e7 \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf4aa2db106693e6538062e8d33b566fbb355d630477f18eacf220e9257963"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.8:1): \u0060.placeholder\u0060 sets color: #aeaeb2 on background-color: #e5e5e7 \u2014 1.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8954282aeb39bbf57c49caac115b68e0ec76c3b39c298ab0962d0718c3075347"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.6:1): \u0060.mock-nav\u0060 sets color: white on background-color: #0a84ff \u2014 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"040a72694a34e182affb3d19db694a9ca75785f2c96a51d3c08a4db847bf4383"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.6:1): \u0060.mock-button\u0060 sets color: white on background-color: #0a84ff \u2014 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/experts/skills/brainstorming/scripts/frame-template.html"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"212e1eecb27bd1b898b2328ebb3feb8d816f183671c36b75f11ae0fcf162cfe2"}},{"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":"src/app/pet/_components/PetBadge.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7a49c30afc0147a5dca4d4c8396a8dcdbaa2ddb3ea4784f8da11278d4937e7"}},{"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":"src/components/automations/automation-editor.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdb1a410abfe045f2f0d528785a665ecfc4ac8da02e41e44b2752c829052bf3"}},{"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":"src/components/automations/automations-page.tsx"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfefd20a756d4d49661f6e050d62a4c9d8d0b41884ad6742efda0ad070170c39"}},{"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":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92197ce3a5e508600579514b81179865297053c97638f065195b023c9fc3945"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[browser-loading_1.2s_ease-in-out_infinite]\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":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2204630cd2be143cd0ada54fc3d005793d5822bacd12d86f850eebcd4361e5ef"}},{"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":"src/components/canvas/nodes/note-node.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"42704e9d0978ddb444d1faebd865c15c4f846abee56acc24efb2f43b42a3bb49"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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":"src/components/chat/chat-width-handles.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8710d94f583ad4ecb3dea6073e16ab0db2fd989e31f827ec906ea0d1187f8a9"}},{"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":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3630356afcb40bd7e01571719354ddd47030417ace3a5de8e154384db58f49ed"}},{"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":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc67b99c65dcfb93ab0ad6b374df5ce2647f36f17c1b01f6716a23c9792418a"}},{"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":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"68668bdc666113246ac1da26b451e59b428e68e03bd836e1742220906eba0fee"}},{"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":"src/components/chat/model-option-list.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd57e90a1979ef482a894c3e861dba641de5686dfd76d45b1f7e77578427cb"}},{"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":"src/components/chat/session-settings-picker.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a95a273edf2ff7ba1b5f683af9ca0c356fbc8eda8ca97aa4ec17d74365fb04"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[computer-marker-fade_1100ms_ease-out_forwards]\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":"src/components/computer/computer-marker.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb91076748aa85dccc6d2da7fbf92203ed2cf6f5a31b4aad7bcc56e21ba7d33"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-[computer-marker-ring_900ms_ease-out_forwards]\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":"src/components/computer/computer-marker.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9af853e9b3ddb0ba337b4733a002f81deda039e88d629e55d52a456f1959e24"}},{"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":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cec0d6b6c1b1bba637dcd3ef5da8beb691e71f1adaa4fd17b42f1219cd752"}},{"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":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d619c87391cc0e3638276f3dc8c019b5a2beb60de258a850a34a2d437171259b"}},{"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":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e21f20f0f9e18fe2aada92aa0fc3eb3c27f11fb38c71905fc90007a777a949"}},{"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":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"820d90340c86adcb13d84822fcdc8b6f29d260f4f2d880b47b6d48b19256ca20"}},{"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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"567432cb97689208221aecc5a7e1d4fc8901d22f077eaaa12b6aba3bba095538"}},{"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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d23f1ee6fc9e9cc45c6c3e7312cc490ef437fbcdb982461e1ff7300e44933c"}},{"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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"79610d1c1aae3424de9d258f9f4cbdfb3d618b4a3f15e741a96fb39c6d426820"}},{"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":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86ad00af7d5facdf444705bc93f110f59d3b6aaa6626e7c994a7e9c397fdcf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43a59aca06990b7d453e99cd26b9b0726f98b356df7a29fd3fd6291c6f000d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e1a0a58dbc95bb68432abc08d0a3114348f83dd662af908a0b4c6e7b91fd0"}},{"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":"src/components/forge/pattern-list-input.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d33b7e88a98bbb61af47748265600f4e8858196f72209bc46ff70f3f0a7eee4"}},{"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":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9f2950d88b406dd8f3b27f2c78dbd4d0e3cb5033e0d94289798c29d7ef0f6b"}},{"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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fbc7237fba3ab63297b579daec4eb34a413ae9772de202ed435e83acacf959"}},{"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":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"55711a9fc2d9bbb58959bcc4c49af743afa8679193cbdb1299433b0a01452f36"}},{"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":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6af64d22477e73d4294110a5c8b1f4dcca510b1dd85ef4429afb423697b4e3"}},{"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":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa10791d527172c6cce0d2b54e8afc403e5ac5abeb79dbfe717458d4ea93889"}},{"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":"src/components/layout/session-details-insights.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f8906af64672a8323817ac7d8bb543d24a5f37d3bf7cda486f07a06217ec70"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/session-details-insights.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b9fbd1b7ba218a97a84c761d2039a9fbca6142fb948d430d6c604fb36b644"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\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":"src/components/layout/status-bar-tasks.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c24f7998390eb4199b5d4bc1bfccdf098ba1356989b188105c6be0662921a2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\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":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8311abd0b62905314d5b007094af6ca8d1d37f3968bc5686d6594d22e8ce5"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99373bc331c764ef49367008ec3387b579f94727e9c6b41e80e9143ad82c1b5"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe27eab5672af7e04b41204058624abe82b9c517d0abb3f9069759923250598"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d22f74b093248a5407d1c2b42e3c8e454a18b458d7c719e9bcfa7f4fc810309"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb13268612047de9b3aaee8dc02a9a00e8361ea6355c8d2ddd4a5194e09617ab"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"b514898535ef2ec0e0d843a595ec95131f58e65ff55872e2f9b09bbf6d06b976"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60debcb4772233e591efb2a9018ba7ede8cf5423217776765f2f9d9b7ac76e5"}},{"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":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee764db6d803181c37f3b012eb00962f2c62436d99dda6a810aca85dcdae89c"}},{"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":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e776a9bd551b97cd21ccb5a88da5f9611f014b3a04c7acb533dcaf6c6ef73355"}},{"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":"src/components/shared/settings-section.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f3b8c6661c519d9e1c0dff7192648030283093de92f4bcb1070726615283bd"}},{"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":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f39b199c6cc280092f29f15580073b10fa393d1f5e79477482c0f554b912ed"}},{"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":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75200fed814a2c2e215b889ba62c10fe0642c481e4850cf6b36001f59ab0532"}},{"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":"src/components/terminal/terminal-tab-bar.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba1a14f528e3e1be5304620bcc081092a972b38454ba6db83ed0c2f7ea2815b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\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":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebc865ba23547850b8b06f1fb8e5331580bbff032a22fb92d3fe91c9d90f9d9"}},{"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":"src/components/token-usage/token-usage-filters.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"153dee04ef4223c562d1985efea6d943e47dd267ea67b7a2cdcdf3cf07624a6c"}},{"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":"src/components/ui/input.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"67501342c9134d878f8883e54c7e78ba54c03f45e8daa3a84431a81a55673ee7"}},{"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":"src/components/ui/textarea.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acdb55f08b8d9c599d202eed4b5bac4468b873330883d5c7e8989bc019bea51"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.codeg-composer .ProseMirror\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":"src/app/globals.css"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"036e98626b1a9af1d07f5bb6eb287be9a7425a0cab34acbe05fce7caaf81d6e5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.canvas-surface .react-flow__node: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":"src/app/globals.css"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec0750b19bddf080f9fecc443f4676b132778c6c2fd3957d50c082c8acb1f9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.forge-progress\u0060 moves (\u0060animation: forge-progress 1.1s 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":"src/app/globals.css"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"704170025707e3450e074bbdd16d4b8f2dc238992e8b9f9df929574d6110b20f"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d96b06685ac5fd0011fe4c3c63bc45079194de3c38d409bbe78822db5da600"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d00e5a92063291c358cdfd6600ed2ab167ffb975528aa46dcfba2924af71b7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba14536beecb559459958ae1ef8d098ec8b1efdbfe916ab9989745710b33cd67"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"30260fa61c3b61b3e4806f504876c4d339c05a8b6d2a9bf2438bc6ff69e3795d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::copy\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"92125032391f890efd924c95f8a30f1bbbcb91ee69a3007fad6e451c0d6a2f0c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_uv_tool calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.ensure_uv_tool\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbbcae16e23fe3a6f64e34aff2f796237ce28542249d0f30c8c3aeee8c2eef6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.uvx_prepared_version calls \u0060std::fs::read_to_string\u0060: \u0060binary_cache.uvx_prepared_version\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c6ac7e461c1b1c6a1992ea4f7a8cbd6aa88b5caa81d1ce5f51379275e3839d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.mark_uvx_agent_prepared calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.mark_uvx_agent_prepared\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4744cb79382fafaf1c672f92ba9131850217f164c1ef01dc3aad1fc6ec96e04"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.mark_uvx_agent_prepared calls \u0060std::fs::write\u0060: \u0060binary_cache.mark_uvx_agent_prepared\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"be66ae6a5a0e48241a59c6e2c9fd28a26dc31cc03ee66c5064f3f4c2933ef1d9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.clear_uvx_agent_prepared calls \u0060std::fs::remove_file\u0060: \u0060binary_cache.clear_uvx_agent_prepared\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e3e3b65968e0dec0fdde80914cbcb3584d32ba638c510b9bd70827bb86379d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.clear_agent_dir_in calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.clear_agent_dir_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"12795649dea8db67c75e3aa6b104fc3d01df82aa85b9b5a1605432dba41473a3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.clear_agent_dir_in calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.clear_agent_dir_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"566a03afe877e9150265309d23dcded3f40f4fd66ae6b998f687ab99bbf430a7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.clear_agent_dir_in calls \u0060std::fs::rename\u0060: \u0060binary_cache.clear_agent_dir_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfa12a3669a881c2b2eca43e17f54301434d3eedc503218379041dad940b27b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.clear_agent_dir_in calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.clear_agent_dir_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"438acf8e71a7a59a4727f27f7912149358d38c21ee6c59297d86b0597ece41e7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.installed_binary_path_in calls \u0060std::fs::remove_file\u0060: \u0060binary_cache.installed_binary_path_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2145e4494d20aa5a2b9c3d523399a37bede995a40872ac5a5a1a49f8d5a72a1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.collect_version_labels calls \u0060std::fs::read_dir\u0060: \u0060binary_cache.collect_version_labels\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec4cc6e22a00e5500cac9e8ec36b1570c3a6619035d256eb6b1774774475452"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.file_sha256 calls \u0060File::open\u0060: \u0060binary_cache.file_sha256\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"db105de31db104499f9b9bb015f74b72b47bf535d2763a5c69524b3e67833c7b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"77899df944126ec19e49a2e3f020494c2417c374d8057505d0376dcc816c70ad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"036dd0aa6a5edc6bbcf24addaf73a0bc999c5c5dc9134780fc53252cdb7a8857"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f237a85b3abb9de78f699c53cde605bba37fe22ce0eeefe0b8ecd60bbda6a2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::create_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd35874668227619d3d90d9057bedd5460b891f05f6b97b95e81a5eb3dcdcb29"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::copy\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf6c541d7752b7d85c1bbe6b56f0869bda18c7d642adbed9a1c8b747cf4b92c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::remove_file\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e3aebee3c08c9ca91fd50d057b106acaa4d1b13e1ba218e7a30cb29d099dff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd3f0330d95e5bf68deafaae1486b15dc5c1203fd0f72c016f646dfdae43630"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.ensure_binary_with_progress calls \u0060std::fs::remove_dir_all\u0060: \u0060binary_cache.ensure_binary_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"574fcddfb36e3b85a2bda8704acc6e6f6d6e5976611a67dc9a45c266a68b24c0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.install_extracted_tree calls \u0060std::fs::read_dir\u0060: \u0060binary_cache.install_extracted_tree\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"928c96ca02e5630fa951065e374c87c3c21112c8315b415603c480eec6f9c0d8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.install_extracted_tree calls \u0060std::fs::rename\u0060: \u0060binary_cache.install_extracted_tree\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a68ac406c1c081f9df7a72db8d4a7357f3229d28638e3d99e7043b4eec3ab3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.download_file_with_progress calls \u0060File::create\u0060: \u0060binary_cache.download_file_with_progress\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ac7205b1b22ebff3bc3a7bcc15d5b254355377d6c278f779f37a360f378d6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.unpack_download calls \u0060std::fs::rename\u0060: \u0060binary_cache.unpack_download\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fce3b4b878dfdb2cbf6397e746d034d480ff7381a2c41e137670e5bbc27fd5a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.extract_tar_gz calls \u0060File::open\u0060: \u0060binary_cache.extract_tar_gz\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef343fac4cf191568cfecd3ba602a75b35a537f1d10d4e425b5b488be7d7e68"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.extract_zip calls \u0060File::open\u0060: \u0060binary_cache.extract_zip\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fcea64427cebf00eb9424807db28ace0057e42888fc86265a60d693c39a17c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.set_executable_permissions calls \u0060std::fs::metadata\u0060: \u0060binary_cache.set_executable_permissions\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"11feece21c4964222c00dad135d2c5603aee6bc78e17c6c7f2da42fd9d675331"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.set_executable_permissions calls \u0060std::fs::set_permissions\u0060: \u0060binary_cache.set_executable_permissions\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb5bedd39fea0c666c05c2476d83b6b02f91533914cbc8e358f911dd073729"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: binary_cache.is_binary_file_compatible calls \u0060File::open\u0060: \u0060binary_cache.is_binary_file_compatible\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab52543c357cd491733c89ae67f8702916db12c9096f2648e313841ca462f615"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: claude_model_picker.user_picker calls \u0060std::fs::read_to_string\u0060: \u0060claude_model_picker.user_picker\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/claude_model_picker.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d26d52f3a0892218da73260de7dbb0692d024226feac8208d1ba9ab44f00e80"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: lock.normalize_home calls \u0060std::fs::canonicalize\u0060: \u0060lock.normalize_home\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/lock.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5634293ef168abb345ef62564b1636b1775a443b8a6a4e9490d10e1994eb4f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: lock.next_seq calls \u0060std::fs::read_to_string\u0060: \u0060lock.next_seq\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/lock.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"469c15d1bc5f7f58aa365f6c603ccf10c995e3b83b044cd8fc652f38a46c28e0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_catalog_commit.read_opt calls \u0060std::fs::read\u0060: \u0060codex_catalog_commit.read_opt\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4797346c9fcc994f0e0f2b803933971d312814f927997a1d12f84232970ad53b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_catalog_commit.same_path calls \u0060std::fs::canonicalize\u0060: \u0060codex_catalog_commit.same_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3bd2022e7d90fee4ca4095fada346326fdd97ee294bbc5fb3ea7c7f9e2a04b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.hash_of calls \u0060std::fs::read\u0060: \u0060txn.hash_of\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccea928514731cae2afd8a926f268dcde3bf533e95c6e1514edcf463162b5d5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.write_synced calls \u0060File::create\u0060: \u0060txn.write_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceebd73d34982cc293a71505d14e5fd64edc43d9f912f8575c1ba58e4ecae3a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.sync_dir calls \u0060File::open\u0060: \u0060txn.sync_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b5057f9ef576fe2561ddedd1f797f987909273cf301b157826365d14c36783"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.rename_over calls \u0060std::fs::rename\u0060: \u0060txn.rename_over\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62087ef1c274c98eeb7470ba55b9acc5457f073b4226322c1f0b92ee82d60e5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.rename_over calls \u0060thread::sleep\u0060: \u0060txn.rename_over\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060thread::sleep\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92ffbe500e9d54cdfa692ee26b2b7c6c6923ed40ab8e1d1f43b59163245b5f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.remove_if_exists calls \u0060std::fs::remove_file\u0060: \u0060txn.remove_if_exists\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c52ffa994747b426228b6062a6fb05d0bead6b86e2072023392eec98a5c0ee9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::create_dir_all\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56f12518b2bc13dd206c1e4d52f2493aa7af1c7e6aa4d3eab62dd12493edfe3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::remove_file\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e4404ceb7efd053b4e738488167e32c6d3b9b9011520980e746381cf55875"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::remove_file\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb2b5a293d2cb2acc39fdc59811da366f287cb7281685dbc07d72d0cd319c1c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::copy\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f4c16c4d2d049045815c5231331679a9a49762ed2d1dd3d305d6a859cb3a08"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::remove_file\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0559466db613e476dbddb18ea558f29966ff29d210d19e4cb8ac26aa26e4c4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.commit_files calls \u0060std::fs::remove_file\u0060: \u0060txn.commit_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a88e788f7f80e1cae71241567cac0e84c16e7301c107fe271d9d860f6cb53a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.finish calls \u0060std::fs::remove_file\u0060: \u0060txn.finish\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"78472de7737b757e9384fdf72297d8e28a37b752fc4dea4b73752b88c078e6b1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.finish calls \u0060std::fs::remove_file\u0060: \u0060txn.finish\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a83ffe46bfc9f34f153f88fca92cadf675531cbdd1b04ca396a30ae4014224"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.finish calls \u0060std::fs::remove_file\u0060: \u0060txn.finish\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"25edb5b4407bf4ed1743bbed5cc0621079703a105386263d4a28f08424978b44"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.recover calls \u0060std::fs::read\u0060: \u0060txn.recover\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"385b66a2efbe8e62c06077adfc4a8765ed5e86eedb91f7c544189137fb1db600"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.sweep_orphans calls \u0060std::fs::read_dir\u0060: \u0060txn.sweep_orphans\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf309726a53d4b305a00d2d8562a3fa0d6e72a484c3e70c897b9c31bc972b21"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: txn.sweep_orphans calls \u0060std::fs::remove_file\u0060: \u0060txn.sweep_orphans\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c455131176d9c1c1f5e2dc90bd65bffc061c8e9b31ab0eaaaeb3d02d5584e18b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_catalog_source.read_cache calls \u0060std::fs::metadata\u0060: \u0060codex_catalog_source.read_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_source.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfc121d8bf8f926f9cfe5f1f23f5c6502b2f5cfa3132baeb16e4ff4c37874e0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_catalog_source.read_cache calls \u0060std::fs::read_to_string\u0060: \u0060codex_catalog_source.read_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_source.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c011567ba93aad37682ddc27dacd4096a50175a032e3827ae288436513a7a3e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_catalog_source.write_cache calls \u0060std::fs::create_dir_all\u0060: \u0060codex_catalog_source.write_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_source.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fd0cd85932884d5d134e6859bae4f45cce0c4e66112c0f7d714d8084c90ab5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_endpoint_catalog.write_atomic calls \u0060File::create\u0060: \u0060codex_endpoint_catalog.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa224fa3f757adf5f32e913406c22289e20e4d1c904c4d355e6e9e9d834616fb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_endpoint_catalog.write_atomic calls \u0060std::fs::rename\u0060: \u0060codex_endpoint_catalog.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ae65a6f43a0df974ed1ffc3e5907e9615a5251a960abb0aba10b401ca223b8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codex_endpoint_catalog.write_atomic calls \u0060std::fs::remove_file\u0060: \u0060codex_endpoint_catalog.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a1c465ae5ce1d401c3ab37d37f8501ec693c10f157700237e5c96b3f7af44"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.read_antigravity_settings calls \u0060std::fs::read_to_string\u0060: \u0060connection.read_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6e3e9c3572295c2f9b2bf0933efd0cc5e657a1f1082b94ff913e9df10d8e9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.write_antigravity_settings calls \u0060std::fs::canonicalize\u0060: \u0060connection.write_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10e3470e1548b8880ae3d87690b19ceaf184165a1278fe266402be7b705361a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.write_antigravity_settings calls \u0060std::fs::create_dir_all\u0060: \u0060connection.write_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"51be59fcf266cdd1fbb4e684581918cd1729f6ea30295546b6c227eb8b0c2018"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.write_antigravity_settings calls \u0060std::fs::write\u0060: \u0060connection.write_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce70807ffe502d3234d6e3ba49b28c2547723496756add431bf00eb939bd7001"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.write_antigravity_settings calls \u0060std::fs::rename\u0060: \u0060connection.write_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5d8f5e27ddc968dee4ac0ec3899e1e00d8865276619838986068b86ad17c0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.write_antigravity_settings calls \u0060std::fs::remove_file\u0060: \u0060connection.write_antigravity_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff73084f3ba71b2b7b65b73c613173162e17c6b674e9b86d1a6eac6547669df1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.codex_app_server_log_dir calls \u0060std::fs::create_dir_all\u0060: \u0060connection.codex_app_server_log_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bf3787809444ec8231295feb1811c6d3db83bdfaf4f45fe9b5a37f222ddcde"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.build_agent calls \u0060std::fs::metadata\u0060: \u0060connection.build_agent\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0982188f2933a8d4a6008cac1b7d41ac2002606b69f200ced1f0eed303470249"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connection.is_executable_file calls \u0060std::fs::metadata\u0060: \u0060connection.is_executable_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888a7d653aa16366fab1f632fa388a5d0abf858d455097eabc38675f60efee1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.maybe_apply calls \u0060std::fs::read_to_string\u0060: \u0060cursor_acp_retry_compat.maybe_apply\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8be146aa110b8cb0bc485cada0fddf4d835daeffe8378ca8371c4dee41be5d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.find_agent_session_bundle calls \u0060std::fs::read_dir\u0060: \u0060cursor_acp_retry_compat.find_agent_session_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fbb08814cf0e63783348ca244c57df6303505f3df25a37e486e368754c60e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.find_agent_session_bundle calls \u0060std::fs::read_to_string\u0060: \u0060cursor_acp_retry_compat.find_agent_session_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"855333f35e5b052ee3e137039ce5a83996308a4a0ca90dc5b229d20218aaeaff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.write_atomically calls \u0060std::fs::write\u0060: \u0060cursor_acp_retry_compat.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"08850f3824e4c8694024f9385e1fbd15c3de9c254a9c1529511f92b4c65283dd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.write_atomically calls \u0060std::fs::remove_file\u0060: \u0060cursor_acp_retry_compat.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd11dd3742ea50b6480761999f717dc6a9d3bc6fc0737fe861bee55ecf8ffd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.write_atomically calls \u0060std::fs::rename\u0060: \u0060cursor_acp_retry_compat.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba7b9ad1cfd8ea403dad8a2b62c819ea34b36b8bf44d32a20b7deae4fff4a6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: cursor_acp_retry_compat.write_atomically calls \u0060std::fs::remove_file\u0060: \u0060cursor_acp_retry_compat.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1398ac5b0fc9043132dd847386dfccea7540027492d936c0226293235e838c3a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: ConnectionManagerLiveReplyLookup.blocked_on calls \u0060blocking_prompt\u0060: \u0060ConnectionManagerLiveReplyLookup.blocked_on\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060blocking_prompt\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/live_reply.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1933e1363594fc90a651f47202f1b287c6e29ad1bc4254d1830651e0621c56"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_system_runtime.canonical_root calls \u0060std::fs::canonicalize\u0060: \u0060file_system_runtime.canonical_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60171a32179cd7e49ba25fbb475d886c20697c481ecbcb53b415c822149bc72"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: manager.launch_dir_matches calls \u0060std::fs::canonicalize\u0060: \u0060manager.launch_dir_matches\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e9fd07a976bda1c998d295095c8593dab135a13ca7532c7edb1b578cd2279e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: manager.launch_dir_matches calls \u0060std::fs::canonicalize\u0060: \u0060manager.launch_dir_matches\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b5d261808c8314e8d7860190807d7e48ca0e2912c1e00c86d75d7173981171"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: GenerationPaths.current calls \u0060std::fs::canonicalize\u0060: \u0060GenerationPaths.current\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/one_shot.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fe089a34618ff61804c555c9b47378854b5ae153c3a1c9f0e157ac1a06436e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: one_shot.run calls \u0060std::fs::create_dir_all\u0060: \u0060one_shot.run\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/one_shot.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fdac935509aca4e724a14958c8bc3ad55386fcef968f8475ad095328e2b2b9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: one_shot.run calls \u0060recv\u0060: \u0060one_shot.run\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/one_shot.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c50964d064827dc0949aef2442dc96e541be8361f6353e4feb099e066a1bc9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_catalog.read_cache calls \u0060std::fs::metadata\u0060: \u0060opencode_catalog.read_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f257ad3174928634849b883233c1041c72c3ebea3e27e9a3a51a1545a71e661"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_catalog.read_cache calls \u0060std::fs::read_to_string\u0060: \u0060opencode_catalog.read_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7151b261130a6c55acd830ce15c7a5bcc3b3f67fa6ca40af97f1e40d2aa8e90"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_catalog.write_cache calls \u0060std::fs::create_dir_all\u0060: \u0060opencode_catalog.write_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8fc0c4fd9beec964e7f192482108106aacb4551ac5062f89926407c2649349"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_catalog.write_cache calls \u0060std::fs::write\u0060: \u0060opencode_catalog.write_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaae36b774724edd289417eb437770abc1cfb1aab3281c333873a7b2867f169"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_catalog.write_cache calls \u0060std::fs::remove_file\u0060: \u0060opencode_catalog.write_cache\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_catalog.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a29dbb34540152276bd0392696570aa925a9521bc90cd1bf790dbcc673a68b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::create_dir_all\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6d854371ceb407e215ac21bfbad15b955d89f29f90dd6bbe5e1cd0fef810d2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::metadata\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4edeeb394f05aa659eca8b78c2986923df31202259415926de363f458f0d086"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::set_permissions\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"250fbb8afbce300c5bf98edece641b42c44acd32bf868cff0db9ee60291b5d34"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::remove_file\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b888b1eb6a9c836ff6bf32bc68d5ac2d588641d3da9eef6b9444a42a3631f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::rename\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b05d6056918662191f66c3c37ab8fca5bc8415fa224c7b8d66190a4c971fe8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.write_atomic calls \u0060std::fs::remove_file\u0060: \u0060opencode_config.write_atomic\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a671842f42d0025ab79d3da49efb1ad5dd287794a41bc4db0f665c2ea990b80"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_config.resolve_symlinks calls \u0060std::fs::read_link\u0060: \u0060opencode_config.resolve_symlinks\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91005b5153154ef9d262e6cbfe1585f289f8ae883074182ccc047f369285ff8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_credentials.helper_directory calls \u0060std::fs::create_dir_all\u0060: \u0060opencode_credentials.helper_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_credentials.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2880bfeefdf8d3348ce3ce47f2a3f0d9cf225bed004e490707fe13a5ec77471a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: opencode_plugins.read_config_text calls \u0060std::fs::read_to_string\u0060: \u0060opencode_plugins.read_config_text\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_plugins.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"16592dc7301dda56229d8fa4e1310cbc6d9ce7a10a0d1c81e52297a69e95e08a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: qoder.read_launcher calls \u0060std::fs::metadata\u0060: \u0060qoder.read_launcher\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db6747d5fb70600daec46f88516225eb16aa1bf21dc19f68fb60ab9012db977"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: qoder.read_launcher calls \u0060std::fs::read_to_string\u0060: \u0060qoder.read_launcher\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3feb0a2ffacb9307b26ec765edbe0d01aa4d4b03f5b7f1f82e3c6bee1c16920"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: qoder.package_root_for calls \u0060std::fs::read_to_string\u0060: \u0060qoder.package_root_for\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f32ba1f085ea11dd334edf686e9d37a5f1f324ffa665127572ae0325feea19"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: qoder.same_file calls \u0060std::fs::canonicalize\u0060: \u0060qoder.same_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd1b16414745dd357568105bee05f96373c6223c3865e37d12829f6cc9e3b77"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.create_root calls \u0060std::fs::create_dir_all\u0060: \u0060scratch_dir.create_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"57445c05c34e2d01dde977d6cd37f27b8107b2e0ab0c7e27f9d215f3c12a8666"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.verify_root_is_ours calls \u0060std::fs::symlink_metadata\u0060: \u0060scratch_dir.verify_root_is_ours\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee17fd44270ee0c3d0e6e6e5c187c174a4861bab94adb6edb1b054bdeb7afd7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.verify_root_is_ours calls \u0060std::fs::set_permissions\u0060: \u0060scratch_dir.verify_root_is_ours\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3702d69dc9bc37957e873d34029ccb6d542e5936b9c0c10fd44f705e043e18"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.create_leaf calls \u0060std::fs::create_dir\u0060: \u0060scratch_dir.create_leaf\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4640b3353c7d923c81e40f6dd61e62561bd16ccfe49e144701da8a4e84e4ac"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.remove_dir_robust calls \u0060std::fs::remove_dir_all\u0060: \u0060scratch_dir.remove_dir_robust\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0cd5cd8cf65e7ee7373dba50a78bb058a4a7c8ade498e39a5940c1ad316c18"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.remove_dir_robust calls \u0060std::fs::remove_dir_all\u0060: \u0060scratch_dir.remove_dir_robust\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb8e59beb9c74da58e2157a6751ca527072533a1119ec08403f299103b5630a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.clear_readonly_recursive calls \u0060std::fs::symlink_metadata\u0060: \u0060scratch_dir.clear_readonly_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"facf51cd81f3366cfc4c079a4230eb40604b39527fb261afae29223af18b4375"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.clear_readonly_recursive calls \u0060std::fs::set_permissions\u0060: \u0060scratch_dir.clear_readonly_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a6fdf1c0db5de35561941b69bc2347128bc49a79ec08113bf40171163e02dc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: scratch_dir.clear_readonly_recursive calls \u0060std::fs::read_dir\u0060: \u0060scratch_dir.clear_readonly_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"41589b36a1cce397a14ec3d0df1e09d3051aaf9d8c9a122957a1eeefe9a14bb0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.a_server_an_agent_starts_is_announced_to_its_window calls \u0060TcpListener::bind\u0060: \u0060terminal_runtime.a_server_an_agent_starts_is_announced_to_its_window\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060TcpListener::bind\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a9ed5d202b7cde3a24cc138e6ee84e79020ed0ffc059219fdd961f0fd300f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.without_a_watch_nothing_is_announced calls \u0060TcpListener::bind\u0060: \u0060terminal_runtime.without_a_watch_nothing_is_announced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060TcpListener::bind\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ced993431769a17ef2c3d06a73ea9e6ca4408829bf3e72edf576fa7220d353"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_uses_the_live_selected_shell calls \u0060std::fs::write\u0060: \u0060terminal_runtime.shell_fallback_uses_the_live_selected_shell\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df82f1b6ce16363dee5f25490dc2b5d0b0dae4e362578a134a9781d87f50395"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_uses_the_live_selected_shell calls \u0060std::fs::metadata\u0060: \u0060terminal_runtime.shell_fallback_uses_the_live_selected_shell\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"823274f9757cc2ca043fa1dd294e51d34ab3ae847ca06dcbaf95a53f54e144ff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_uses_the_live_selected_shell calls \u0060std::fs::set_permissions\u0060: \u0060terminal_runtime.shell_fallback_uses_the_live_selected_shell\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5b941621da8cecc3acfd79e19c162cd3bfa5d57de6cf3905ddfebd2fc42ac"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped calls \u0060std::fs::write\u0060: \u0060terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc411bf1f56db0f42b31742b455b606b1bdc8f9d00c182d21fb2db27bf31eba"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped calls \u0060std::fs::metadata\u0060: \u0060terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6036b98fadae139367db66b0dace0f442432277314e4ebbfa611a445d78fff8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped calls \u0060std::fs::set_permissions\u0060: \u0060terminal_runtime.executable_path_with_spaces_is_not_shell_wrapped\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"426bc8a900663bd11e51f2944cb61920c57746426e28716958d89acc51222a8a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd calls \u0060std::fs::write\u0060: \u0060terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1f689af53c47962101ede3f36a6aaef966dbde4377bdd433e0ad84bef2ed2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd calls \u0060std::fs::metadata\u0060: \u0060terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee3322428dcf5881ed356baa46024a54fbdfe755b411d9d62a45288462f306"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd calls \u0060std::fs::set_permissions\u0060: \u0060terminal_runtime.relative_executable_with_spaces_runs_in_effective_cwd\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f9d0bd29a4e607b627b98fd402aa1d8b047ac669709768025726973ff3bda"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent calls \u0060std::fs::write\u0060: \u0060terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e74fe12af029ca4839b5126d517cd4ad4974406b5839a92c36fd4d327e2350"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent calls \u0060std::fs::write\u0060: \u0060terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4766b6a1e1c9db4972d38d6a656375f12ddce5d4b7d172c5adf55456e3f0baf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent calls \u0060std::fs::write\u0060: \u0060terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"90acedebf846293f13a10ce4e8d4fb2538ea38cadf39a68b335fb3499d103876"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent calls \u0060std::fs::read_to_string\u0060: \u0060terminal_runtime.kill_sweeps_a_descendant_that_outlives_a_sigterm_obedient_parent\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7230c935be399c46b13d93f6138dbdf72ae9d917f410b55950e1fd8c4e3819b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm calls \u0060std::fs::write\u0060: \u0060terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed40c117a6f77608d044daa22d53b459d0a56a063f1b3a67aed4fdc8aaa627bf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm calls \u0060std::fs::write\u0060: \u0060terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72180e12fd9e9a296b354390e90a0212f7a1b83a16a2f62c16aa2c41e51155f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm calls \u0060std::fs::write\u0060: \u0060terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e6571eddf80fe2947e9b5cc6e895feb92cc8c088c9f05f08e1b9a2e4e2e28c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm calls \u0060std::fs::read_to_string\u0060: \u0060terminal_runtime.deep_tree_fixture_reparents_the_leaf_on_sigterm\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27e6eca48d2aa5563910738aa9880ebb60d60ef2bae122f6afa8678597f761d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.release_all_ends_every_terminal_whatever_its_session calls \u0060std::fs::read_to_string\u0060: \u0060terminal_runtime.release_all_ends_every_terminal_whatever_its_session\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a880d69102466ee750cb051186ed10b0857638b854ffc4d2595e3ed0acb854"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.a_terminal_whose_creation_is_dropped_before_registering_is_ended calls \u0060std::fs::read_to_string\u0060: \u0060terminal_runtime.a_terminal_whose_creation_is_dropped_before_registering_is_ended\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142867036893259ddbe15660bddbcc034a2d947a5c07a946d1c2da88b6ea75b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.spawn_rides_out_a_transient_text_file_busy calls \u0060std::fs::write\u0060: \u0060terminal_runtime.spawn_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"175abc080b9d7547c53fc0a20257d74e3eb5e221e4bca3c28c93734650f1e4c5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.spawn_rides_out_a_transient_text_file_busy calls \u0060std::fs::metadata\u0060: \u0060terminal_runtime.spawn_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6214df5306e166b2a8a8753c99c2f39510ac093321362915540b5d51d5ffcc1a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.spawn_rides_out_a_transient_text_file_busy calls \u0060std::fs::set_permissions\u0060: \u0060terminal_runtime.spawn_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08092f89e2c6a1908b01dd382c6770ac1d7d4da24f19ea881fe7256e1032105"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy calls \u0060std::fs::write\u0060: \u0060terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fc8d6098af9abd40d2080c32b26a1c186ffb2ddc21e8400a5f493996c76e1f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy calls \u0060std::fs::metadata\u0060: \u0060terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459042a04d3bd2178f59688061f46f2b9e876f4bb6b20671035f64a01ef5adb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy calls \u0060std::fs::set_permissions\u0060: \u0060terminal_runtime.shell_fallback_rides_out_a_transient_text_file_busy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":2327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2184a714b09b0491f950859804043ccef9bfd82525e869d6b1aa9daa564bd94a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: zcode.js_entry calls \u0060std::fs::canonicalize\u0060: \u0060zcode.js_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/zcode.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c610cc196fdc5f6f29b660ca882df4e508ce81181bb0c008c3eef43712dbd70a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: zcode.js_entry calls \u0060std::fs::metadata\u0060: \u0060zcode.js_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/zcode.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a4ecaf98e6e3e33bcef3aed6e68c2d9f810e0373a66c026b43064ccdd8080e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: zcode.js_entry calls \u0060std::fs::read_to_string\u0060: \u0060zcode.js_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/zcode.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"39834789336d82cc2e00d5ee7ccad7f9a285aaa7e1b3b79fc93362b1ef42b8cf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp_transcript.scan_lines calls \u0060File::open\u0060: \u0060acp_transcript.scan_lines\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"32454be94155d0a9643a539533fad4658a12a5f683fe0c79ea49d9493b53e4b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp_transcript.remove_agent_transcripts_in calls \u0060std::fs::remove_dir_all\u0060: \u0060acp_transcript.remove_agent_transcripts_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"230590868d625aa91aedccbef83a370a04d989e1027b19f95c3f3924b113676e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: codeg_computer_helper.request calls \u0060thread::sleep\u0060: \u0060codeg_computer_helper.request\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060thread::sleep\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_computer_helper.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8280c97041255cee40a978b05da1f1f807155f958dfe30769458892eeaa244e1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: doc_guest.resolve_document calls \u0060std::fs::canonicalize\u0060: \u0060doc_guest.resolve_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"70157684b05e17ce87b36b03a65e35e0afabde2fbf875fab5073a77e408e4fbf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: doc_guest.resolve_document calls \u0060std::fs::canonicalize\u0060: \u0060doc_guest.resolve_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f9fa630f83ba4605dd4669f712e3ad582c722f4fa05e112258381985166862"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: downloads.requested calls \u0060std::fs::create_dir_all\u0060: \u0060downloads.requested\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/downloads.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9964c50598371a23bcd4b0e8a0723ac309146b3041f0369ee04aa5b26547b84e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: profile.prepare calls \u0060std::fs::create_dir_all\u0060: \u0060profile.prepare\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e19c8745515d3eb86e05a6669f3fd0fd6913159ffce43468fcbf7b2ce9623d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: profile.remove_directory calls \u0060std::fs::remove_dir_all\u0060: \u0060profile.remove_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea74dc5f15639a161a5f0eb6185a58c117db9ee40fdd275be03f4566692082"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: profile.run_on_main calls \u0060recv\u0060: \u0060profile.run_on_main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cd76b7470788f8532ff7325d27c3384991dae18b0e58dd99f076bc9444d93d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: smoke.spawn_if_enabled calls \u0060std::fs::read_to_string\u0060: \u0060smoke.spawn_if_enabled\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b529175130f5bddc8b11e2bcc6317a5bfbaf498e956038ff32a19bbcb305b07d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: smoke.write_result calls \u0060std::fs::write\u0060: \u0060smoke.write_result\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd659d57a3456c5e5f5959d3ff1ce2911921e7866d63e5e78d0f33ce0001158"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: smoke.write_result calls \u0060std::fs::rename\u0060: \u0060smoke.write_result\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542861331da4207a78e1496c455feefb72d730ebedaa253f896d06dbdf9fa0a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: smoke.execute calls \u0060std::fs::write\u0060: \u0060smoke.execute\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ddb4c4797c929a227acc6fbb7931779c01c47316302a93971daf074e9af260"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: smoke.execute calls \u0060std::fs::write\u0060: \u0060smoke.execute\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d98da16cd035a8ddc90516b0111da236b0634096634c5dd5e263f9390a24788"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: surface_child.run_on_main calls \u0060recv\u0060: \u0060surface_child.run_on_main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"670401c55ba55e2e609c84519a79cc4af4fa1772f8a4ad58c1da5ff48e270dd7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: surface_window.run_on_main calls \u0060recv\u0060: \u0060surface_window.run_on_main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7cc64657db8e98c491e0a1131e9c00e83f67f6dcef9e2bb079017ca413fd72"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: connect.level calls \u0060std::fs::read_to_string\u0060: \u0060connect.level\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/connect.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e91da399d31286d1063c3e74a9c92944e340c52d55b556ba6f0774ed5d457"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: run.write_atomically calls \u0060std::fs::write\u0060: \u0060run.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"097be85421dbf463eb2680bc36577cd2c22991accd3e6b66067caea799bbc118"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: run.write_atomically calls \u0060std::fs::rename\u0060: \u0060run.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e64162dabbba9ea378c739a3b2b3dd4f89218dc09941f4b1e839e7f7c7cb7a1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: run.write_atomically calls \u0060std::fs::remove_file\u0060: \u0060run.write_atomically\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f266c0a844d7e355fc8a7d1f081f79a15a1917c8aa8e20ddf30eba9f43f6c0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: Standalone.stop calls \u0060std::fs::remove_dir_all\u0060: \u0060Standalone.stop\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/standalone.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"382ec4dc5a05f75bc935e01f7934a8bc2d2c2e205c2f92e836faaefad8881472"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.prepare_dir calls \u0060std::fs::create_dir_all\u0060: \u0060discovery.prepare_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff254374eff751679ec129e40e70ad7053a033b4c35f82111a7aafe400d5125"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.read_records calls \u0060std::fs::read_dir\u0060: \u0060discovery.read_records\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"80191c2483db72c94df414bf7d6c72054982320be66e27a75e1cf1eb83ac961c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.sweep_stale calls \u0060std::fs::read_dir\u0060: \u0060discovery.sweep_stale\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba1eda646b00ec0e9428f0a1d5a653bb4e77fd96d3a4f6a48a52eef9d4b9b91"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.sweep_stale calls \u0060std::fs::remove_file\u0060: \u0060discovery.sweep_stale\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae5c6d24c60b9cb566475ec7341c9843ada98ccd036e230a1e54b3b7eff4b62"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.owned_by_us calls \u0060std::fs::symlink_metadata\u0060: \u0060discovery.owned_by_us\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bc2c34cdeadc86e9d60c02202068316aeac3d2b3d3cdf88e789b662964e5b7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: discovery.prepare_dir calls \u0060std::fs::symlink_metadata\u0060: \u0060discovery.prepare_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2d046de77e2b4bfa7add3ec14a5edfce8226c2cc8b3ed4e6c761c8958c970c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: CliAccess.start_locked calls \u0060std::fs::remove_file\u0060: \u0060CliAccess.start_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5373d1f2c39c179048e32b3d19b248492d39fe7b4d4f0b4ef320a793c38c729"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: CliAccess.stop calls \u0060std::fs::remove_file\u0060: \u0060CliAccess.stop\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3091683bf7523cca502670c2ec415550eb88fca7e7b149b9c517d215e9ed3be4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: worktree.attempt calls \u0060std::fs::create_dir\u0060: \u0060worktree.attempt\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9894637c40d9062bab63a9220a197ec1662d5e8472275184e278a9d849e7951"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: worktree.attempt calls \u0060std::fs::remove_dir\u0060: \u0060worktree.attempt\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2ac418adaee0ff7fe26de2fc8e93bcb93315a10c230f462e16f26f7312454f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: worktree.undo calls \u0060std::fs::remove_dir\u0060: \u0060worktree.undo\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74fafea2910d5dd3b10f236de491ab77e24c85838827caedf900b4f5fda5ad3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: worktree.listed_at calls \u0060std::fs::canonicalize\u0060: \u0060worktree.listed_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32135a29bcc8547a177717e79b8d35d07b9c58c8216114b3813d491ca9f5cff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: worktree.listed_at calls \u0060std::fs::canonicalize\u0060: \u0060worktree.listed_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebd70e62590cb63c830f398e488af84d226c9338262249513cb62ab4443de5f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.grok_native_install calls \u0060std::fs::read_to_string\u0060: \u0060acp.grok_native_install\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae5b0901cdba08fd71e6c73c0c0a8539d70ad4ef03ae5c89a3588e90e9b0bdd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.is_grok_npm_copy calls \u0060std::fs::read_link\u0060: \u0060acp.is_grok_npm_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a40d1a4bcda69f9ec7cdfc3317d45b39170c0b72090a6f81b1d35ef7bea7c18"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.is_grok_npm_copy calls \u0060std::fs::metadata\u0060: \u0060acp.is_grok_npm_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae5554d009dbba62baf4d352b23e97ec2d5980ba9bec70f8a0d7572167d865"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.is_grok_npm_copy calls \u0060std::fs::read_dir\u0060: \u0060acp.is_grok_npm_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f546eb47fa3cf5b90e51864ab626e8ed5aaf5ffb16c8e5e8d881acfceef854c7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.system_dir_agent_version calls \u0060std::fs::metadata\u0060: \u0060acp.system_dir_agent_version\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f711563dc6c0894ace9a7c173c6b2192c6e76884486cbe36be5be569a17374a8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.qoder_probed_version calls \u0060std::fs::metadata\u0060: \u0060acp.qoder_probed_version\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7134a17e46de9c225e0fd324054df65306e34ddc7defc8d06af778ad70743b1a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.system_probed_version_with calls \u0060std::fs::metadata\u0060: \u0060acp.system_probed_version_with\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8430885d2f2e2815fd1ba0b5fa372d8cf8c278cde7243e2512dd96723dff87b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_opencode_config_text calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_opencode_config_text\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c72f34d983b2ec3fd2318126643dcdc54e114befbf156a28f4bc9fa10b43e9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_cline_secrets_json_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_cline_secrets_json_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd33ea67193ec21510edc3fbf2f5fd89b23e5002225055bbb6fddaea412b76c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_cline_provider_settings_at calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_cline_provider_settings_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3345}}}],"partialFingerprints":{"codehealthFindingId/v1":"358d6bb79b290a2ac05d743eac35af7368bdf2b44c02801be632d57e7533786b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_legacy_cline_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_legacy_cline_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d0c9995b80a89d6e88c52b67da509d30053ee63f4e33921da61cef5f28491d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_legacy_cline_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_legacy_cline_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9952458c37f1cda876688c8ecc9b642fff75a2e66b55912b6d3e185e49324865"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.read_json_object calls \u0060std::fs::read_to_string\u0060: \u0060acp.read_json_object\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3774}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1203325d080758c1cb499fa9a28650573c04f48b2e1261422a0f86f0cb4e0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_json_pretty calls \u0060std::fs::create_dir_all\u0060: \u0060acp.write_json_pretty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d2e9f20e93cf0f80be9f2bb5839125959d6e8dd627b1979d0f4f3a42779c6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_json_pretty calls \u0060std::fs::write\u0060: \u0060acp.write_json_pretty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dae6e17af5229b2175956fe237bdf9554cc58f7c4dbabb5492a523c3a45e161"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_codex_auth_json_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_codex_auth_json_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7c3f85a7418e62fb514696b9d405cd60fad2a83ac92bbf22b9182d454e559d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_codex_config_toml_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_codex_config_toml_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e22edb7f0bd288001f9e0e240247e3cf55dda2f023f0831904a8dd3e27752"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_codex_model_catalog_source_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_codex_model_catalog_source_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3805}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e605e83bfa8963fc97d6604678539d71b40e2b6183e12cc96b78679a4a6d715"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.import_existing_codex_catalog_source calls \u0060std::fs::read_to_string\u0060: \u0060acp.import_existing_codex_catalog_source\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3838}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed6c4019c73884cfe2284fa97ef8d1dfb6244cd224bdc562b3a68223339c0af"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.import_existing_codex_catalog_source calls \u0060std::fs::metadata\u0060: \u0060acp.import_existing_codex_catalog_source\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb333cd0117ec33d29de875dda33c57d0f042db23b0f6ec7c39629f0f692c4e6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.import_existing_codex_catalog_source calls \u0060std::fs::read_to_string\u0060: \u0060acp.import_existing_codex_catalog_source\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":3855}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4edeb36386f11d1746c888829a251b1692a61f13514ef24d19d7cb937acf59"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_codex_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_codex_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4022}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e8ffcc3a0c5da8428f6bc8668f1d48f5b1a3ae1380afa32c1374330d9b9e19"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_codex_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_codex_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4027}}}],"partialFingerprints":{"codehealthFindingId/v1":"16547fb55143198b4a539e72369fe31eb726c0831f891e007417a0664ae494a7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_grok_config_toml_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_grok_config_toml_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4351}}}],"partialFingerprints":{"codehealthFindingId/v1":"317530fbcc26c3bbd3ee87a8b7157855952e36c8dd02f0203bdb280a6c9e7569"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.read_grok_config_or_empty calls \u0060std::fs::read_to_string\u0060: \u0060acp.read_grok_config_or_empty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ea366e67fdd62199dd27d02fdb0cb80a516da98d9f17cc717352bc5484dfb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_grok_native_config_files calls \u0060std::fs::create_dir_all\u0060: \u0060acp.persist_grok_native_config_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4379}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a9f9e8e4833c389943f9dad6c3ad6ee4723001543894027de39da7a5c77ad1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_grok_native_config_files calls \u0060std::fs::write\u0060: \u0060acp.persist_grok_native_config_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4382}}}],"partialFingerprints":{"codehealthFindingId/v1":"272dd999344acf6235c9ddacae881bbe80b1c527436f6aae764e4da981bf5d31"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.mutate_kimi_config_toml calls \u0060std::fs::read_to_string\u0060: \u0060acp.mutate_kimi_config_toml\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e77d2874e096a361d93a69aab533acbf9c708e65095050606456666cef1ce25"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.mutate_kimi_config_toml calls \u0060std::fs::create_dir_all\u0060: \u0060acp.mutate_kimi_config_toml\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5588}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43c8c482e0e87a7e9db4dab10500a26283583237696a93bb263883fd201386"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.mutate_kimi_config_toml calls \u0060std::fs::write\u0060: \u0060acp.mutate_kimi_config_toml\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4820fd83b6f957aabf4fafb8c1a8680b6eb3ddb26f0cbe91af2ee36a70ce0328"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.read_kimi_token_at calls \u0060std::fs::read_to_string\u0060: \u0060acp.read_kimi_token_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5598}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc1783ef05d129e77300435c3be6a9a95f74f1c9630ee5c6a20de40e182f68"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.seed_kimi_synthetic_credential_at calls \u0060std::fs::create_dir_all\u0060: \u0060acp.seed_kimi_synthetic_credential_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c46c8bd80498175136941110dc1c42740b0d078a6a04e0a3f258ac7410ac265"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.seed_kimi_synthetic_credential_at calls \u0060std::fs::write\u0060: \u0060acp.seed_kimi_synthetic_credential_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5664}}}],"partialFingerprints":{"codehealthFindingId/v1":"91debe996d202ad58f614640684202c73a0f4b40e2fe7f56fed1e5c3bcfa773d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_kimi_synthetic_credential_if_ours_at calls \u0060std::fs::remove_file\u0060: \u0060acp.remove_kimi_synthetic_credential_if_ours_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fa0f658e7a1893bf08b96810461f6802f8564e75fa04050aa723ebecc34648"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_kimi_code_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_kimi_code_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f788c139d9df124d1fd19efe9cdda9cfc083d81dcdeb4201e2ad93f2bb6155"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_update_kimi_code_config_core calls \u0060std::fs::create_dir_all\u0060: \u0060acp.acp_update_kimi_code_config_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6664792e8fd0a6b479008fb6fa31b2e69e26e7dccc7380e945698baab4ba45"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_update_kimi_code_config_core calls \u0060std::fs::write\u0060: \u0060acp.acp_update_kimi_code_config_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd34fd149e291ba3764ed781e2c422f2e1fc4e5a6dc3f4e608850c63a43c5d0d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.pi_enabled_model_patterns_for_env calls \u0060std::fs::read_to_string\u0060: \u0060acp.pi_enabled_model_patterns_for_env\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a20ad0b21507e4d699e6e9cb873a52e5f4366c6f0c1138d41fe22ee8cee2e5b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.pi_canonical_path calls \u0060std::fs::canonicalize\u0060: \u0060acp.pi_canonical_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfaa151777ad56a2cc7e35f962f41630d84b06abf1fd6c57431f0319ef86c71"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.read_json_object_or_empty calls \u0060std::fs::read_to_string\u0060: \u0060acp.read_json_object_or_empty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa4f71fa59779eb3ea04a5f442b2694336cb073de1abf6052aee1ea375deb8a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_json_object_pretty calls \u0060std::fs::create_dir_all\u0060: \u0060acp.write_json_object_pretty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a054e61a8ccb39eec1de845061b9103ec280a553d3192edf46bd002279059"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_json_object_pretty calls \u0060std::fs::write\u0060: \u0060acp.write_json_object_pretty\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b8696bee3ad4596ec790c35768f8461885e5de0d59d15a1904ee9eb20f991"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.resolve_pi_command_in calls \u0060std::fs::canonicalize\u0060: \u0060acp.resolve_pi_command_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7441}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e86258d59246dd802bb33fa3c4e1597e52a078d584c50cd3063342e8d8c773"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.pi_path_is_executable calls \u0060std::fs::metadata\u0060: \u0060acp.pi_path_is_executable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7889}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcdd8f937bcb9c7ae5c847ee963f5b97fe5852415b9417664349244df99ea35"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.resolve_pi_command_path calls \u0060std::fs::canonicalize\u0060: \u0060acp.resolve_pi_command_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d24342e76286f1d67b24a19a4302c7e066c666117ad6435fcf8461b34fe35"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_hermes_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_hermes_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5275c502ad893ef78553b1ca80a37e087d152c5900e118b526f1f460af8710e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_hermes_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_hermes_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8655b49df08233b732bcf608ec61d3ae125ad65f5127f7865ccfcda89dfc96"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.hermes_skip_chmod calls \u0060std::fs::read_to_string\u0060: \u0060acp.hermes_skip_chmod\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8939}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aa52f9f5090bff3592ee1a58231800433e772e91065483aa0d6ab475ddc14b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.ensure_hermes_home_secure calls \u0060std::fs::create_dir_all\u0060: \u0060acp.ensure_hermes_home_secure\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7950f1770d9ad9eb3c8c8c46f5bfa03afe284f13ea587531a5221196be0f4039"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.ensure_hermes_home_secure calls \u0060std::fs::set_permissions\u0060: \u0060acp.ensure_hermes_home_secure\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8974}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa173549ce5420ca0b4271e1da632d37a8cb6339f63b2823df28d269af576b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_hermes_secret_file calls \u0060std::fs::metadata\u0060: \u0060acp.write_hermes_secret_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9010}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf11eee73638c08a589d4caba2aa2fac353fabacb8db1431014be39d1ed385d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_hermes_secret_file calls \u0060std::fs::write\u0060: \u0060acp.write_hermes_secret_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9025}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb2d6f636824212d8778b9f7d5be6666ab908021a90f5d39c5506605c062376"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_hermes_secret_file calls \u0060std::fs::metadata\u0060: \u0060acp.write_hermes_secret_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9038}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b0ed8df4506252fa47412e6f7a266dab1beacc48c17dc7272ee327e30dbdc1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_hermes_secret_file calls \u0060std::fs::set_permissions\u0060: \u0060acp.write_hermes_secret_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9040}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6cf32f8a835053ac62826d5adbeba1cde75db09b98e1284116b5fca56894be"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_update_hermes_config_core calls \u0060std::fs::read_to_string\u0060: \u0060acp.acp_update_hermes_config_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9070}}}],"partialFingerprints":{"codehealthFindingId/v1":"066d9f293e35c1b2a2f1ee4b93f90c0c798d276306ba587e56c6a6921a33415c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_update_hermes_config_core calls \u0060std::fs::read_to_string\u0060: \u0060acp.acp_update_hermes_config_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9090}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3ea0ad4f558f996e2edcabb1f42df6efc9caa186e563d6938fef81260bae6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.reconcile_hermes_runtime_env_in calls \u0060std::fs::read_to_string\u0060: \u0060acp.reconcile_hermes_runtime_env_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e77ed412119636f20003abbf725deb78032c18ce4b89d1cd604211e15d55899"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.reconcile_hermes_runtime_env_in calls \u0060std::fs::read_to_string\u0060: \u0060acp.reconcile_hermes_runtime_env_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c3232c6dd6a9d97b2692099a11f7718f5eda5005049b2850c91eef7ed84b77"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.codex_style_instructions_file calls \u0060std::fs::read_to_string\u0060: \u0060acp.codex_style_instructions_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3d1eda9db97233138a84c7dbaac9ec608cbf2dc689fef8b6c0131383cc54c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_agent_system_instructions calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_agent_system_instructions\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9557}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cf82ae28f7384497b2ae7e134929f80ae9d4528aeab235c6d0b3b221a525da"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.write_instructions_file calls \u0060std::fs::read_to_string\u0060: \u0060acp.write_instructions_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9615}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cba39cf7bedf0984498c46eced29cb14bf61a0d3cda8f7010f8324ace85ab7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_agent_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_agent_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9656}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c6a009fa20e8a998d60dcd8e0f5ff5d4aedbb01f9c75376a02db7cbf5c0fa7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_agent_local_config_json calls \u0060std::fs::read_to_string\u0060: \u0060acp.persist_agent_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9775}}}],"partialFingerprints":{"codehealthFindingId/v1":"447111fbcffa212e2b222be1f81c64c36620911843a7ec71c343454b256eabad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_agent_local_config_json calls \u0060std::fs::create_dir_all\u0060: \u0060acp.persist_agent_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9791}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f43c2a30934e73e787612f69f69df028527c80b789a3655e067ffdd5a7abd7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_agent_local_config_json calls \u0060std::fs::write\u0060: \u0060acp.persist_agent_local_config_json\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06ca6a67f2dc3686d0597a4faff9adc5e70fef0149b74c832825e66dc1908b0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.read_skill_description calls \u0060File::open\u0060: \u0060acp.read_skill_description\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9af25edbf482f0563fe63877f0c3d7c7652f85988cfff79a545c097e0a032"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10447}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d2daf3cf52d10858f0aca69e99a68860f36f4d5e3dba781371945641179da6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_file\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10461}}}],"partialFingerprints":{"codehealthFindingId/v1":"61011f71d6f5f73ed36abddc0024feb16ec359da430eefea555e913c8f132853"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_dir\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10464}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a207bb1f1766b687c950822182c804bd8d8c8efe20d617201a48f6843a92b5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_file\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10472}}}],"partialFingerprints":{"codehealthFindingId/v1":"244751e8b4a9fc07f97c7f508db14127a27879beb2d6d47cb8e3a8d69b78dd7c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_dir\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7609679983022fe6f9d03617baabbc21ff8d6c734026cf477689097f5fa9e9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_dir_all\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed68d094909ce07d2957e25ab6168d9e4cdbb7d5ae51b969c5e7d3864f3aac1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.remove_skill_entry calls \u0060std::fs::remove_file\u0060: \u0060acp.remove_skill_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f746c8ef413226f79aa2931a3ee96799ed3d3d45e380cac63c7a25357876438d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.list_skills_from_dir calls \u0060std::fs::read_dir\u0060: \u0060acp.list_skills_from_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10499}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef1d563993a0a491c9ef62d5138e3d5ef1b26642763220458e5f48ea2f6e11"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.load_cursor_cli_config_raw calls \u0060std::fs::read_to_string\u0060: \u0060acp.load_cursor_cli_config_raw\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4358ee294ac884cb5345b3dc33bb61e905ec571ba0469c383a7bc948dda529c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_cursor_cli_config calls \u0060std::fs::create_dir_all\u0060: \u0060acp.persist_cursor_cli_config\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10762}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a0ad6caf29f3518c19c6bd4b869b770f28bc12592211b66de737b871e3f390"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_cursor_cli_config calls \u0060std::fs::write\u0060: \u0060acp.persist_cursor_cli_config\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a14fdc779a28135bd6b36ee14669315f39529781d23dfc16b4e44f8f0b933c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_qoder_settings calls \u0060std::fs::create_dir_all\u0060: \u0060acp.persist_qoder_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10793}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bf747510b91a6e7d4cc9775e7b4e6b615dd520c985dd683cd443226f366540"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.persist_qoder_settings calls \u0060std::fs::write\u0060: \u0060acp.persist_qoder_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10796}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0ff2dfb10aeaa7f19eb122496008d71507da1087e6a474076bceb627946500"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_list_agents_core calls \u0060std::fs::read_to_string\u0060: \u0060acp.acp_list_agents_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":12960}}}],"partialFingerprints":{"codehealthFindingId/v1":"9405aced5a060614a8d82dba58c586150fb80cf11e9abbda733e6a5c55365527"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_read_agent_skill calls \u0060std::fs::read_to_string\u0060: \u0060acp.acp_read_agent_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a57dbe72b7afc2964215a82b49b96b797a85323d893ed88605f52415e03403"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_save_agent_skill calls \u0060std::fs::create_dir_all\u0060: \u0060acp.acp_save_agent_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15169}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c761e305b9e00e6874373a20e2308a846dda03384097c20e8471baf6ab292"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_save_agent_skill calls \u0060std::fs::create_dir_all\u0060: \u0060acp.acp_save_agent_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80b96aa043d3fcb316f615204f7665ff1c319114aeecd1b1f17a5c70aa2f5b3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_save_agent_skill calls \u0060std::fs::create_dir_all\u0060: \u0060acp.acp_save_agent_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8b42b2b30bf02969ef730c0344a2e813c6ff42f6536f0cb1bc401526e2d924"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: acp.acp_save_agent_skill calls \u0060std::fs::write\u0060: \u0060acp.acp_save_agent_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15212}}}],"partialFingerprints":{"codehealthFindingId/v1":"569fbbdc9dfa20c475f3ccd883dd8d75882af6a81f6de1ff819a6556f6ce8a84"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: core.total_plaintext_bytes calls \u0060std::fs::metadata\u0060: \u0060core.total_plaintext_bytes\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"500b66d3ef3e145f17916251ede00bdce5252bdac70e7d37641417e56f4e3c66"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: core.total_plaintext_bytes calls \u0060std::fs::metadata\u0060: \u0060core.total_plaintext_bytes\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a6be4bc715acaab277cdeac7aa05338a7a6a7b273cbb9b00f961f4341466b7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: core.scratch_root calls \u0060std::fs::create_dir_all\u0060: \u0060core.scratch_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4135dba09848e8a532b95c7b08d4f34be4eea2b2560368ec8c345cc51f0bebe1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: core.scratch_root calls \u0060std::fs::set_permissions\u0060: \u0060core.scratch_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/core.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab34c056a49e8ecdb100699112e3a6714d1a68490042e6346762a9cdb1b2eb6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: external.estimated_source_bytes calls \u0060std::fs::metadata\u0060: \u0060external.estimated_source_bytes\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"47daf88de40b9318f0585c4ee502aa476c6c3f442113fb76f2417417c53ea106"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.cleanup_transient_dirs calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.cleanup_transient_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14cc6fc6c0dca27a3c6342a3bd5f1ede4293de5ae211e3573851fbcc037ed1b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.cleanup_transient_dirs calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.cleanup_transient_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad8898490a4a4dce8477ce1ab58cb80ab6f6bfa26abae84b9a2586cdeb0f32a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.cleanup_transient_dirs calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.cleanup_transient_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee58dfd8da8421b107bb0de1f236ec14bb5c148221ef5f17d77582a70d82c7c8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.prune_safety_snapshots calls \u0060std::fs::read_dir\u0060: \u0060restore.prune_safety_snapshots\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b5c75ec7e0e118eaf107cd231cc1187aedf7c8ccc9569aa6a5ff699b24a43"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.prune_safety_snapshots calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.prune_safety_snapshots\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"12feefb881380944fb4dee5bcb0641547a1d3eef32dbe5fdb39c09650a6ef617"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.snapshot_sort_key calls \u0060std::fs::metadata\u0060: \u0060restore.snapshot_sort_key\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"778098cfacd67422ddc54dff482cd3451c21ad731b338dcfd59f99e17929492f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::read_to_string\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e700a2389062e8a0ee2d6c5026e69532dd3a7e130dd760b79a373348fd697e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::remove_file\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e694ca692ec60e91c2effb5960d30c8f0ae3f3eb4825f8903131d526660863f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::remove_file\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d78fc0cea62e87ab1c57d609196bd1c3782ff2b419c594c7a23dd28082d747"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::create_dir_all\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ac77352205dd9f9fbbea379495ef9d16712c8de91c6cbcf02d9fae6b86627c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::remove_file\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2202cd61d2e3c2215ac74c15274ae658e7407c1d2e104ab06e7445e67e153e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.apply_pending_restore_with_paths calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.apply_pending_restore_with_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa18f59f2876f9ef832310b67edd5e531a15eca39822e883252ed5d857369c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.read_swap_state calls \u0060std::fs::read_to_string\u0060: \u0060restore.read_swap_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afdb51f9ff9e72247834f12e1bbb049e53e2988d2291520a764f5a0f9ab3ca2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_swap_state calls \u0060std::fs::create_dir_all\u0060: \u0060restore.write_swap_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cadc40a32c55660d5a15720448c260d8e7a6116207532532c8a9ee46bdef22"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_swap_state calls \u0060File::create\u0060: \u0060restore.write_swap_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6bc3b528587e317f63c0e7156f38e564a6ab9392fde44cf8d3da3bf0ce90bd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_swap_state calls \u0060std::fs::rename\u0060: \u0060restore.write_swap_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d5d41ba717296dc3d45c91f9dcf3afd23b81ed0b0a4bc592ac73464dd1ecf4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_swap_state calls \u0060File::open\u0060: \u0060restore.write_swap_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c015945d9f9ccad8341f3e660e7ec4bea15811da8f7f2f9432679337b18660b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_snapshot_manifest calls \u0060File::create\u0060: \u0060restore.write_snapshot_manifest\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"862452093350175244ad351b916ee6821fcbac617ce45c1f3e5752ba8668e01b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_snapshot_manifest calls \u0060std::fs::rename\u0060: \u0060restore.write_snapshot_manifest\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"df703644c2b8120968edb735a9dfafb1058491a7539f526d4b82b6231a7f09a8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.write_snapshot_manifest calls \u0060File::open\u0060: \u0060restore.write_snapshot_manifest\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3bf2c7b3d9354fde87ad7894d743e92ed117957f39e8478ea077c2d7b49c67"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.move_path calls \u0060std::fs::create_dir_all\u0060: \u0060restore.move_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c90e5f5287f0aabfcb714ca2351d87f3936d2e06e4e843be9b3d4d8ec1c8083"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.move_path calls \u0060std::fs::rename\u0060: \u0060restore.move_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fcef5d62de87e9b4dff39ad356f80c6c3a92fd8c198f92d2e13c25319995b9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.move_path calls \u0060std::fs::remove_dir_all\u0060: \u0060restore.move_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f580208bae35559bd86cebf2c6b8e2616c6a3a9355233f37a445aaf434122aa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.move_path calls \u0060std::fs::remove_file\u0060: \u0060restore.move_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab6230967dcb830333652cca5a52d8327c2ea65ea4bae2f8ff26635a976bde7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060restore.copy_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4d9bbd1b36c5570e34924190cfae7a3bc127c7e5fa482c0e1b199d961163ac"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060restore.copy_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"201fc5378700c3503ca34181770eb7e2bd0009d9a566a236daceea82304e3add"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060restore.copy_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"8250151b56336d0eddb1bccbdd5e26940eead97cd5bfba17eba75978bc60baaf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060restore.copy_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e921be9264fcbbfa9737105e076dd5be1ed75d16ff2116365fb7c5bc45d6d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_durable calls \u0060File::open\u0060: \u0060restore.copy_durable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"2582d0934a5cfee974d7e3418bf9a3f103faceb5b2099f8a1603b52f50917fd5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_durable calls \u0060File::create\u0060: \u0060restore.copy_durable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"be332fdc045916e701f58102d1c4d54d4c556188eca6f85c0a940a9fe228c367"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.copy_durable calls \u0060std::fs::set_permissions\u0060: \u0060restore.copy_durable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2458598b1397b9d8beb2e77ebae79427a6d3350cc55e129ba034e5bdc1e672e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: restore.sync_dir calls \u0060File::open\u0060: \u0060restore.sync_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cb4fa5ae8cc448052f8cc19b37d44d1a6dfc6f374adeb21f474800babc0ef4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.release_source_core calls \u0060std::fs::remove_dir_all\u0060: \u0060source.release_source_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e388932b2038deac21ed6eb0195f543e3c30f18e630cbfe6f0dc9c0de60fb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.cleanup_prepared_sources calls \u0060std::fs::remove_dir_all\u0060: \u0060source.cleanup_prepared_sources\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"008880e0e5ed2d0b9f9460f768728d4e2239fc440009648640e30094397cf8da"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.spawn_idle_reaper calls \u0060std::fs::remove_dir_all\u0060: \u0060source.spawn_idle_reaper\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71e06baea67fbcdd25f122cc89e95246c8f7d05edf84dac8caca74ad8c76da"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.prepared_root calls \u0060std::fs::create_dir_all\u0060: \u0060source.prepared_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8f6f5f4756c96b01a60368bb9507a83eec710666cb97b463723095af538767"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.prepared_root calls \u0060std::fs::set_permissions\u0060: \u0060source.prepared_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d4137dd70139b76744e74ff98cbd7455110e63b6165cea3e1eac27808f15d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.read_meta calls \u0060std::fs::read_to_string\u0060: \u0060source.read_meta\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b17d0424aa5168e10d1520c38d5fb411ee78b23f7aca00855fbe903f4e2b3fb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: source.write_meta calls \u0060std::fs::write\u0060: \u0060source.write_meta\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"015b1f500d545c15cfa35c02701108c3f6471a67b8b7a259be601f629f2854ac"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: clipboard.describe_clipboard_files calls \u0060std::fs::metadata\u0060: \u0060clipboard.describe_clipboard_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/clipboard.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f208e4dafae3d704f54dc426dc1812918b7916f26a8ac9b3dc04b6db4222d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: clipboard.resolve_clipboard_paths calls \u0060std::fs::symlink_metadata\u0060: \u0060clipboard.resolve_clipboard_paths\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/clipboard.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"090191ae2044a0a68db0e3f51c45a2db4381cc9fbcb347d4e99a22ad4507facf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: local_io.export_to_file_core calls \u0060std::fs::create_dir_all\u0060: \u0060local_io.export_to_file_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac00d811b0583b8e042be3f4f75a43745a592deb280f5a969f32b6725c0e64d1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: local_io.export_to_file_core calls \u0060std::fs::write\u0060: \u0060local_io.export_to_file_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"696b0a9fca442b38c553206e8231b878d8e98a8b0d559fde437d24a4154918ad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: local_io.read_export_file calls \u0060std::fs::read\u0060: \u0060local_io.read_export_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2583ccd37da3cbbba1c71f958c94c0849f6b3eea914a23864dcae9cc5774a4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.write_rollback_snapshot calls \u0060std::fs::create_dir_all\u0060: \u0060snapshot.write_rollback_snapshot\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8905ae1406822baa5dc720f890ed2ba584b345fb1014e9676f401ed0bb2a5ec9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.write_rollback_snapshot calls \u0060std::fs::write\u0060: \u0060snapshot.write_rollback_snapshot\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffa5b1e9d5694b32b40bdfbba7bc1468334da996537cc8a5a2e0e1efdb0fcbf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.list_rollback_snapshots calls \u0060std::fs::read_dir\u0060: \u0060snapshot.list_rollback_snapshots\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84a4cf69797a7fce453decf5c929bede994e01002fe92cd2c169806256416ee"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.prune_rollback_snapshots calls \u0060std::fs::remove_file\u0060: \u0060snapshot.prune_rollback_snapshots\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fa2b7089a52d5b3d965c326efa56905ed7b5b0e3b575fc65cc1b334735d254"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.list_rollback_infos calls \u0060std::fs::read\u0060: \u0060snapshot.list_rollback_infos\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f467c3ec1128ea94d622caba2967eea81f0d7dc444c4dc3ec2d555217b6443df"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: snapshot.read_rollback calls \u0060std::fs::read\u0060: \u0060snapshot.read_rollback\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c1cf2451186911044dc5521712b3b2dfcd8d61c262681805434879007da4b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.create_chat_dir_core calls \u0060std::fs::create_dir_all\u0060: \u0060conversations.create_chat_dir_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb191e8b643083d2ca428cffa7bc58a32acc35d680dd530453c92b209f7328f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.gc_orphan_chat_dirs_core_with_threshold calls \u0060std::fs::read_dir\u0060: \u0060conversations.gc_orphan_chat_dirs_core_with_threshold\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598d9a2986199cddd40ba1ae1a88260e5e8737bc47396c3ca5777239645a3fa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.gc_orphan_chat_dirs_core_with_threshold calls \u0060std::fs::read_dir\u0060: \u0060conversations.gc_orphan_chat_dirs_core_with_threshold\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"731437e2fe1bc69b02872a69afc89a5e0cf8b5bfa40941040d441b732447fb62"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.gc_orphan_chat_dirs_core_with_threshold calls \u0060std::fs::remove_dir_all\u0060: \u0060conversations.gc_orphan_chat_dirs_core_with_threshold\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab019c437d94cd2ed467f5ccbabdbe321f8b54a15b3d9d6f831893ea93bce019"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.gc_orphan_chat_dirs_core_with_threshold calls \u0060std::fs::remove_dir\u0060: \u0060conversations.gc_orphan_chat_dirs_core_with_threshold\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b16b3588462175dcb7cb1bbc436c48b904edb743ca066a0e4311a06cbe39da4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: conversations.create_chat_conversation_core calls \u0060std::fs::create_dir_all\u0060: \u0060conversations.create_chat_conversation_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"79611cb82cf10706d06336d306f5dfe05a42c5aeb3089aa876ea05c1dfcc83f8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: create_directory.create_directory_core calls \u0060std::fs::metadata\u0060: \u0060create_directory.create_directory_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/create_directory.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d05ce1ff5e86b9d7e4d19f59ae7c9b2d7fc9e903818aa246da4fc4341daff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: create_directory.create_directory_core calls \u0060std::fs::symlink_metadata\u0060: \u0060create_directory.create_directory_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/create_directory.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"360080a143d9b448d7cfcb1a569285cc25b7370ff6e511d26d92e3582bc89328"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: create_directory.create_directory_core calls \u0060std::fs::create_dir\u0060: \u0060create_directory.create_directory_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/create_directory.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a168e2bf5feba987812e01969a075463311ec11b6e755faa446cfbc407297ce"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.read_frontmatter_name calls \u0060File::open\u0060: \u0060custom_skills.read_frontmatter_name\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cc5dd279d262d05d37efd5504da869397e90f965be6d62a0d9fa585c6c62f5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.collect_custom_ids calls \u0060std::fs::read_dir\u0060: \u0060custom_skills.collect_custom_ids\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b31ff050974ae56d8838c777e060a9d185e65310d0122c2e0f025b3b64a7c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.custom_read_skill calls \u0060std::fs::read_to_string\u0060: \u0060custom_skills.custom_read_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a5aa8b91bbd449ea5277ba777f82fecfe86a543199f4c12d5876746fc8ba00"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.link_one_locked calls \u0060std::fs::create_dir_all\u0060: \u0060custom_skills.link_one_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96be49915ab1d9a0e45f75ef7a4c94628e9781042961f01d4ce00060473251"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.custom_create_skill calls \u0060std::fs::create_dir_all\u0060: \u0060custom_skills.custom_create_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3e02ac73fceabf27f2a913a3011bca9964754e08e318130de89df0d92d1576"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.custom_create_skill calls \u0060std::fs::write\u0060: \u0060custom_skills.custom_create_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"840027377e306e56cee2381ecffdb3573e0ac6cff4e9e7e5588821e7a0b6e7aa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.custom_save_skill calls \u0060std::fs::write\u0060: \u0060custom_skills.custom_save_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58b7891cd4899edcb57b67ce7453d3d037001d1bfa0135d5ef9fbea970c28c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.import_one_from_agent_locked calls \u0060std::fs::remove_dir_all\u0060: \u0060custom_skills.import_one_from_agent_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811d26c3875b6327668598fca0234fa9d7bf8558b311a0dede9df10cee5e0c1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.copy_markdown_as_skill calls \u0060std::fs::create_dir_all\u0060: \u0060custom_skills.copy_markdown_as_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3671a7f436aa48ae138dcbf45b96d8764a3af6dbd3651b4db297cd236bc2b6d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.copy_markdown_as_skill calls \u0060std::fs::copy\u0060: \u0060custom_skills.copy_markdown_as_skill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d33f64e64ff404ee7866f514d4243a87df79decd47bd3aa668c37d04657b240"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.delete_one_locked calls \u0060std::fs::remove_dir_all\u0060: \u0060custom_skills.delete_one_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"26103bbe24678fc76253dba5602f29ece0eedbd596e2bff7fdbc3c2511ba06fd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.copy_dir_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060custom_skills.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcfeb08a292de8152d1ef52c18bc55c865f35b86a850ad760a7e4aae923d2bf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.copy_dir_recursive calls \u0060std::fs::read_dir\u0060: \u0060custom_skills.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47e2febc9b612cd9efb5fdd429b3275c808f74c83c58522c171fef57703af86"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: custom_skills.copy_dir_recursive calls \u0060std::fs::copy\u0060: \u0060custom_skills.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_skills.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d734377b814d164c3195d2d7eb6f552b5026b419ce30b035c7cc943f2d2f2de"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.load_deepseek_model_catalog_at calls \u0060std::fs::read_to_string\u0060: \u0060deepseek_settings.load_deepseek_model_catalog_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"976f4e7461bd42e81884e19c6d3d5132d3fef5b91319b5fc8cc02b184e98b146"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.update_deepseek_model_catalog_at calls \u0060std::fs::read_to_string\u0060: \u0060deepseek_settings.update_deepseek_model_catalog_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"7596f7c5a98232812e138e9dc140b1f6ff04d6fd3eb68c8f3591fae7468de579"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.resolve_write_target calls \u0060std::fs::canonicalize\u0060: \u0060deepseek_settings.resolve_write_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e516d20a430f33cc7dc200c62068c36217bd0c379e5251af4a546fc9caa0246d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.resolve_write_target calls \u0060std::fs::read_link\u0060: \u0060deepseek_settings.resolve_write_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86271fb1fb724e56583d74cf0b1f64ae8540b766e5348c3c95c95db224ca8db"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.resolve_write_target calls \u0060std::fs::canonicalize\u0060: \u0060deepseek_settings.resolve_write_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"49deac2644f64f27df5f3cf6247a41bd6286f62d484fd98a0e5c08227b7edf76"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::create_dir_all\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7415e730da28a3b59803e0b7f7136bac29be656e8371cedc1fc96a4afefc30"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::metadata\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0d16c41b5d09ab1f9b95bfbb509d41659eefe99b927af70d126c64c92366e5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::set_permissions\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd7c6b4355bc5233e16767047cd8c1c518c0d8e6a2464a4ab6f906b72488f50"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::remove_file\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fde4d091ee4770175e84bb6df698ea8f4eb124a65076874253883d1f9910a5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::rename\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f636f886edb170d50c1424d429e51d8d40677871b742304249980b9650c517b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: deepseek_settings.write_settings_document calls \u0060std::fs::remove_file\u0060: \u0060deepseek_settings.write_settings_document\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/deepseek_settings.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79fda66a76d8fb778d411a6e9e12458e1e3bdea9ca6d2ff03bd11c2e265a9e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.load_manifest calls \u0060std::fs::read_to_string\u0060: \u0060experts.load_manifest\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4589a1095276130e4d1cc89ca7ad83cd28ab13f9a47410d66a3c8d683a9817"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.copy_dir_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060experts.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8270d62c5bb134eb17ba3fed41977365c2b4ea909fbb5023be9f5b9c20af0ab"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.copy_dir_recursive calls \u0060std::fs::read_dir\u0060: \u0060experts.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ee4580ba47346825e864ed0b66797befe9b2fbf2857137abb16d6112198822"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.copy_dir_recursive calls \u0060std::fs::copy\u0060: \u0060experts.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d228cb2c4a950384e0a68ce327cc7b76cfa88698b11af35817411ced5f2e4e9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.read_link_target calls \u0060std::fs::read_link\u0060: \u0060experts.read_link_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"91037c0e34891191b1fc56d55051c558d998ef8cbb314dbd3975fd1eae512f81"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.path_is_symlink calls \u0060std::fs::symlink_metadata\u0060: \u0060experts.path_is_symlink\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36794e1bc342f2b07633da48ba3cb824861f82a39f87793c4f342c38f42faa0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.path_is_reparse_point calls \u0060std::fs::symlink_metadata\u0060: \u0060experts.path_is_reparse_point\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f004c6b00c1dd38f116e960dede1905d01116085b319af781833eba3f6a59362"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.resolve_real_path calls \u0060std::fs::canonicalize\u0060: \u0060experts.resolve_real_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"960664ce9ca4bd168b48dc3409578ea8b487be1c615b6715e790d3aa5f23df03"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.classify_link calls \u0060std::fs::symlink_metadata\u0060: \u0060experts.classify_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66e305d5ec45cd7c119c6b58a36dccc0b8b75d9981d99cd1bb5f29ffdc919a8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.link_one_locked calls \u0060std::fs::create_dir_all\u0060: \u0060experts.link_one_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a1f6b1c8eb95abd9ee97721766d02fdf928dc61d9c6a44494136ac07dfd5e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.experts_read_content calls \u0060std::fs::read_to_string\u0060: \u0060experts.experts_read_content\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"8914de7e5a168c33cc0e74c450c66d06a6293bed1e19812b7d64780531e3a0b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: experts.experts_open_central_dir calls \u0060std::fs::create_dir_all\u0060: \u0060experts.experts_open_central_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5235af7c31994ac5508e4b88444dab0dafc794b826be47d80d0bf8f6d2ae79e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_io.save_binary_file calls \u0060std::fs::write\u0060: \u0060file_io.save_binary_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/file_io.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe75ed799f51c5e63a2d81aaaf26e747d551ebcf509e9618e1961f5e7f50a04e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_io.save_text_file calls \u0060std::fs::write\u0060: \u0060file_io.save_text_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/file_io.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1963e0903eec58bc761a45ef875f889a09b934f789297937955b84659df44574"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_io.save_text_file_writes_utf8_payload calls \u0060std::fs::read_to_string\u0060: \u0060file_io.save_text_file_writes_utf8_payload\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/file_io.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ed8cb826e716f68a173b8823cf68f85e337009f53fe4797c2bba15846d10b0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_io.save_text_file_overwrites_existing calls \u0060std::fs::write\u0060: \u0060file_io.save_text_file_overwrites_existing\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/file_io.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b278a87f8b64c471bb716643eed768d54b25c891c3851f9643e03fc592d8a7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: file_io.save_text_file_overwrites_existing calls \u0060std::fs::read_to_string\u0060: \u0060file_io.save_text_file_overwrites_existing\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/file_io.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e8b9c11d7c56efe068109aa7fcdb353e1ebcf22426f09cab06a3d637e76b24"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.occupied_names calls \u0060std::fs::read_dir\u0060: \u0060folder_links.occupied_names\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"da24b874f659a4e5e1fb99bb4e0f46d99cd49522d034da76482ce3c11c192958"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.validate_target calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.validate_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b4c86189f53335b256df24bd46c08c4db343572a87b50809c18d4522bde8cf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.remove_link_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060folder_links.remove_link_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e258da3a3d4dfb5ba2ea68be5e600a7f05f71730bf76085d40194006a460f69"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.remove_link_entry calls \u0060std::fs::remove_file\u0060: \u0060folder_links.remove_link_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2746a41710af6c721c8788777db36b368150df9b7780fef786b31e025825ef96"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.remove_link_entry calls \u0060std::fs::remove_dir\u0060: \u0060folder_links.remove_link_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a81d435dfaf02c124a4c2be7ff4a01ff10166b7e27296712b36d896dca39c90"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.read_link_target calls \u0060std::fs::symlink_metadata\u0060: \u0060folder_links.read_link_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f838eba0bc23e0865b5775ef400af5bc9f6938345d0e34045c5fa4bfc0cd1442"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.read_link_target calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.read_link_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a17a6210f951f129e78a181dd52120c9e6fc41af0559c9976924169f35f63f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.git_exclude_line calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.git_exclude_line\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae989e895038647a802dde6619d1a6d707792b066844ef90181473df862e1391"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.git_exclude_line calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.git_exclude_line\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9089e956d91ce7ae56489f122686a30efa50a2caf4c79e674ea42cc9466834a3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.add_to_git_exclude calls \u0060std::fs::create_dir_all\u0060: \u0060folder_links.add_to_git_exclude\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83a4d25a9b1deb9c31676c19cf1f8ab0d7080838cbf9e91c769ac3a99aeb1f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.add_to_git_exclude calls \u0060std::fs::read_to_string\u0060: \u0060folder_links.add_to_git_exclude\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae03bc10d7c0e508aa8032cbadfa74acf47aecf2731abef4717d64ecdcf7e159"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.add_to_git_exclude calls \u0060std::fs::write\u0060: \u0060folder_links.add_to_git_exclude\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a838611e169ec8907ca3b760b18b8b1320190ca2e4edac553e4812f2c25cee4c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.link_status calls \u0060std::fs::symlink_metadata\u0060: \u0060folder_links.link_status\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7041fcaa23841f296c37d6c16270cef7d610ce39e254d2f5d8eafbba270ddc91"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.link_status calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.link_status\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"679e25a87aeb0b2fc24649fb12d4dd453c0bc15f3c7789ec2da8a0f17d1465bf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.link_status calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.link_status\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c60f74923aca27929accd03181de71210c5d1367d253cdeb3dd78f64ce85cd2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.preview_folder_links_core calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.preview_folder_links_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd06bf59cf9b3d49f8392627c72b98696bd5e36d007825828309ee145ddf67d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.preview_folder_links_core calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.preview_folder_links_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9abe491e2792f40efeb49a8f2fc62f29dc4ad9ec810ae9011795b98e304e810"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.create_folder_links_core calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.create_folder_links_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd35656adb8ffe1b3dc0fe169f7e425b7c7c38d8b55b423ff6591304daff21"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.create_folder_links_core calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.create_folder_links_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8d4564d214b31a23b7eef7d6b2bde5a09263715a2960bc7fd578dddf8fba30"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.rename_folder_link_core calls \u0060std::fs::rename\u0060: \u0060folder_links.rename_folder_link_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1cd93ce8fa534aba3933b34267f06291b1e28ccbfed2df78f02353323cb546"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.rename_folder_link_core calls \u0060std::fs::symlink_metadata\u0060: \u0060folder_links.rename_folder_link_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6550a08265038e6b18b43011faeb448e5e07a77d60573679a927c3c91203f4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.repair_folder_link_core calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.repair_folder_link_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3cf000fa206c3302e36843f7e95faa64ba141ab4a49017769123258a372448"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.repair_folder_link_core calls \u0060std::fs::symlink_metadata\u0060: \u0060folder_links.repair_folder_link_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba404e1e9717f5eda69b736204bd4832002aca6d1a1b99a62e473d04104db394"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.link_names calls \u0060std::fs::read_dir\u0060: \u0060folder_links.link_names\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd147890c23ac7f6c96c5b05055c08ba6525b5fd8c810fe916bd8596bde0aa59"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.removing_a_link_keeps_the_target_and_drops_the_record calls \u0060std::fs::write\u0060: \u0060folder_links.removing_a_link_keeps_the_target_and_drops_the_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1923fffdfd5cae18a4fe8aea2052c549d32468885471a1ae0f622d3482437e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success calls \u0060std::fs::metadata\u0060: \u0060folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a48c510fc1493c4e407141994d66be0246266174f3d261016b045005555681"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success calls \u0060std::fs::set_permissions\u0060: \u0060folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d3a7bb4b4e155b489bb451dea234787e16c8524ffc1771d12986e8e89fa284"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success calls \u0060std::fs::set_permissions\u0060: \u0060folder_links.a_failed_unlink_keeps_the_record_instead_of_reporting_success\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"339362a5967c4d759cdda791cc62841f8cc8a99d9d60aab77e335f69b0827caa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_second_workspace_folder_cannot_reach_another_ones_link calls \u0060std::fs::write\u0060: \u0060folder_links.a_second_workspace_folder_cannot_reach_another_ones_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c53c296e7533bef1e89ebd70e52bc04d7edefc55bdcd228e648362bde80370f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_second_workspace_folder_cannot_reach_another_ones_link calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.a_second_workspace_folder_cannot_reach_another_ones_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38a8cbf1d2d6b833966b4e26445aeb316e0b93890e83336bc00a149daf30937"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.a_second_workspace_folder_cannot_reach_another_ones_link calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.a_second_workspace_folder_cannot_reach_another_ones_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"873d77391a3b6c5592a2431e72cf5dbc1d2880739e87f497b13aa0eefd6ced2f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.create_folder_directory calls \u0060std::fs::create_dir_all\u0060: \u0060folders.create_folder_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1471423ff9f6bc4ce1479af76bbd8fccac4ddb43d651d2821b3331909996de27"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_list_all_branches calls \u0060std::fs::canonicalize\u0060: \u0060folders.git_list_all_branches\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"926f8d6215df61b83e19ef018edca4ab0e0e4eea3388dd4834dbdabcefa630cc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_list_all_branches calls \u0060std::fs::canonicalize\u0060: \u0060folders.git_list_all_branches\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e63255301d12fdecad6a14e898c2ff4896aec55268b7ad1a8652ac1883ea6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.resolve_worktree_folder_core calls \u0060std::fs::canonicalize\u0060: \u0060folders.resolve_worktree_folder_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a60d6343dcba13ae4f0a04cbb07f3c1229c29197bd6610ca347e604a1ef8ca0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.folder_at_path calls \u0060std::fs::canonicalize\u0060: \u0060folders.folder_at_path\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3364}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5041eda95ed7ccd9adbe7297abd5f455f904fa33a803ff488a2ef35236963"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_remove_worktree_core calls \u0060std::fs::canonicalize\u0060: \u0060folders.git_remove_worktree_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5722e1597b2431974b8c01c09fd24496d8062208fe0415c6f2a00a574004da22"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_remove_worktree_core calls \u0060std::fs::canonicalize\u0060: \u0060folders.git_remove_worktree_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86af0792c8b82c66d87630c8baa7ef53706b2d77d8fc85bbd49183dd6d92c36"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_conflict_file_versions calls \u0060std::fs::read_to_string\u0060: \u0060folders.git_conflict_file_versions\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3977}}}],"partialFingerprints":{"codehealthFindingId/v1":"219b201066d8a2377bafa385d90d1045e31abb00daf8da6ac313b891c27907c3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.git_resolve_conflict calls \u0060std::fs::write\u0060: \u0060folders.git_resolve_conflict\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3996}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f94d025cd6f95e011e205d0c887cfe6e7b48b3654a68baac4a4bf9a7276aa6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.entry_identity calls \u0060std::fs::canonicalize\u0060: \u0060folders.entry_identity\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4323}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b41d1d2bf6e634eb3f46a72071e1e492d154e82967a65551790d5074cca93c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.resolve_recording_links calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.resolve_recording_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6c078087daa14dada262410f08b9aeff55c00ea2063705475eac8b7694b0b4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.resolve_recording_links calls \u0060std::fs::read_link\u0060: \u0060folders.resolve_recording_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24995aa847ffbc0cd36d9498b3fee3bcfa06000b2c23303ae0d5019bcc89e8a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ensure_entry_is_in_workspace calls \u0060std::fs::canonicalize\u0060: \u0060folders.ensure_entry_is_in_workspace\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbc72643fbbb353b1524f20b486b7f8cd91b3a2ede254ca4442cca28b614e8b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ensure_entry_is_in_workspace calls \u0060std::fs::canonicalize\u0060: \u0060folders.ensure_entry_is_in_workspace\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdf4e3a4237be48901ddad9569e01d9b3f367003f04e1a156f0f9cbb4095407"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ensure_entry_is_in_workspace calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.ensure_entry_is_in_workspace\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"901b42c9f66f2b041ea397a341020d6bb3cff18d789096592418e55002f84356"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.list_directory_entries calls \u0060std::fs::read_dir\u0060: \u0060folders.list_directory_entries\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d514f59675a3ff2edc653a4953110be2678c3f654f91e8d518de89e8e535186c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.list_directory_entries calls \u0060std::fs::read_dir\u0060: \u0060folders.list_directory_entries\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe23ee99814aa1f5dde6c7ac69eee75c872299e9cb6fb43c0a7b90918e4a793a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.list_directory_with_files calls \u0060std::fs::read_dir\u0060: \u0060folders.list_directory_with_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4768}}}],"partialFingerprints":{"codehealthFindingId/v1":"58810b630f5f21428424043e5b3c7a2068e472b4b09dd659895db99730ed3605"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.list_directory_with_files calls \u0060std::fs::read_dir\u0060: \u0060folders.list_directory_with_files\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4790}}}],"partialFingerprints":{"codehealthFindingId/v1":"2472f527d24921615c6e9b5fbb64ddca20e9199620d99254bb0775adf45a291f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.authorized_links_in calls \u0060std::fs::canonicalize\u0060: \u0060folders.authorized_links_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be340d432d4c3b827246aa57456a413fdb4b37e9589934534860fb2ed35cf65"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.authorized_links_in calls \u0060std::fs::read_dir\u0060: \u0060folders.authorized_links_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4836}}}],"partialFingerprints":{"codehealthFindingId/v1":"31476db6b0a3da88a0dd1a3167de3a7f7c7dfaca9cf8664d0a0ebd160126d029"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.authorized_links_in calls \u0060std::fs::canonicalize\u0060: \u0060folders.authorized_links_in\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c0729ddcd6f6cac61115b144029b781c76cda9d2f8ef249c68e12cc3f10aa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.build_file_tree calls \u0060std::fs::canonicalize\u0060: \u0060folders.build_file_tree\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a10463555fd15108f6c13361affa73cfd60992089fd3fa53a542a898a8ecc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.rename_file_tree_entry calls \u0060std::fs::rename\u0060: \u0060folders.rename_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5773}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04050f7f6506504aa34e10acb2e67693f47582e084b996044d0a68d84bb602"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.move_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5805}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1e0a510331070d5ddf6079ed7459482ccb0d3a799a2b2dcac309fb4bc0f14e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry calls \u0060std::fs::canonicalize\u0060: \u0060folders.move_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7cfbae2a50f68feaa50849ed07d8235453eae4dd43d5f35d661a72f7d9c680"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry calls \u0060std::fs::canonicalize\u0060: \u0060folders.move_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5827}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04cb2fc1f9b72c3662d79af88b8d2bfb5a452385a2ea7a4c1115e2cd6842b45"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.move_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5859}}}],"partialFingerprints":{"codehealthFindingId/v1":"139f332068235591dee71cd4a3e6bf867e980167e061b810b511b1601355b33a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry calls \u0060std::fs::rename\u0060: \u0060folders.move_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99af432e10ee10624c83e2daaeb4eaff10e899f4b0bac420df248f7af8cb5f6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.delete_file_tree_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.delete_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5901}}}],"partialFingerprints":{"codehealthFindingId/v1":"194dd025254cfd70521122cab6af2fdb9111ebe25f4df94feca8a49d7ea4e364"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.delete_file_tree_entry calls \u0060std::fs::remove_file\u0060: \u0060folders.delete_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5926}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be360f95403d5df57919ba29d87c0998d2b19311da8e9c6a04f81478348a89e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.delete_file_tree_entry calls \u0060std::fs::remove_dir\u0060: \u0060folders.delete_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5927}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d22a7d488081b1feea74051564244758ca3743c0fa118913c4a5e2c25c8d23"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.delete_file_tree_entry calls \u0060std::fs::remove_dir_all\u0060: \u0060folders.delete_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5930}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ca444c86bbff8bf7ed1dfef49333b8474fe95308c82c4e7d1ed12c372c3631"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.delete_file_tree_entry calls \u0060std::fs::remove_file\u0060: \u0060folders.delete_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5932}}}],"partialFingerprints":{"codehealthFindingId/v1":"252634a01f44119b1d1cf6cfade10324dbf3bb0a1d0850a93199e18ee95277da"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.create_file_tree_entry calls \u0060File::create\u0060: \u0060folders.create_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5977}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c15dff7cb6218780b8f6d1169d8478306bfab6033de48f2c597119b2044a45"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.create_file_tree_entry calls \u0060std::fs::create_dir\u0060: \u0060folders.create_file_tree_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"079d2ccb13409f66296feb2f32b95013c8a5f6c10f744b67b616b1d4af1053ec"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.reads_in_root_file calls \u0060std::fs::write\u0060: \u0060folders.reads_in_root_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":8944}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b14db7c001f9f5c9582a6e0f0980e1a36ef0442f99629949973621148d777"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.rejects_symlink_escaping_root calls \u0060std::fs::write\u0060: \u0060folders.rejects_symlink_escaping_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":8959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a507e440f640a2bea89a3e8e0b3881dc04cac0e991da2b476614cdf6145369"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_does_not_clobber_dangling_symlink calls \u0060std::fs::write\u0060: \u0060folders.move_file_tree_entry_does_not_clobber_dangling_symlink\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":8999}}}],"partialFingerprints":{"codehealthFindingId/v1":"c731a553e89f84bb351df3b73a5bd820ffa2ee3d8ca01490609dbb6c693504c7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_does_not_clobber_dangling_symlink calls \u0060std::fs::create_dir\u0060: \u0060folders.move_file_tree_entry_does_not_clobber_dangling_symlink\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9000}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadaea8ee4541d30b84344089b7d3071ebd4e7e475a4481f3a4f9a6ed0cfee5b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_does_not_clobber_dangling_symlink calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.move_file_tree_entry_does_not_clobber_dangling_symlink\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9018}}}],"partialFingerprints":{"codehealthFindingId/v1":"3013030ba75bf1159cfc9a329d9d7f4c2d21da436f1327fbdb9717567b129490"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_moves_a_symlink_entry calls \u0060std::fs::write\u0060: \u0060folders.move_file_tree_entry_moves_a_symlink_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9027}}}],"partialFingerprints":{"codehealthFindingId/v1":"4504045051ca26ea357f3df534a9d955ba522b804662ead993241696d41e276c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_moves_a_symlink_entry calls \u0060std::fs::create_dir\u0060: \u0060folders.move_file_tree_entry_moves_a_symlink_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9033}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fc0c2a8234461e806a4c2e9097547609280b14993ee4db6e55c6aebe0e6425"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.move_file_tree_entry_moves_a_symlink_entry calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.move_file_tree_entry_moves_a_symlink_entry\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9044}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30cd5fb760f6f1df0b50424e1273949f88646b8c893161aa8e781d62fbcbfc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::write\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9054}}}],"partialFingerprints":{"codehealthFindingId/v1":"026b765f6e17c371e9bc6e421a2ac8c2623af0ab170b05b80c8cbbf5f72e4e7b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::write\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9055}}}],"partialFingerprints":{"codehealthFindingId/v1":"38725d81667d3721bac0fb1d5bb433709f8a33b1ed0f167123cd944274218f2f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::create_dir\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9056}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92f83acd5827475ba2ace432417652ada7d1139fb4b6968a18b556525c9458d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::write\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9057}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cc08a315e0360b3ce76b76d002af0405a937f506254c032cc76d4b70ac4a25"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::write\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9058}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d69665e012e6650d2205ef19e1514893bc8d609f4364e9bd21226541da5ffd2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_walks_into_an_authorized_link_only calls \u0060std::fs::canonicalize\u0060: \u0060folders.file_tree_walks_into_an_authorized_link_only\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9064}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ff6f8a04c095deff1efcf49c57d6929fae67d6b7f5a5a050f79db5ed9f0a18"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root calls \u0060std::fs::create_dir\u0060: \u0060folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9163}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d8467221cf3c88b03c8f1025603e18fc85f53f337e399ed0956d2d9174eaff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root calls \u0060std::fs::write\u0060: \u0060folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c167555ab91e9f404d06749f237d18691b822bfe535f4fc913ff84acf86d33"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root calls \u0060std::fs::create_dir\u0060: \u0060folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0580b61d5d6a4ab3bbe6a947e7309ae0c70bf12704d5d0fbdd855b81127891"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.ancestor_link_cannot_be_used_to_destroy_the_workspace_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9200}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e3de6fa1dd5b2815a5a3757a188f9b8d63ffa1e16fcb8b701a04408648ac77"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.destructive_ops_through_a_link_require_authorization calls \u0060std::fs::create_dir\u0060: \u0060folders.destructive_ops_through_a_link_require_authorization\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c2cde700f732c1fac2dcf4f0fc89d6fa04e2eb8f55fafe0429076f6d93a32"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.destructive_ops_through_a_link_require_authorization calls \u0060std::fs::write\u0060: \u0060folders.destructive_ops_through_a_link_require_authorization\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9220}}}],"partialFingerprints":{"codehealthFindingId/v1":"857c785732b960df92db902a8795f5c2055d70db9f17c3a2e111ed0fed68e88a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.destructive_ops_through_a_link_require_authorization calls \u0060std::fs::canonicalize\u0060: \u0060folders.destructive_ops_through_a_link_require_authorization\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212050aa91e7e072b73585d9e6d7ee762497897416426c9f7ae5a0577530bd1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::create_dir\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe25ed2657e1efaacb1b5423ea9d54e5bab7867cbcc0cf8632f625945aa46a7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::create_dir\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d735def20e74b677d10dc89fd0f8fbfc391759ede3cb9cafa2a4edae5878dad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::write\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9260}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ac1655653bca6a9bda186eae994fa0318ed412e7a6eb96c1ac99ad9c100ad0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::create_dir\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba6f7d86de3836c25e743c59cf54a209ed72823a7c43fae08c9052da4128db6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3fe0a50aa57db8b7b9c39db30b743fc5dc91f792476d2998bf06aee28b34ab"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca27f890f114f157c186fb9333b27c175d0c10371f1c942215abbd42fec43847"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_symlinked_workspace_root_cannot_be_unlinked_through_an_alias\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1615eccce7d52eb352bb49b55ad695ce3e8fadae05fae5bbbbcc43290c4eb2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_in_the_roots_resolution_chain_cannot_be_removed calls \u0060std::fs::create_dir\u0060: \u0060folders.a_link_in_the_roots_resolution_chain_cannot_be_removed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9312}}}],"partialFingerprints":{"codehealthFindingId/v1":"447b7905367bc77cf2d8410bff36e7bf9aec3bc512db83acb22550bd3b64cdca"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_in_the_roots_resolution_chain_cannot_be_removed calls \u0060std::fs::write\u0060: \u0060folders.a_link_in_the_roots_resolution_chain_cannot_be_removed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8515e290425033f20f4821f25fe1554583d393dea1f9c6077c4303558b0cb1a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_in_the_roots_resolution_chain_cannot_be_removed calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_link_in_the_roots_resolution_chain_cannot_be_removed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8db9b85ff164a7bf256625b8e147e184c95ac0b0a3bfc8c84800bee702030f9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_in_the_roots_resolution_chain_cannot_be_removed calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_link_in_the_roots_resolution_chain_cannot_be_removed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a62050be8c62d150f47a8c62367a3348296e739767a93e1282d9f8886b74264"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_relative_workspace_root_protects_its_links calls \u0060std::fs::create_dir\u0060: \u0060folders.a_relative_workspace_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9364}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c9ad977986c61f63fcedecfab05efc50fec002b367c8b1b82fd22695d00d6c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_relative_workspace_root_protects_its_links calls \u0060std::fs::write\u0060: \u0060folders.a_relative_workspace_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9df568d864591c6cd161f791cdd0f322114adfaabe2d2f68f9ded27a5f1ce5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_relative_workspace_root_protects_its_links calls \u0060std::fs::create_dir\u0060: \u0060folders.a_relative_workspace_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9397}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97267ee5e8b2a6c0f056200fae4c7a95793650631be0cfa045822700d5ff13"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_relative_workspace_root_protects_its_links calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_relative_workspace_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc6389eb3a00ecc25ac2f8b9d4f3c85eb9b4525d02fa777c9ad101ecef89711"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_dot_prefixed_relative_root_protects_its_links calls \u0060std::fs::create_dir\u0060: \u0060folders.a_dot_prefixed_relative_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e46bd968cc18bad22ff63797b03de81dd8de9b1b1f2365b321ab48616164a9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_dot_prefixed_relative_root_protects_its_links calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_dot_prefixed_relative_root_protects_its_links\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9439}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112deb7ff4e0b5a1f9467081ddecdace98ee941530b164353bb0a070202b1b4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.the_roots_own_link_cannot_be_destroyed_from_inside calls \u0060std::fs::create_dir\u0060: \u0060folders.the_roots_own_link_cannot_be_destroyed_from_inside\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4277ac5ddbcd271a65d122a0cb7e9a5ec27e64a11b9d6630a089dc49b70102f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.the_roots_own_link_cannot_be_destroyed_from_inside calls \u0060std::fs::write\u0060: \u0060folders.the_roots_own_link_cannot_be_destroyed_from_inside\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e277623eaf3687290825c3a20c20029040d22a75dc280ddf456b3d85d7268736"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.the_roots_own_link_cannot_be_destroyed_from_inside calls \u0060std::fs::create_dir\u0060: \u0060folders.the_roots_own_link_cannot_be_destroyed_from_inside\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9469}}}],"partialFingerprints":{"codehealthFindingId/v1":"885f9ec1d669aff6fb378c46ccb344f9d7d9bac286b59cd94559ffcd7345bb02"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.the_roots_own_link_cannot_be_destroyed_from_inside calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.the_roots_own_link_cannot_be_destroyed_from_inside\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3150e049fd7f632d41ce47cf0d38da126739716ca12043f8c48f54d1c7a9d0b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.links_pointing_at_an_ordinary_root_stay_mutable calls \u0060std::fs::write\u0060: \u0060folders.links_pointing_at_an_ordinary_root_stay_mutable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9490}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b8c622d92eb1deded507d88b22fec8feb375c640ace4fc371241a6fb29fbee"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.links_pointing_at_an_ordinary_root_stay_mutable calls \u0060std::fs::create_dir\u0060: \u0060folders.links_pointing_at_an_ordinary_root_stay_mutable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9491}}}],"partialFingerprints":{"codehealthFindingId/v1":"af86079736d99f5f2b436b2fedf2d2bf2aa61e5a85a1a2548fb1bac637bcd75c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.links_pointing_at_an_ordinary_root_stay_mutable calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.links_pointing_at_an_ordinary_root_stay_mutable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9507}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50362574b472998251645eb742ec8cfebae1143e6d4db5796ed663dcb8aee84"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.links_pointing_at_an_ordinary_root_stay_mutable calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.links_pointing_at_an_ordinary_root_stay_mutable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9508}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b4ba950686dd8994938a364f02ce2212a9f45555b3648f7b302c2d98f57329"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.links_pointing_at_an_ordinary_root_stay_mutable calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.links_pointing_at_an_ordinary_root_stay_mutable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9509}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacdb2ceec50e58d9a6b5c09f9417f30d6721a8c585bfd6641dcd575c8de0ff0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed calls \u0060std::fs::create_dir_all\u0060: \u0060folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9522}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9169768cbc66180fa5e278b734f0415d256b7633b761bb68088b35421fe5d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed calls \u0060std::fs::write\u0060: \u0060folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9523}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d4e8fb2abda6e9806a66ec3b00670c735fe462a5c75e8cc34ab39e0e572773"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed calls \u0060std::fs::create_dir\u0060: \u0060folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9542}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3ddf80be10c30c7a92dabb1d3f4242035f34698f5bc203899a10691991e820"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_root_link_with_a_suffix_after_it_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342ba867486ff6561a577d4d09b599edc6d6dfcffeb45bd26c88b7518c30bf3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_inside_the_root_links_target_cannot_be_destroyed calls \u0060std::fs::create_dir\u0060: \u0060folders.a_link_inside_the_root_links_target_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9562}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f30a9226b1e66e2df067a543f11e0d6c31f3ad77c7806b2b752891a85ce634"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_inside_the_root_links_target_cannot_be_destroyed calls \u0060std::fs::write\u0060: \u0060folders.a_link_inside_the_root_links_target_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9563}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60e5312c5390a20da0804ab5a7b0a5e4458dd166ed97bc852980e52a9f30343"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_inside_the_root_links_target_cannot_be_destroyed calls \u0060std::fs::create_dir\u0060: \u0060folders.a_link_inside_the_root_links_target_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9582}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9dce2459e70d2e5d3a6126faf982b767f51586c348d0c0db08e94c741b21b2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_inside_the_root_links_target_cannot_be_destroyed calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_link_inside_the_root_links_target_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed409e9518eb4de52a1fcc4b8379e54b19840571a99eaefe8ac2d4042756deda"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_inside_the_root_links_target_cannot_be_destroyed calls \u0060std::fs::symlink_metadata\u0060: \u0060folders.a_link_inside_the_root_links_target_cannot_be_destroyed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9590}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8709bca39d29de34292e9c2dde36a38554924a75a52c73ccc5b443a32dba32"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_cycle_in_the_root_terminates calls \u0060std::fs::create_dir\u0060: \u0060folders.a_link_cycle_in_the_root_terminates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9611}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4d5f27dbd2f7fe23d755d76e5506e1bcc97c066d959bd658528d0a8536351c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.a_link_cycle_in_the_root_terminates calls \u0060std::fs::write\u0060: \u0060folders.a_link_cycle_in_the_root_terminates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9612}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cca593ae6ffc4b502c0b4369aa142b440acc755e44fa29893e113f48076ee19"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_rooted_at_a_stray_symlink_lists_its_contents calls \u0060std::fs::write\u0060: \u0060folders.file_tree_rooted_at_a_stray_symlink_lists_its_contents\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9627}}}],"partialFingerprints":{"codehealthFindingId/v1":"322fb51015ce790e6751fce1297ddb827b244cc79814b91b1867371dca22f8e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_rooted_at_a_stray_symlink_lists_its_contents calls \u0060std::fs::create_dir\u0060: \u0060folders.file_tree_rooted_at_a_stray_symlink_lists_its_contents\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9628}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb827202e9eb076fa1ccdbf316d86027570ba7baf2eca4f4623b7b6ce89c1d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.file_tree_keeps_file_and_dangling_symlinks_as_leaves calls \u0060std::fs::write\u0060: \u0060folders.file_tree_keeps_file_and_dangling_symlinks_as_leaves\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a94df33fad9f9759b559d6c91e2a26b96215f1869b926293f1dec5bb7376e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.workspace_search_reports_a_stray_symlink_as_a_dir_without_descending calls \u0060std::fs::write\u0060: \u0060folders.workspace_search_reports_a_stray_symlink_as_a_dir_without_descending\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9683}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec33e0a39ca336fdfff52d85dd5fa509ac32968569b3cb796cb2743acd2671"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.user_navigated_reads_reach_into_a_stray_symlinked_directory calls \u0060std::fs::write\u0060: \u0060folders.user_navigated_reads_reach_into_a_stray_symlinked_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9710}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c442a4d223cf46215d2664007f8123ed379d34f9242b956aa456a9341319e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.user_navigated_reads_reach_into_a_stray_symlinked_directory calls \u0060std::fs::read_to_string\u0060: \u0060folders.user_navigated_reads_reach_into_a_stray_symlinked_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9733}}}],"partialFingerprints":{"codehealthFindingId/v1":"054f7b348fad3c82122cc5f35479c008ce166aa22dce321fd70c206365f7fc21"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.html_preview_inlining_still_refuses_a_stray_symlinked_directory calls \u0060std::fs::write\u0060: \u0060folders.html_preview_inlining_still_refuses_a_stray_symlinked_directory\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9752}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb0b281a3636246284ced1b0fc6152881ccb12ac1495abde38b8598afd661fa"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.workspace_search_lists_files_inside_an_authorized_link calls \u0060std::fs::create_dir\u0060: \u0060folders.workspace_search_lists_files_inside_an_authorized_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9771}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cbcfafcd1a09ec026ace6eabbce330fe14b3cea1081749e41dbb0d96469a2f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.workspace_search_lists_files_inside_an_authorized_link calls \u0060std::fs::write\u0060: \u0060folders.workspace_search_lists_files_inside_an_authorized_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9772}}}],"partialFingerprints":{"codehealthFindingId/v1":"689df507ce4833e1c9341ade58460c78691d83d02f21fd9e4885e86d4c763c7b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folders.workspace_search_lists_files_inside_an_authorized_link calls \u0060std::fs::canonicalize\u0060: \u0060folders.workspace_search_lists_files_inside_an_authorized_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cf72ee60f53bfebdbffa89dcbe3fea57ebc037e2ff9c35120fe48e8005a414"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: generative_ui.central_copy_state calls \u0060std::fs::symlink_metadata\u0060: \u0060generative_ui.central_copy_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1943eeca92100a978f6a2436cee9870f827c86d4ac2bef897e629d96f04d135e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: generative_ui.central_copy_state calls \u0060std::fs::metadata\u0060: \u0060generative_ui.central_copy_state\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccd6a1cb6f87da462b300df72321e6f76fb605e56dac2f39271e1c20b1e8047"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: logging.list_log_files_core calls \u0060std::fs::read_dir\u0060: \u0060logging.list_log_files_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/logging.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2809277e48a3f0a186380d14b5cc8dbb9dd8a4b2da5e5cf2ae6576f060a89f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: logging.list_log_files_core calls \u0060std::fs::metadata\u0060: \u0060logging.list_log_files_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/logging.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eafe50f1d7b3d40b27e683af610c09779f15deb2d31fc3877809830a1676e3a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: logging.open_logs_dir_core calls \u0060std::fs::create_dir_all\u0060: \u0060logging.open_logs_dir_core\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/logging.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e559dd1b1c9e8eb06d4de5fe9470b14b228abb343967c49588e18e46f5de20a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.read_config_to_string calls \u0060std::fs::read_to_string\u0060: \u0060mcp.read_config_to_string\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"2081a8db361ebc72997e478d9ae86ce18463cd8cd06bf7a19e2f9b2133e5662e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_json_file calls \u0060std::fs::create_dir_all\u0060: \u0060mcp.write_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2f17f45404912ee392292aacf983e0bfc9beb329a98409f71f0437137c161f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_json_file calls \u0060std::fs::write\u0060: \u0060mcp.write_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608166ce6c3fd62fd8e1adbae09b2214456142b79004d60daedbd33b84e30a6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_codex_root_toml calls \u0060std::fs::create_dir_all\u0060: \u0060mcp.write_codex_root_toml\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0db8f42fa686cf59f8b685093c8162aaed78f34606ddaff09b5f0ee5d27f9a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_codex_root_toml calls \u0060std::fs::write\u0060: \u0060mcp.write_codex_root_toml\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7e1bc99252a237124226718834ea47017536bef665112d385bf89e42aa1b5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_deepseek_json_file calls \u0060std::fs::create_dir_all\u0060: \u0060mcp.write_deepseek_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2882}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a1d6d69ae9d43135ea441f376fc4f35fe2c71acfad8a5864768970caa01e0b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_deepseek_json_file calls \u0060std::fs::metadata\u0060: \u0060mcp.write_deepseek_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fb787f4915d36f2f0335d0166ae72cf3b6965ff10b28568df46f8c7cddd14e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_deepseek_json_file calls \u0060std::fs::write\u0060: \u0060mcp.write_deepseek_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34ab0fcbab6d005caa1c889c123e70a8a7b9b14085086e7f9a97c66a44cefee"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_deepseek_json_file calls \u0060std::fs::metadata\u0060: \u0060mcp.write_deepseek_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b305a086617897d38f292f035c27bd1c4516c1f9e37d263fbaa1ec44d28820c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_deepseek_json_file calls \u0060std::fs::set_permissions\u0060: \u0060mcp.write_deepseek_json_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f960461a16ff01fe34c4cd351d12faf898f430eabf62f6924be80a1229cf7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_grok_root_toml_at calls \u0060std::fs::create_dir_all\u0060: \u0060mcp.write_grok_root_toml_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee31e6df9d0102e71a56523ed1593c4599401c9df2005515c12d23babe31fa05"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.write_grok_root_toml_at calls \u0060std::fs::write\u0060: \u0060mcp.write_grok_root_toml_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6680dba375605d55f031f6bff80091c27e38d0156915559d866b1d24c131e95b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.upsert_hermes_server calls \u0060std::fs::read_to_string\u0060: \u0060mcp.upsert_hermes_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ef4124c3b3a29ef471816e1cde417caae92013dd8bb9e998a516b5611974e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: mcp.remove_hermes_server calls \u0060std::fs::read_to_string\u0060: \u0060mcp.remove_hermes_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e4d0fef6daf2857572f345794fa26c9737877795a919af82a4a5dbce150ae"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_uninstall calls \u0060std::fs::remove_file\u0060: \u0060office_tools.officecli_uninstall\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"9040cad2e146dd12fb3c6dc55629b6314ad1ee7c3b43411004c488ba817b1d9c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_uninstall calls \u0060std::fs::remove_dir_all\u0060: \u0060office_tools.officecli_uninstall\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e707bbe05dc05f8787c7e16830c83f0941b6c2b584cf543bb4db73460dca3f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_sync_skills calls \u0060std::fs::create_dir_all\u0060: \u0060office_tools.officecli_sync_skills\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb17f263386cb50371c878b9374bdbb90ba184513147f154b0cc8a45bc9e7f9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_sync_skills calls \u0060std::fs::create_dir_all\u0060: \u0060office_tools.officecli_sync_skills\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c525aae004f03bd242b01fc9076ce286947e4df6cc4cab262aae8972d2873"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_sync_skills calls \u0060std::fs::write\u0060: \u0060office_tools.officecli_sync_skills\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342ba6118f32974345f5cb206e78938c4ecbd86ff61adc0f27caa905070bc61"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.link_one_locked calls \u0060std::fs::create_dir_all\u0060: \u0060office_tools.link_one_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c1559b094b6a91ef45deca90b895f04fe0bd9d339880a9690e424f6b21a13"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_skill_read_content calls \u0060std::fs::read_to_string\u0060: \u0060office_tools.officecli_skill_read_content\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"282294e59b3aa1632fd533fb3844387b78687cc8151ba895ba4e681a8a25fac0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_render_html calls \u0060std::fs::canonicalize\u0060: \u0060office_tools.officecli_render_html\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e70fefdcc71516fe6f2b187b9cc8020fb07305f0dc01da5c0471faca95599a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_tools.officecli_render_html calls \u0060std::fs::canonicalize\u0060: \u0060office_tools.officecli_render_html\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3899e4938f7801ac0cbca1c351ef6a2f92a4f8c359403d24feb4430063828f88"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: remote_proxy.write_response_stream_to_partial calls \u0060std::fs::remove_file\u0060: \u0060remote_proxy.write_response_stream_to_partial\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"588797ab1f447efcd3ce389520852c7e8d035e188686cd4139a6c340eb9f0b17"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: science.load_manifest calls \u0060std::fs::read_to_string\u0060: \u0060science.load_manifest\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef01bacaacd7cf532c86e0e7c430b633841d4deb5263ea107eb9d1952b25a423"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: science.link_one_locked calls \u0060std::fs::create_dir_all\u0060: \u0060science.link_one_locked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5374bae34b1c74dd48ee7311dc08cdf5a9bee2bc9f20d7be54f7e02ce9834ee"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: science.science_read_content calls \u0060std::fs::read_to_string\u0060: \u0060science.science_read_content\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3d95b1f1e3ef3dac983ee3fc97c0e7eb3bf1007a62ba5a2e635d2945ed62ca"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: science.science_open_central_dir calls \u0060std::fs::create_dir_all\u0060: \u0060science.science_open_central_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a86f49564b946034389119f645f011b44a95fddfc9875e87c3b5b37442eedc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: windows.sample_macos_fullscreen calls \u0060recv_timeout\u0060: \u0060windows.sample_macos_fullscreen\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv_timeout\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"553622bf7584071c1c4e574dd8130eff8950a7ed8079263c41fe6beaca90aaf5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: appident.windows_name calls \u0060recv_timeout\u0060: \u0060appident.windows_name\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060recv_timeout\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/appident.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c88a11f56d2be4a60be41aacebd4755d36ab3e90ab81cf71a6220025efe3c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: appident.bundle_info calls \u0060File::open\u0060: \u0060appident.bundle_info\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/appident.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bba0da708d57e07afdc11f51123014c31f1ff8f4e0edff1f95784971a195357"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: driver_proc.sweep_abandoned_runs calls \u0060std::fs::read_dir\u0060: \u0060driver_proc.sweep_abandoned_runs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8861eedba1a85d02c7a90c5f332a32d4b5302d458de24d91eab17fd1ac561c5a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: driver_proc.sweep_abandoned_runs calls \u0060std::fs::remove_dir_all\u0060: \u0060driver_proc.sweep_abandoned_runs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"852532f2e3e1a98a45a1d5aa843ba34b6f45c33b30c6d3297a936088a633d81f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: driver_proc.write_driver_config calls \u0060std::fs::create_dir_all\u0060: \u0060driver_proc.write_driver_config\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b163e186858ce0614116b8686ec86247779268915df92fc1cb7e392966beda92"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: driver_proc.write_driver_config calls \u0060std::fs::write\u0060: \u0060driver_proc.write_driver_config\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"715bddb9a5dd2e5603167bfc69ab39029090bc150c7f9dd82b621d210d5dfd01"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: driver_proc.file_sha256 calls \u0060File::open\u0060: \u0060driver_proc.file_sha256\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dba85e3985c2ae3524eea213c7779c5ec14cf238c581e221b1031a8b15435d2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.launch calls \u0060std::fs::create_dir_all\u0060: \u0060DriverProc.launch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1611318ccd3dfda92fbe6abaf04252d2f1fa930878d868d95e2c1e5a826a2fe2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.launch calls \u0060std::fs::set_permissions\u0060: \u0060DriverProc.launch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8a33ae4517dadb77624c86c921c7850c889a81a34771c890bbb579b0871cbe"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.launch calls \u0060std::fs::remove_dir_all\u0060: \u0060DriverProc.launch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a551e794b4dac3eacf0d680a57a4e4ef972e3cb92223a0f39fd5bc2535604"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.launch calls \u0060std::fs::remove_dir_all\u0060: \u0060DriverProc.launch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2824ca7594ce1071d4c9954bd46e62ebaed4cd4204788dc43ca6c6c8346db647"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.launch calls \u0060std::fs::remove_dir_all\u0060: \u0060DriverProc.launch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8615689cc8204627d9f4bffc9e688411cd44a995795584d2444491ee022e496"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.kill calls \u0060std::fs::remove_dir_all\u0060: \u0060DriverProc.kill\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ad6424f65544e3f845fc039a7c899807a00a1c759bfea8e751ba2838be9b36"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: DriverProc.shutdown calls \u0060std::fs::remove_dir_all\u0060: \u0060DriverProc.shutdown\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea18a4dc7c584a2ddd137d47786f8643ec9c5b5939aea6af21b704f6934489b9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: session.dbus_reply calls \u0060thread::sleep\u0060: \u0060session.dbus_reply\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060thread::sleep\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/session.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef80c93ba8266b8c4ae771657d8d48e7f01486a8eb26535ec1282af8579bac7c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: procinfo.process_start calls \u0060std::fs::read_to_string\u0060: \u0060procinfo.process_start\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/procinfo.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aaa6d344b9094111e1b951eff9743791cec0a68a0b695dc317897b75ef3cfbd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: db.init_database calls \u0060std::fs::create_dir_all\u0060: \u0060db.init_database\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"086d2225f28a37bdb8264c2a6087e8c0f5e43eafdf33ef25252e4a6a3d9910f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.is_allowed calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.is_allowed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/folder_links.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d6efebeacf9d74c39a4bbae0936f43afd2590baf50f1bdf76648038023a30"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.is_allowed calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.is_allowed\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/folder_links.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b796d33f04a59263b9f6827fe2fb71de5fcfaeb79877d69eead3989a481e67d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.canonical_targets_for calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.canonical_targets_for\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/folder_links.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a987d8614e513dd4b33b15eca9f9914a95648df813371ecc596020d1788081a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: folder_links.canonical_targets_for calls \u0060std::fs::canonicalize\u0060: \u0060folder_links.canonical_targets_for\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/folder_links.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"634868b5fd8860db207c6cf3988a96de08af89c023605fa0bd9f37e31c90d10c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.create_credential_helper_script calls \u0060std::fs::write\u0060: \u0060git_credential.create_credential_helper_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e690327fdf01979a3cb7d7ace2e3e2f09777812df89535ac88ce59717fa5693a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.create_credential_helper_script calls \u0060std::fs::set_permissions\u0060: \u0060git_credential.create_credential_helper_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2d5eedfb64d1fbe62df38874131b5154868b8aed3ba2eb7fc2a210bca7ebc8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.create_credential_helper_script calls \u0060std::fs::write\u0060: \u0060git_credential.create_credential_helper_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc50881ea00793f297cf54732423b1c4ce53a02c0e8f20623a7f21e43126c63"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.ensure_askpass_script calls \u0060std::fs::write\u0060: \u0060git_credential.ensure_askpass_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d05105f9020a7e49267e21790ebf23c6f40b65734620b673749be073ee67ab7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.ensure_askpass_script calls \u0060std::fs::set_permissions\u0060: \u0060git_credential.ensure_askpass_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc76665c7be0c170711ef93d0f2f7297493a54e289cbd8d1b8bbc620facea146"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_credential.ensure_askpass_script calls \u0060std::fs::write\u0060: \u0060git_credential.ensure_askpass_script\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"44431d13c8a4eb3dbd3d6105ee5dcd65ed8d3928b28c10368786f28e1e8e0a72"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.main_worktree_root calls \u0060std::fs::symlink_metadata\u0060: \u0060git_repo.main_worktree_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5861457fd5dbc530a916adf7d6b0fac81ad38edb276e2061c07d96d651b878ef"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.main_worktree_root calls \u0060std::fs::read_to_string\u0060: \u0060git_repo.main_worktree_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c5d873f4efa3e6e642c87cb589cb58dbacade885a16d12510acd15e4976e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.main_worktree_root calls \u0060std::fs::canonicalize\u0060: \u0060git_repo.main_worktree_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"155b56a2d71e3f48c50de41ae4d3a106854a7b34b321c60bcfbe22a083a53aa1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.main_worktree_root calls \u0060std::fs::read_to_string\u0060: \u0060git_repo.main_worktree_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc073d6247e6703273f957b968a3781060c51f4a57882e2e82d8b64b3ed1ddf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.main_worktree_root calls \u0060std::fs::canonicalize\u0060: \u0060git_repo.main_worktree_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaaa6ab2094e19c07c38eb0ccea638dc012a9a6bc47eacc2538e7bdde6d1ef4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.ensure_git_repo calls \u0060std::fs::metadata\u0060: \u0060git_repo.ensure_git_repo\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"01360ea588c9222b4954f6ab530868c2b5610c6b2cf6bf5f99e3c659468abae9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git_repo.ensure_git_repo calls \u0060std::fs::metadata\u0060: \u0060git_repo.ensure_git_repo\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_repo.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ada44623d62bb52f2fc8950ddd7cccf1e2d3b562903f2198bacd1b8c161075"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.read_tokens_at_checked calls \u0060std::fs::set_permissions\u0060: \u0060keyring_store.read_tokens_at_checked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdc4234105f2f67c150a8411aa9dc318ed3b9344ca4e3f926ddf49a9778e0d1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.read_tokens_at_checked calls \u0060std::fs::read_to_string\u0060: \u0060keyring_store.read_tokens_at_checked\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509cd990b7103bfa854e1ffbec280d6f413df246102ac87f4194b06fd7f5938"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.write_tokens_at calls \u0060std::fs::create_dir_all\u0060: \u0060keyring_store.write_tokens_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eeea2f24a7d6da763ae37903c16dfd8ee4817675519fee4f6cc16ff4df94cb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.write_tokens_at calls \u0060std::fs::rename\u0060: \u0060keyring_store.write_tokens_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0bfaedfc780ded47c30d94d1b0b484576308a061386257f7d6014324ec1870"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.write_tokens_at calls \u0060std::fs::remove_file\u0060: \u0060keyring_store.write_tokens_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225ac1c41310bb67d39031737a3efe7a2269fd5eb9c2552c3db2b4de113dca8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: keyring_store.write_tokens_at calls \u0060std::fs::write\u0060: \u0060keyring_store.write_tokens_at\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b1f9528fa342068657e29b82f02c2e7683e35d70fabcaa9622fb428bb52740"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: budget.resume_point calls \u0060std::fs::metadata\u0060: \u0060budget.resume_point\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/budget.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba7ed1d84e9977a390181aaceec43831bb0f011791a6d918311a7784825008f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: init.init_file_writer calls \u0060std::fs::create_dir_all\u0060: \u0060init.init_file_writer\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/init.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7bbfbb50328b9a613e65253044db942c953eb7465fc714b73e2b06019adf17"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_watch.resolve_office_target calls \u0060std::fs::canonicalize\u0060: \u0060office_watch.resolve_office_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4260f352480f5cdb64bf6ad2b3e481ecfa855e2f7b2529f6be08be38215d419f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_watch.resolve_office_target calls \u0060std::fs::canonicalize\u0060: \u0060office_watch.resolve_office_target\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"678f78f2fad5fdab0720b1f39dbb47c735e872d910e3101726bc26df0321a64a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_watch.loose_key calls \u0060std::fs::canonicalize\u0060: \u0060office_watch.loose_key\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4991949e3368576e9460f89ccec7461896b1e6faa8849c7566242f898e9ba"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_watch.allocate_free_port calls \u0060TcpListener::bind\u0060: \u0060office_watch.allocate_free_port\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060TcpListener::bind\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"700be5d2c5d6e9a5a6e2763cd9fc5212e231f126ec87b97ec4e95fe164bdd95b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: office_watch.stop_office_watches_under_root calls \u0060std::fs::canonicalize\u0060: \u0060office_watch.stop_office_watches_under_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c1de090de8905b6b79a7acb8886d77b71e0bd79902031ca2180d4d17455c5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: grok.grok_catalog_context_window calls \u0060std::fs::read_to_string\u0060: \u0060grok.grok_catalog_context_window\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1b2037aaaa6d4a9d16c338b9c01992c6c0f0d734609a40913783f9d95527d7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: parsers.load_file_lines calls \u0060std::fs::read_to_string\u0060: \u0060parsers.load_file_lines\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34da78f8fcd7deede62508350ef45eaf94d0a2be2eec4d0bfea8d77b1c496d9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: parsers.load_file_lines calls \u0060std::fs::read_to_string\u0060: \u0060parsers.load_file_lines\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10d6727791e8099bf025f048b6f691f118b26004dbd9a13ea5ad84887a41962"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: pi.session_dir_from_settings calls \u0060std::fs::read_to_string\u0060: \u0060pi.session_dir_from_settings\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/pi.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3d4edbddb7c6dbab2efd5aaf90bbf3749ebafd230545591fddce5c71ab9d6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: pets.list_existing_ids calls \u0060std::fs::read_dir\u0060: \u0060pets.list_existing_ids\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/mod.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da52ef96ac317b2d75cc8b159a5f898afac6877dfea240e0445fb6b9185f7e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: preferences.load calls \u0060std::fs::read_to_string\u0060: \u0060preferences.load\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/preferences.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04f9e5085dc4ed6d12fb6288a1b1e9ced8a4ded7ee67d047b67fe0a70d891ea"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: preferences.save calls \u0060std::fs::create_dir_all\u0060: \u0060preferences.save\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/preferences.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2830d0b934735caf47f71bda73b1e03f794f6530ad0e0ff1338c686b696eb769"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: preferences.save calls \u0060std::fs::write\u0060: \u0060preferences.save\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/preferences.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4ba295c906ff8ceea12bee1cec7a9d1411d023f2c0e036371303510bd09174"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_to_string\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e90b6f6c496962ee012dcfe2bba9af19281f445fd68fdf03ae2de0ec06c5715"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d9cb146501e6c2f574a579181072c689aaa4edf402204faad9c6ad6b227959"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f906d67761e161f95aadb8104472925761cad959d2fbb2b94237e4b74db40687"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30fc10638f4b90b5ec510bf08d48dd9d249841f42081e20035bae02cedbd809"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c5aaca7cbac429772d3c45ca02325bde5c8b351e3fa56bb87692f9c24b1392"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114f26a1e06e448047c7f05334769e66dca9e29a02d57ceef079546de84695c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80c2d8418d11c9ce9d358d910f19129af96687487ddb586530b100e118db624"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5227d6c3fb0d22da1cfa742e0ec957014dfa722be0628575ef0217fc7d03e87e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: process.node_bin_dir_candidates calls \u0060std::fs::read_dir\u0060: \u0060process.node_bin_dir_candidates\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6066faee976f63036f7da85f15853f7dce7d85e474509f7e2dc9021c18d3847"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.resolve_targets calls \u0060std::fs::canonicalize\u0060: \u0060install.resolve_targets\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a4d4bf7db0b7d21317d31a356a96c59c96a978fc7c11eadfb4dd13ab8f92da"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.cli_is_ours_to_replace calls \u0060std::fs::symlink_metadata\u0060: \u0060install.cli_is_ours_to_replace\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"06553efb7e9d0afab69c781ca984d2510fe511697d2911fb7226ce68e16dbca0"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.mark_upgrade_staged calls \u0060std::fs::remove_file\u0060: \u0060install.mark_upgrade_staged\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d4eabe7dd60512079552aa6bcc33b20f11717c8c71ff7ac8b4bce125e5c546"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.mark_upgrade_staged calls \u0060File::create\u0060: \u0060install.mark_upgrade_staged\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5148768afd1fd5fc3ceebd1409fc7e5ba9351d14ec8a51048bfceb5da81bf02"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.mark_upgrade_staged calls \u0060std::fs::rename\u0060: \u0060install.mark_upgrade_staged\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa7d0784c3ff18e6ffd026f9944da4dae50dfc4412edfd8b32ff1268fb88cc6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.mark_upgrade_staged calls \u0060std::fs::remove_file\u0060: \u0060install.mark_upgrade_staged\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d6199bf953aff851bdf2eb3fe6940f280ea39700456ad65a5eac4a9e02c32"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.take_upgrade_staged calls \u0060std::fs::remove_file\u0060: \u0060install.take_upgrade_staged\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"21329e3b65f7e858cefbbd1e037e8dec75f38a6495a636ae4569e8e818977b01"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.check_writable calls \u0060File::create\u0060: \u0060install.check_writable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab506b8d75e5896be067b55d432c0ad04542ea26ac36b064bf5ad0e61e474f5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.check_writable calls \u0060std::fs::remove_file\u0060: \u0060install.check_writable\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7af00be7b654b6b34470c2f283f620a90e2afc4ac3c02c84a201e3367ae40"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.perform_update calls \u0060std::fs::remove_dir_all\u0060: \u0060install.perform_update\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c36c8acebc4300efb189826244ff80313952a6eac9069885b35476338f8ed1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.perform_update calls \u0060std::fs::create_dir_all\u0060: \u0060install.perform_update\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c299230fa8d39efbd3960f00e146d546be2fcedbc34e07d4eec972ef94fd1f16"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_tar_gz calls \u0060std::fs::create_dir_all\u0060: \u0060install.extract_tar_gz\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9758058e2e6891fc265ec707fd2abe68a3e9967d54a7bba42a3a2406a4b8c6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_tar_gz calls \u0060std::fs::create_dir_all\u0060: \u0060install.extract_tar_gz\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"7759f880e7d624ff012d89fe38731ae7989148ab4f250d202d0d67800085403a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_tar_gz calls \u0060File::create\u0060: \u0060install.extract_tar_gz\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc6a979e7aea4a2e03a53abf46e0665226c865f3c2e85f59d3ce14af0a97c57"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_tar_gz calls \u0060std::fs::set_permissions\u0060: \u0060install.extract_tar_gz\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa38b7b063dce358e710d6f0506a4ad8c746d54d322ea3e0f5b9d25204fe28a6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_zip calls \u0060std::fs::create_dir_all\u0060: \u0060install.extract_zip\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ade19459b241b574d59ffbb736f0f9a1a9d269d7b4baf914ddabf237ca3a48"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_zip calls \u0060std::fs::create_dir_all\u0060: \u0060install.extract_zip\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc1beafdb68544a8dcf0d7c447f3f2faff6784271d419b9bb36e99416edb80"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_zip calls \u0060File::create\u0060: \u0060install.extract_zip\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8b4727485c3954757110ab1dccab98a8ecdc0e4ecd91f67eb75c1932c3a386"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.extract_zip calls \u0060std::fs::set_permissions\u0060: \u0060install.extract_zip\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f1cf11e91e7baf45337eabb2c5be589af12501facfebd701d3a93e9fb0e139"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.find_bundle_root calls \u0060std::fs::read_dir\u0060: \u0060install.find_bundle_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a698a07e6eee2e64397b528968d70790c2ef04af6bcbbe55274a12eac8a0fd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.sync_dir calls \u0060File::open\u0060: \u0060install.sync_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a1d4f3b43012ed96e4bceb2ce100598560fcf9ec840390048f7c17b4d649c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.sync_file calls \u0060File::open\u0060: \u0060install.sync_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bf7aabdcea6fa0cd092b40cc0efbc44f7698eab530cd2eff87cf07258e86e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.stage_file calls \u0060std::fs::remove_file\u0060: \u0060install.stage_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd63ec01b0571d01592c391f2b5d587a8a8069c0fa5500b64d4113f88a5320d6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.stage_file calls \u0060std::fs::copy\u0060: \u0060install.stage_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5e486fb2cf56dfea1738838ed82507def497ce024ea86278626cc7404358d3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.stage_file calls \u0060std::fs::set_permissions\u0060: \u0060install.stage_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::set_permissions\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f906a9644430eded2f6cfb24a1e2b33d0cffa5124cadf818418d12c351763c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::remove_file\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c055abd60032e510ae8bf3cf012d3415a8226378b8dd27a6b903b1da55648e3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::hard_link\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::hard_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8286be55fef64605406ce1ae8d8a526726ea527e13407c17edf54d3865c26f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::rename\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d7f94d061f7cc282c7242f81c953706f87415b01fbfe42cbb8c515c1894501"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::remove_file\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a98d01a2fc6dbfd1921a0ed3128e091977fec471155d2fa23f018feab7be6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::rename\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b04be09fd71c71108694416898072785006332dddd36bd81f70ce1f665e949"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::rename\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e52b741eb3b397d63fcc592df144387732d6a9a40afc5c7efc7ac7471c18215"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_file calls \u0060std::fs::rename\u0060: \u0060install.commit_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b8986f1222974cbad3e0e206d7c6b248f42673ac0dfbe1eea7b5ac2656add"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_synced calls \u0060std::fs::remove_file\u0060: \u0060install.copy_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8450f43e6831c6c1e414188f80a82403531d43c882ce2e8db9fcae4654ecc3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_synced calls \u0060std::fs::copy\u0060: \u0060install.copy_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e998d7c42e9e26038969509d99e58a59c0414d243e95706dead72deaf5f87f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_synced calls \u0060std::fs::rename\u0060: \u0060install.copy_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"254ea36f359998e05496add8b59135249348df457e2c806cdb56ab788b59ea33"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_synced calls \u0060std::fs::remove_file\u0060: \u0060install.copy_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48476c562f22a6082e5dede2e180a4319ef01882044c30862712e7c7b2f4d92"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::remove_dir_all\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfea148fc884dd062f0fecc2c57e14d81451a214453c728d88c3ed1a5b9481ec"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::remove_dir_all\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe6a07af6419b45f3c20dba3cc4b15bdf99a94b828d87b2ccfb5a0dba511db1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::rename\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a468858afc78798e57512c2faee30c74c21a40ce56daa07e5e3d80e5defc16b4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::rename\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"877abd7488196b55398b77cb8d177aa8f4cd5a609448a8c5ba89b4d25879f230"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::rename\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"77371500aabecc5f9f529c94aee7ff2f4eca70bfc8f9e568f5aa4ab4c0754be9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::rename\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6975c4ebaa8b63a90c2f7476d747e80a47f8ec7156177594217b196af52177"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.replace_dir calls \u0060std::fs::rename\u0060: \u0060install.replace_dir\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"e391c18e079bdef99146766b7f9d5f30d106f3024aed6f15797ee3f304a9bcc9"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::remove_dir_all\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f82acb26baaa168dd4420a471a3a1a1bfc15b120b246efa1db1295eb5615b4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::remove_dir_all\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5884ebdcaa3bb42f7fc96cbeeff82edf527b75dad7e8367dcb3abb9f21b152"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::rename\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa41db6ad3ffd8200ff00f28e02b50f6dd87a4342808cd880b81c49dcec481d6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::remove_dir_all\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"69069006f991a1733e0b2287b002d183ecc1a5ee812f6b4bd9d82f87b950a11c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::rename\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aff37e8c4df0f19010b7c44654928ca1c5f00db93150bbc2b8d2e8f293590f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::remove_dir_all\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f954fd05071114603e17cb26b0669697463f4740d35f21b5712f29491582cd"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_dir_via_copy calls \u0060std::fs::rename\u0060: \u0060install.swap_dir_via_copy\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda966dec3c34dc80ccb72beffff05b224990f51fae2f7f1599d6c6573f1876d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.restore_from_bak calls \u0060std::fs::remove_file\u0060: \u0060install.restore_from_bak\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ab0d8cbcf34213aad6948f822ce2e1b6071a77698c72894674555f6926e41"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.restore_from_bak calls \u0060std::fs::rename\u0060: \u0060install.restore_from_bak\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c5447e72c46a44a2945a67e2bcc93808d9cb0816da03ee6fa2467f2652491b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_bundle calls \u0060std::fs::symlink_metadata\u0060: \u0060install.swap_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ce1e1f720709990ba63e60859e2eca3d7a6cca1ba4d9f7c45c904ae31bcbc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_bundle calls \u0060std::fs::rename\u0060: \u0060install.swap_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6560adba0869fc6660d048af40405ccdf6f9ca663d92503334ace4ddcdbd8a97"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_bundle calls \u0060std::fs::remove_file\u0060: \u0060install.swap_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8c86308c1d3f265eb8284c5e057d9aefe6d5198f2ef3d37c0f7c1378856c2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_bundle calls \u0060std::fs::remove_file\u0060: \u0060install.swap_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bd1a8af360f65101f000039ff947c77714c88e2c2adcd41234d05fa99e52e2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.swap_bundle calls \u0060std::fs::remove_file\u0060: \u0060install.swap_bundle\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1919b070890e65a266a208ff5928fde5761f4d1e4642cdee54e2981443c9416"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.write_swap_record calls \u0060std::fs::remove_file\u0060: \u0060install.write_swap_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1288f01ab89cffdd8e2331f7b4a317dd16c5e34c404b9f890a79a7c56e0432"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.write_swap_record calls \u0060File::create\u0060: \u0060install.write_swap_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6967d8c0af739f24ef5e7f93d2aa1232d2b92461f4cfde24095593e027ebb74b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.write_swap_record calls \u0060std::fs::rename\u0060: \u0060install.write_swap_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5905fc5ac8fa2dce0a42bf631f92c233482651a2478902051733baef44366d2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.write_swap_record calls \u0060std::fs::remove_file\u0060: \u0060install.write_swap_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"89916b673f4431d8b69d02019705dcda45b9b49fbcddb1610c9e867c40fa600a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.read_swap_record calls \u0060std::fs::read_to_string\u0060: \u0060install.read_swap_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f05f52b48706ebcc59a32f3daaa49cb1268772a0b86eb18f147457c3b2e2a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.file_sha256 calls \u0060File::open\u0060: \u0060install.file_sha256\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e03f98a6198b759163a71f5287b4d596e603c05b0a006cb3f5885e1f17ace1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::symlink_metadata\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb23403fda94d505ab37b72b44b19691941fc7082baea9103fb9336130b99a06"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::rename\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e561f7db2aa18cc8de0f8a0bc3f460999312137d7032ba2eae1d4e2fdb4cc0c5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::remove_file\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1279c365cc4016007dfd19f7bd5a131e7b0370b6018e7fe3fa9965604650165"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::remove_file\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed5f174b944114a74dae025f1ec645d8b8165e00fdb723e5c891d2b35df61f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::remove_file\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a95c5692b18f1ed0a29f3d4174918e767daf4d560a8ed98c10e07b7a7263a2"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.commit_server calls \u0060std::fs::rename\u0060: \u0060install.commit_server\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3552cd38d8d2a0247e891473e2479192c8557c8aac842249d723c0799313cd32"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.back_up_live calls \u0060std::fs::remove_file\u0060: \u0060install.back_up_live\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bc4aefa9b4c77b2d6367694eb4a53f28007ac198276366abf021bb191ce681"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.back_up_live calls \u0060std::fs::hard_link\u0060: \u0060install.back_up_live\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::hard_link\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"996356782484e49fd5a70bc7059dab417fab80a063a35bf86d93fdbac9f49e65"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.back_up_live calls \u0060std::fs::rename\u0060: \u0060install.back_up_live\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b241f72af373874470242e71fbc16e51d524b9dd0da0638a5dcef50db7edbfca"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.promote calls \u0060std::fs::rename\u0060: \u0060install.promote\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544e995be0a3c2b7c3d4d7d627289307698c0a63c454ba3549ce1f4711317cb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.settle_interrupted_swap calls \u0060std::fs::symlink_metadata\u0060: \u0060install.settle_interrupted_swap\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"173a42e37eabce5670c6eae7532361e29e41f9602a56accf289e139b6c10ba02"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.settle_interrupted_swap calls \u0060std::fs::symlink_metadata\u0060: \u0060install.settle_interrupted_swap\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b67a974eb3171a4dd454646b9497a3d70db21a45d74079570d351ba8647afff"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.settle_interrupted_swap calls \u0060std::fs::symlink_metadata\u0060: \u0060install.settle_interrupted_swap\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca815fadd8eddc3ff2e9e81cb6222327ad4a41d9439a612775fa85940b6e0a0e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.settle_interrupted_swap calls \u0060std::fs::symlink_metadata\u0060: \u0060install.settle_interrupted_swap\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"b731d8512d48f476fe6887bbc40b5834d96902eaab640e406359aaa1d615be0a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.settle_interrupted_swap calls \u0060std::fs::rename\u0060: \u0060install.settle_interrupted_swap\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeeac9c0f78a6a5fa13d76147f83b301996ebaa0aabfe0c75a87b13de7044e4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.open_rollback_record calls \u0060std::fs::symlink_metadata\u0060: \u0060install.open_rollback_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6507750ab227193e0f8227910c2529d1573bced0613d8cbe83460b3751743912"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.open_rollback_record calls \u0060std::fs::rename\u0060: \u0060install.open_rollback_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"086dd459213199cb992a08afb66c64b749ae5294f37ff77babff7955396440ba"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.open_rollback_record calls \u0060std::fs::rename\u0060: \u0060install.open_rollback_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32d82d52cb8b73bbee42a74fbd7f3a8c35d055876ed1dd470b06dcf15bda53f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.open_rollback_record calls \u0060std::fs::remove_file\u0060: \u0060install.open_rollback_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b3de379f4f575bc61a9967d06355e124b1aca6cc494952a1745ac96c320c66"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.restore_backups calls \u0060std::fs::symlink_metadata\u0060: \u0060install.restore_backups\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656245bbd925bcdabbe115c8a0726298b92241a36e4799635546f814d970370"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.retire_rollback_record calls \u0060std::fs::remove_file\u0060: \u0060install.retire_rollback_record\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e921ead6d8832f24aa69e2b26b0f769a28bebca0b4781c16c8b2d4b5f785009e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.recover_pending_cli calls \u0060std::fs::remove_file\u0060: \u0060install.recover_pending_cli\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1279a0f084ecce5a402bc3b477e55916f68ec510910e5f14338e623cae463"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.recover_pending_cli calls \u0060std::fs::remove_file\u0060: \u0060install.recover_pending_cli\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7256552ac12b41dd3d89c00dedad75dce73520b0fae30a124180439480937e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.recover_pending_cli calls \u0060std::fs::rename\u0060: \u0060install.recover_pending_cli\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e023394540222fa7b00893f25f00f6c7e7c9ba17b66222b0c0769b41429103"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.remove_if_there calls \u0060std::fs::remove_file\u0060: \u0060install.remove_if_there\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7841a4ac12f270a2521ed31260be348aa491e0440417c49f7dd426de27402c7"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.create_synced calls \u0060File::create\u0060: \u0060install.create_synced\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1c7905ace582dd7559f1eb5ce316b0879c1a9eac6047ab2f36966e913d0b12"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.restore_dir_from_bak calls \u0060std::fs::remove_dir_all\u0060: \u0060install.restore_dir_from_bak\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52afc03a48560445543b4df03be4dbd36b7d83b1eddcae865cd0449589ffdbf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.restore_dir_from_bak calls \u0060std::fs::rename\u0060: \u0060install.restore_dir_from_bak\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::rename\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"243ae4367a73b77dbc92e1e0bc5ea45f6d327a92a43eb85535295edcf09511f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_dir_recursive calls \u0060std::fs::create_dir_all\u0060: \u0060install.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ea58d2ba56b8b5ff000eb59524c009e02b0017d28a31a573de43f074192768"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_dir_recursive calls \u0060std::fs::read_dir\u0060: \u0060install.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"f211b2ce3cd1be5a136a20cc111f4fee408170096960b08f18eae0cd4f19263e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: install.copy_dir_recursive calls \u0060std::fs::copy\u0060: \u0060install.copy_dir_recursive\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::copy\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"d491dfad6ed8fe4381abd78a7d78160a19a77dfe01da71b60fa60af6be64ac49"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.create_staging_file_rejects_symlinked_tmp calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.create_staging_file_rejects_symlinked_tmp\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6983a802cd7363fda0ad2894c37b1ee6fbb497858102d5e38281cdf91df539"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.create_staging_file_rejects_symlink_at_target_name calls \u0060std::fs::write\u0060: \u0060upload_jail.create_staging_file_rejects_symlink_at_target_name\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac56b47a9b9eca695492b7ee10ddc4c16d28de0fbf542093f03b8c79d91c124f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_moves_file_normally calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_moves_file_normally\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf33fc2acddb371fe6f585b1e0c5e53f8c2f37f7880c3b450cf148992970cc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_moves_file_normally calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_moves_file_normally\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790247e85a5ba06ab459921300f3b9806f9378b07d744be8db09ece9b26460d"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_moves_file_normally calls \u0060std::fs::write\u0060: \u0060upload_jail.finalize_into_bucket_moves_file_normally\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909a4983166d99529dcedd9073270b8107582d77e7423f5bbf3fed5b0818028"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_does_not_replace_existing_file calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe77286879994a549701b6fd110eb25befd2e289849a45993490a62789ea4f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_does_not_replace_existing_file calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22b3c527384776f2857aefccb1d7b61a160ace6fe39761817d112aaf6e1a25a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_does_not_replace_existing_file calls \u0060std::fs::write\u0060: \u0060upload_jail.finalize_into_bucket_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e7db7726b63a9034d6b430d6ecef8ef2224e55e501d0b04111035db7e35ba"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_does_not_replace_existing_file calls \u0060std::fs::write\u0060: \u0060upload_jail.finalize_into_bucket_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6980df6d52a0b0d85627c8ab4e3e0a39196b10e010dbb04e22d2f2b7561e27f1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_moves_file_without_hard_link calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.copy_fallback_moves_file_without_hard_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1151ba527606aa9164139fd2e5b94bfc0946260505c0ba7e3f09d0c9041ac8"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_moves_file_without_hard_link calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.copy_fallback_moves_file_without_hard_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e9f13ec4dd06acc29fff4417e4ff075dcbbbadd55baf01fa4dc1ba45fee59"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_moves_file_without_hard_link calls \u0060std::fs::write\u0060: \u0060upload_jail.copy_fallback_moves_file_without_hard_link\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"12863d97d03c73958feca9c84b8882dffb8a1947cd7b466e0b376592f3ba6bfc"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_does_not_replace_existing_file calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.copy_fallback_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df2f850bb9907c1f1c496d5a00d17104bd051735d2ce3fb9ae276f249c471f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_does_not_replace_existing_file calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.copy_fallback_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"146976dabfc3e55bad265e3da9468f82117176589b9cc0b02580bf67ecfaf67c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_does_not_replace_existing_file calls \u0060std::fs::write\u0060: \u0060upload_jail.copy_fallback_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c897f1dd1c8f2be3fefd44f65fa40942dd2159ed874597a4d83817b0d6697"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.copy_fallback_does_not_replace_existing_file calls \u0060std::fs::write\u0060: \u0060upload_jail.copy_fallback_does_not_replace_existing_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b05420ef3629535fd151ae6f5b9ad85f1abcf0144b5bd7f4455a1c282d4146"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_bucket calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_bucket\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"664c950588af9600355399083390288e0ad1fe63fae99cf9da99552b2c55360a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_bucket calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_bucket\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef7e7e0ae73c830e4f30e69d4240254419088d88573b6f9d66282d8e941b42b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_bucket calls \u0060std::fs::write\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_bucket\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f94adcebaa8aadc5849bc37b6c113197d97122021afd08d057edd87b637f58"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_tmp calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_tmp\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab1266b29d50abdd2ff58fbfac12b3c335e3d8b748c7a734b775e38cf0a59de"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_tmp calls \u0060std::fs::create_dir\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_tmp\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"576e815b121dbe296261a987a351169a457d907c2b725941bb7a8eb741e8cb3f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: upload_jail.finalize_into_bucket_rejects_symlinked_tmp calls \u0060std::fs::write\u0060: \u0060upload_jail.finalize_into_bucket_rejects_symlinked_tmp\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/upload_jail.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa79644f62709eb9d6c44e4e92ba9f9f69b5eb2137cc4916572917f082a6bf"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.ensure_inside_root calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.ensure_inside_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7855805f1fa28ea98b6b1c1dbf46d0dd1debeec92f2334bbc88464f91db4b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.ensure_inside_root calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.ensure_inside_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5606fdfc90ec02fe8c10ce1aaaa65a0a349ad77c60894197481b66bfdd50f4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.resolve_upload_chain calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.resolve_upload_chain\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf3f42a46c462e50cfe7022a60dc5f6a9ef31d0f292b9382d6808f0eae8fa40"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.resolve_upload_chain calls \u0060std::fs::symlink_metadata\u0060: \u0060workspace_files.resolve_upload_chain\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b4c75bd800f1343118b2b3ea3a7807996c94fb37c8f76ce75b99616c40c54"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.resolve_upload_chain calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.resolve_upload_chain\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd12829f41018352276812a2502f1c002bdb55fb3b5c25f3cc7929194e4476f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.upload_workspace_file calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.upload_workspace_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b0d735fb5198b2bcdfa40397e51cd66e7b37c17ad8d3db86065202eadba0a6"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_files.upload_workspace_file calls \u0060std::fs::canonicalize\u0060: \u0060workspace_files.upload_workspace_file\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"27570af60f88d09d23f22418ceb7cb67e47b7384ca315a1e205c82997ce6c92c"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: web.get_local_addresses calls \u0060UdpSocket::bind\u0060: \u0060web.get_local_addresses\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060UdpSocket::bind\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"770fb276be6f176dc1bfaa509b817810a120fea7cbc540018dfb5f658c908b52"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: engine.path_holds_uncommitted calls \u0060std::fs::symlink_metadata\u0060: \u0060engine.path_holds_uncommitted\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1317780a668df19d242feec0d55b941dd97fbce836bd7db0c46bb9f2ddc187f4"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: engine.shell_holds_entries calls \u0060std::fs::read_dir\u0060: \u0060engine.shell_holds_entries\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"30326bb6a7941a531c4948f52f15d589dfc035ffc15a8f358ea61c90f9a7d4cb"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: ScratchIndex.copy_of calls \u0060std::fs::remove_file\u0060: \u0060ScratchIndex.copy_of\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_file\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae3a3651939cfb120fec28f269bc6c8be49cd05238bb55617bdf8b7ece8b15"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: ScratchIndex.copy_of calls \u0060File::open\u0060: \u0060ScratchIndex.copy_of\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::open\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b00029d86931778b4229c21f869bbb86d9e5958ca463a007dbe7b1776170f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: ScratchIndex.copy_of calls \u0060File::create\u0060: \u0060ScratchIndex.copy_of\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060File::create\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc64e8a5d41cd4cef97a4b4a55663bca36ccf0691f050bb14953712fc8f94e05"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git.removal_refused calls \u0060std::fs::symlink_metadata\u0060: \u0060git.removal_refused\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d48bebd19fe812494f2f0ecea9c85b6f035575e3fdddbe2fa1afd5c0c55b64"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: git.remove_worktree_and_branch calls \u0060std::fs::remove_dir\u0060: \u0060git.remove_worktree_and_branch\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::remove_dir\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"2557cde0e030205279b0a5148c8f2a076b1714b652905ab01b33306542b85e9e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.canonicalize_watch_root calls \u0060std::fs::canonicalize\u0060: \u0060workspace_state.canonicalize_watch_root\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22c56ee3f2f35055c352c57cc4e121a0b358e07e68da8f527c8bf21c5dcca62"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.resolve_worktree_git_watch_dirs calls \u0060std::fs::symlink_metadata\u0060: \u0060workspace_state.resolve_worktree_git_watch_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::symlink_metadata\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"122702b3ce2c86a7460ef6f4cd1c592a92b48e245a65972c9721be35754d6f5e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.resolve_worktree_git_watch_dirs calls \u0060std::fs::read_to_string\u0060: \u0060workspace_state.resolve_worktree_git_watch_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd37d586c6804d4a40b05c7eebc61c21c47e71f85c494d26d17ad4edd87d8c0e"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.resolve_worktree_git_watch_dirs calls \u0060std::fs::canonicalize\u0060: \u0060workspace_state.resolve_worktree_git_watch_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f682758ee3e12124a460e01469421411507e418c237ee73ba8f295b5606e1"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.resolve_worktree_git_watch_dirs calls \u0060std::fs::read_to_string\u0060: \u0060workspace_state.resolve_worktree_git_watch_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21d540bf8690d272ccc54fe725dcf78b3959d7a09b2df3c5d0c3b0dfbf9648f"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: workspace_state.resolve_worktree_git_watch_dirs calls \u0060std::fs::canonicalize\u0060: \u0060workspace_state.resolve_worktree_git_watch_dirs\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::canonicalize\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"390839ac3503014fdc91e57c4b82d04e37fd4ba7c554de17115ab8412bbeef23"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060handle_cursor_update_todos\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11080}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb64870aa2f998c8e96f10984fc5a01cc9f3245b942a0d589e374397ce1ab2e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060handle_cursor_task\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11093}}}],"partialFingerprints":{"codehealthFindingId/v1":"9083d7f7a6157ef5341cd53b36e24b7f294f74d4f198b18511f55c895c608ed0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060handle_cursor_generate_image\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11101}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d7bfb3347f12d042ad2121b094320a5512c9aafefc4e917aa5dec648b61f1c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060send_broker_cancel\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2bccfb81ee07d7212973ef467fbeaca973bed7c48dba7fcaba95efd64f3d1b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060client_commit_feedback\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/transport.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedc9438210946f287d8350d13579cb1689909d8557491f789c0179e998eaa66"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060send\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/event_stream.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c738216f4413c994309ca9ce203cd4dc0421ef0451d720601efc5a853843bc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060install_delegation\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"687450462f5ce3aa76b0ac385129c666021a19428c60d8802e80c50b4a7f367d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060install_chat_channel\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60fbaffd07c0339ea4f1dad8f2ade0f813a739981f3842320d1253a7bd9ebbf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060workdir_of\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/listener.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"705f26b022f0c84228b0cfa81eaaba52472de311cf1fa338b8b3a85d69e7250a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060listener_pid\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/listener.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409948899fee16446dbbf0df15f9589210bf4b1ac2b1ec60f634338da302a7f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060program_of\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/listener.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"053c70bf1027d2eb4613cee07f43e7c07addafd1bde0b8ffc4da4b7b100a6bbd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060workdir_of\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/listener.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"346f7481a57fde69c581168ab6daa7af4a781569dae7e80d6ae2ff79891cc0f2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060refresh_user_agent\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux_child.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9682efe2650aa6155f70d58d4bf32b267ad6a5d3973985d88aa11edb6c05bfd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060devtools_visible\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e8f86a2bb04357f00c3f99c8ab064a469447c78a72c257fec7dc0ade6490a4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060navigating_to\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1443dd639e937b0959a956535b6181e1990d5411d5ae5d8ea2f75d96db9a084"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060refresh_user_agent\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4445c05e98dfa86dd55b58f1f10e037d6702deefb2ee8bed0c2e82b2ae0ebb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060adopt\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"3967cd11ddb41b2625b5bee1c6d7186740190f25870aaeadfdd843d697b929b2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060forget\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"1246330a247a272a4df10068425ba3bc87d9c2efc059916b69b20ab7ae78a739"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060navigating_to\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48f06bc86c2ce3c57a2860756aa3f742e5f8b864f04c6518a65efd17d4a9cc4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060can_go_back\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c71562085940df00a86176d5222721d751445e739a15ee27a5af20cd716332"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060can_go_forward\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a7c26dca97e2f28fa12f709d8db35d2c0b54aca40210636a53fbc3c838cf57"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060refresh_user_agent\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fbb0be9e821e2608c9d5ef0e3ce78d45cc52d0c6c8d6e0e24ec864e9fb448d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060cancel\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e59cd86d14eabdb856b20f79a3a3c5ba00289cdda567c0995b6b36f6141c52"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060set_opener\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af516d5078648fb8c1d9a3c1a56fbac6beacc8bcbe60356673f1ae036ba5f1b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060cleanup_prepared_sources\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"546635e81057851dcdf296370ae8a79d89dd288900618335148d07e3ec01f739"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060validate_preferences\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/domains.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c2851f268670ff5bd2fac3bacc0422ec33d4029e362a50f0f63e149619859"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060emit_workspace_transfer_progress\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b082c1a1622fc66b64f158342a2ec84407c82e03d76195a2a750241b2a9273"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060process_start\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/procinfo.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1495d1c16597fbdef656e430a3c53a92722e33f1b34ca913f6fc6837260a97"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished branch \u2014 a todo!() / unimplemented!() arm in a real function: \u0060update\u0060 does real work, but one of its branches is \u0060Err\u0060 with a \u0022not implemented\u0022 message \u2014 a case that was never written, and a panic the first time it is reached. Implement the case, or return an error that says why it is not handled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/work_task_service.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c727f5d4e437dd278935fd3bde09021330889a2dc19dcd292dbcf7858c41d747"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060persist_pet_closed\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7540cda5749d06196bdcf455fca866a31870b1fef0823b9b0e3f847a2cbbf273"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060apply_settings\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/hub.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf9f6aef5515cea0fdb9f32787d5c5e407a65901327d799545cc523cd23165"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060set_log_file\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/panic_hook.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a0d5a1b6f338195a79532923231af464add8ab1e0ed0a5905da0168797a1bd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060log_status\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/webdav.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d4e559609dd279d7b6783909ea22630b2d24df487c59e3fec8907f0949878d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished branch \u2014 a todo!() / unimplemented!() arm in a real function: \u0060start\u0060 does real work, but one of its branches is \u0060Err\u0060 with a \u0022not implemented\u0022 message \u2014 a case that was never written, and a panic the first time it is reached. Implement the case, or return an error that says why it is not handled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c0a416f5c2ed64c043f35aff32aa5781ca0c344e4b264bed6717b8e61fb32"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060delete_ref\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c08cd114f75e83b6c1bec0d235b914fe650c785401e916bccc3a21f2a544cc"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.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":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release.yml"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c282667f87424653c442c386cf7f4df113a8b0237b7e48c3adc27bd5cffa7b1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7225801e08741a48cc71405701293e6bbeeecf0fc54f7cecddaad98d9bc6f14"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8282853de916bf73fff4974bc8b6c02319f7c0f131e46b93418f3a2a95cce564"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ed32e75b8c684f1f1779d865bab45d67387f9f04f0c4f5e8aac993c266ecd8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\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":"src-tauri/src/commands/version_control.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c411dccb7ab338f8bf682b9515f809930a5dfe8d97b5e9927944539f3f831bca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawn_agent_connection\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0947c0ef6dfae09d52cf0d58f783cbef9eebd1a778f503dc927f0a2c4a5c4bf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 22 sibling directories (259 clone groups): 259 duplicated blocks under src/components/ have copies in at least two of the sibling directories ai-elements, automations, browser, canvas, chat, computer (\u002B16 more sibling(s) not listed) \u2014 108 of them are reported below, and 151 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 259 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 259 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 259 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f77369f2fb017de8eeddb532a90deb20df016ffa91e973b5d4ea3befeb77d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (81 clone groups): 81 duplicated blocks under src/ have copies in at least two of the sibling directories app, components, contexts, hooks, lib, stores \u2014 36 of them are reported below, and 45 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 81 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 81 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 81 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-proxied-background-thumb.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7619708069058bd97ec178cca024a1926a5077347c87844688f9a62749ba868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (7 clone groups): 7 duplicated blocks under src/app/ have copies in at least two of the sibling directories commit, import-sessions, merge, project-boot, push, settings (\u002B2 more sibling(s) not listed) \u2014 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 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":"src/app/merge/page.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"effa8b907b766d1a9a05e2b53c6432064a38a2d0efcfc2840524b8195323b8fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (343 matched lines \u00D7 2 locations): src/components/layout/branch-selector-list.tsx:204 \u00B7 src/components/layout/git-log-branch-filter-list.tsx:118 \u2014 the two spans are one implementation copied and then locally edited \u2014 1738 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b10d734f6161e1e0b1f3dbb4f9acda729622a2284d2832680d51f659364e98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (243 matched lines \u00D7 2 locations): src/components/layout/command-manage-dialog.tsx:530 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:417 \u2014 the two spans are one implementation copied and then locally edited \u2014 1122 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b969ca812354f9422d3b4334b51aca3614615ed0d526f080a05c28dace40ab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (236 matched lines \u00D7 2 locations): src/components/layout/command-manage-dialog.tsx:159 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:117 \u2014 the two spans are one implementation copied and then locally edited \u2014 1361 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1488d54dc012a008ed22d2506b0ff16545bfcbef4bf6110d143cc56ed812ea57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (204 matched lines \u00D7 2 locations): src/components/project-boot/hyperframes/hyperframes-launcher.tsx:83 \u00B7 src/components/project-boot/shadcn/create-project-dialog.tsx:69 \u2014 the two spans are one implementation copied and then locally edited \u2014 1009 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff65fcc78c3a8ddc845bb9561daadfbafa9b737cf2d5e8bbdea78e0c1cabe47f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (202 matched lines \u00D7 2 locations): src/components/layout/commit-message-settings-dialog.tsx:284 \u00B7 src/components/settings/assistant-editor-dialog.tsx:224 \u2014 the two spans are one implementation copied and then locally edited \u2014 1019 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc279e08653cd17570372718a0e47c063a676b748415824acf64a2f2ce908a91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (192 matched lines \u00D7 2 locations): src/components/layout/remote-workspace-manage-dialog.tsx:174 \u00B7 src/components/settings/quick-messages-settings.tsx:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 1066 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e45a32da3db79c4b1c0fbf15ca97b4e28fcaeed7b1e74c6f386c8ea208a9b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (174 matched lines \u00D7 2 locations): src/components/shared/directory-browser.tsx:156 \u00B7 src/components/shared/server-file-browser-dialog.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 996 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"73300e7903b43068cb5bda1de22b7e920fbd837e41c9b91aa386f3ab81d382fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (151 matched lines \u00D7 2 locations): src/components/settings/add-model-provider-dialog.tsx:46 \u00B7 src/components/settings/edit-model-provider-dialog.tsx:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 836 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-model-provider-dialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5082be675322886ca587c0ee0dfb6904515edfc1aa0fda5cdd4efc66c78eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (147 matched lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:558 \u00B7 src/components/conversations/sidebar-folder-group-header.tsx:220 \u2014 the two spans are one implementation copied and then locally edited \u2014 663 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce741b43818c880e02943895e2bb6309ce2ec669fdd51026800fb64fe5bf40f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (146 matched lines \u00D7 2 locations): src/components/layout/push-workspace.tsx:322 \u00B7 src/components/layout/unstash-dialog.tsx:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 783 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c085b5acfebbbc6938819e09918cd5baeefb1fbde86547109c2a59d6c183e3e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (145 matched lines \u00D7 2 locations): src/lib/transport/remote-desktop-transport.ts:155 \u00B7 src/lib/transport/web-transport.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 779 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"99918b8580a9cf934f92dbbfd1888bda6b34c876d870210784d1b02c6ade4894"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (129 matched lines \u00D7 2 locations): src/components/settings/experts-settings.tsx:35 \u00B7 src/components/settings/science-settings.tsx:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 701 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/experts-settings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ec83e763eb5fab37724fe2ca37c5ba0e58f52fcb81bcdd8b8784240e1fc4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (127 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:425 \u00B7 src/components/layout/push-workspace.tsx:84 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7adfbd7978abaf81602ce8fae2fb82b6ea342d6a9801a0d97614429a00c1b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (123 matched lines \u00D7 2 locations): src/components/settings/add-chat-channel-dialog.tsx:114 \u00B7 src/components/settings/edit-chat-channel-dialog.tsx:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 624 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"72880e76f182498c7cf14462e2d422ee0fc5746ed08af8291b00cac8c51e0b0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): src/components/forge/forge-combine-dialog.tsx:145 \u00B7 src/components/forge/forge-start-dialog.tsx:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 530 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-combine-dialog.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c24a7d7cda1610e8003e19adc7b780396a47c79eb420c56fde8306a91629ff1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (113 matched lines \u00D7 2 locations): src/components/settings/opencode-behavior-section.tsx:64 \u00B7 src/components/settings/opencode-permissions-section.tsx:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 547 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"82840120220304fb57a05877c98c560dff94fc7f129e10acf8c333eaecd2450b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (112 matched lines \u00D7 2 locations): src/app/merge/page.tsx:6 \u00B7 src/app/push/page.tsx:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 554 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/merge/page.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fe8365091f86a00532e051dd0d294dd4882aeafb30533a1aa7a19cb2bc3996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (102 matched lines \u00D7 2 locations): src/components/message/reply-artifacts.tsx:138 \u00B7 src/components/message/reply-artifacts.tsx:246 \u2014 the two spans are one implementation copied and then locally edited \u2014 445 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e82d569cbbc267aac0c0a6202c6bcedfcaf6e139653e2b6ee176ea84a90dd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (101 matched lines \u00D7 2 locations): src/lib/desktop-notification-prefs.ts:85 \u00B7 src/lib/notification-sound-prefs.ts:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 548 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/desktop-notification-prefs.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0fbb67d660803f533d7f2b50d0634682c2bf8db896ac5011b1f8665a6cd8d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (97 matched lines \u00D7 2 locations): src/components/chat/chat-input.tsx:32 \u00B7 src/components/chat/conversation-shell.tsx:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 490 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/chat-input.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b931e831888a70497d5e4053a4482d5a80c66a37290f45f2e90f3a62c51472d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (96 matched lines \u00D7 2 locations): src/components/files/file-workspace-tab-bar.tsx:73 \u00B7 src/components/tabs/tab-bar.tsx:279 \u2014 the two spans are one implementation copied and then locally edited \u2014 509 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"908adcb7a76e73681d8a06c7eeda1ec3416bfac98ea0231408514569fc6c8b93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 3 locations): src/components/layout/aux-panel-git-changes-tab.tsx:292 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:461 \u00B7 src/components/layout/push-workspace.tsx:120 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"179e62511120c88be3754d796075156aff3df4dfe63124ad4c076ab4915f587c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): src/components/ui/context-menu.tsx:26 \u00B7 src/components/ui/dropdown-menu.tsx:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 337 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/context-menu.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e2a6362de2aacc8d60c2927745d61ec3eac5cec9368abe39e72662782dd1d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (86 identical lines \u00D7 2 files): src/app/commit/page.tsx:3 \u00B7 src/app/merge/page.tsx:3 \u2014 these 2 files are line-for-line copies of one another \u2014 86 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/commit/page.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa68cdd9091a94354bbb5096c0cce50b50b251d153b30f73c541645a2f75cce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1877 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1995 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bfea2f6946c18a86df59bcd1ac923087184e5b78c86ee89f4ae8a24f629f19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:1538 \u00B7 src/components/settings/mcp-settings.tsx:1662 \u2014 the two spans are one implementation copied and then locally edited \u2014 368 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e20ec22666e1e4881170481e6dbfd074be6ac4ef924a67c1cfa274ba625a30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2 locations): src/components/settings/command-code-config-panel.tsx:75 \u00B7 src/components/settings/trae-config-panel.tsx:84 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/command-code-config-panel.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"597ce61a486dfe13d937559531e45b3e0fe02e254e3638b59fdaade18b52fd27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:118 \u00B7 src/components/layout/unstash-dialog.tsx:79 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acb80952944a07d751228f37bbe21a52cfa6059c94b551cfa4894573eb1be0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): src/components/tasks/task-follow-up-dialog.tsx:63 \u00B7 src/components/tasks/task-restart-dialog.tsx:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 366 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-follow-up-dialog.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ccd342bc5aa767c341390aec2b4ad6368730b1d5326d61d48a76dee6b2fb9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): src/lib/activity/json.ts:26 \u00B7 src/lib/session-files.ts:108 \u2014 the two spans are one implementation copied and then locally edited \u2014 423 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/json.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1565c26b04e4cd68c4fc1f4065075f8a34a36d844c2a293934fbb9f1602e17ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): src/components/chat/conversation-context-bar.tsx:117 \u00B7 src/components/chat/conversation-context-bar.tsx:272 \u2014 the two spans are one implementation copied and then locally edited \u2014 412 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85b13d0554f73962a4c4266fc152085d68f761fc49113e88da8f724e23e80df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (59 matched lines \u00D7 2 locations): src/components/settings/custom-agent-mcp-toggle.tsx:35 \u00B7 src/components/settings/custom-agent-skills-toggle.tsx:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 330 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-agent-mcp-toggle.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc3de3c1200ce7e7fbc48467fe0dc2e4b1e8652852e26a4acf4dd68c4b4cd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): src/components/settings/opencode-connect-dialog.tsx:118 \u00B7 src/components/settings/opencode-connect-dialog.tsx:498 \u2014 the two spans are one implementation copied and then locally edited \u2014 277 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8749b4a422b8372c7e350778e665247f65cea98db377734ae130fc0a160e34cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): src/contexts/workspace-context.tsx:1829 \u00B7 src/contexts/workspace-context.tsx:2184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"35205cb2acb1949c3346e573ce33d074c2789d5c26d50f002f272e037eddd9e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): src/components/settings/general-settings.tsx:170 \u00B7 src/components/settings/system-network-settings.tsx:281 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"686de2ddfa22481372556c6ba08de44b42501848130bcea6f6e25e8246871ebd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): src/app/push/page.tsx:54 \u00B7 src/app/stash/page.tsx:38 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/push/page.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99526c20686c76e318286440015bdcd7131d5ed869bae3356af10ebd1c4482c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): src/components/canvas/canvas-conversation-surface.tsx:691 \u00B7 src/components/conversations/conversation-detail-panel.tsx:1314 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351a8347da1e3dce28370e7ce988b7eac0e4930591265cb2851747b87629465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): src/components/message/activity/rows/agent-row.tsx:169 \u00B7 src/components/message/activity/rows/collab-agent-row.tsx:147 \u2014 the two spans are one implementation copied and then locally edited \u2014 237 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"55815bb605106f88351863b48a31ce7de1af35aae76650b6bace4627d2be6ee9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1258 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1439 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05002b3168165bc727b1d1232e423a3e7dab1bf7ae80f0ac7dae6bce9364463"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): src/components/settings/kiro-config-panel.tsx:44 \u00B7 src/components/settings/trae-config-panel.tsx:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 321 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kiro-config-panel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f2b15918eea6186cd2c550d08d2838ea83d38a4179a7b7fc3ec33d7569412"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): src/components/chat/remote-control-strip.tsx:53 \u00B7 src/components/conversations/conversation-detail-panel.tsx:1892 \u2014 the two spans are one implementation copied and then locally edited \u2014 222 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/remote-control-strip.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e7b7a6e3a2deb48c6719eb58f3bfac88d2c94c5c8fc8eb62d073c390ec189"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): src/hooks/use-proxied-background-thumb.ts:44 \u00B7 src/lib/pet/use-proxied-marketplace-asset.ts:23 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-proxied-background-thumb.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee4a4da37b58218d3208ec5d00e27508ada9ef420a2a4c20ec50d932e8220d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:683 \u00B7 src/components/layout/push-workspace.tsx:856 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fed8543ee2edd02764fe0661ba1efffeac156a77f5e0fa8067c60de71da8d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): src/hooks/use-built-in-experts.ts:11 \u00B7 src/hooks/use-built-in-science.ts:12 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-built-in-experts.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c154e91f27839bac0f172a65491c7f9d56a12c6df2bb6bf894cf53fee499f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): src/lib/adapters/ai-elements-adapter.ts:1761 \u00B7 src/lib/adapters/ai-elements-adapter.ts:1832 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d9cee6da4a76f7e037a673e047d6152002dca79328fad2f22e27874ca9ac48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:587 \u00B7 src/components/layout/push-workspace.tsx:783 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2657fcd1aa24cfcfe660cc130b152699a6e456c6c552af3ad80b03a683a60eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): src/hooks/use-agent-install-stream.ts:12 \u00B7 src/hooks/use-officecli-install-stream.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 269 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-agent-install-stream.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dc94a374f3e01b8fafeff178b98804b10d7185eb811a7419756d8da4789618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): src/hooks/use-connection.ts:408 \u00B7 src/hooks/use-connection.ts:456 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3cf4eae7eb5aaaaf0832e7141a156445f6bccf1cea34e6b91e9e35f6937de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): src/app/pet/_hooks/usePetSessions.ts:49 \u00B7 src/components/workspace/close-request-dialog.tsx:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 239 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetSessions.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b345368de3bc86887d7a834f378c915f7370c0bc86b85953c8ff69500fd5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): src/components/ai-elements/code-block.tsx:381 \u00B7 src/components/ai-elements/commit.tsx:206 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"783da6496fce4f8d5a1ca24f767cd9497763da1754f117b9baaeb8f7d0d3f705"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 4 locations): src/components/canvas/canvas-view.tsx:1176 \u00B7 src/components/providers/update-provider.tsx:943 \u00B7 src/contexts/workspace-context.tsx:3623 \u00B7 src/hooks/use-connection.ts:433 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ba53d575c2a4b1abda3df4bc9263be87e844a65d464f1818eab46251297ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): src/components/providers/update-provider.tsx:947 \u00B7 src/contexts/terminal-context.tsx:666 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9448d2ed42a3b05a7840550824943f913554fee6b284286cdb287af84593de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): src/components/message/activity/rows/generic-row.tsx:61 \u00B7 src/components/message/activity/rows/mcp-row.tsx:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 220 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d154c2bb232dca2bac74362fa3f76a4207c436a2f83f82166448ff2f3bac76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): src/app/pet/_hooks/usePetOneShot.ts:28 \u00B7 src/app/pet/_hooks/usePetState.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 180 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetOneShot.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b0fc23eb338612f3e7ec42a7e2f2b54e94cfca771f6ffafbb87d71b3140d49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): src/components/canvas/nodes/file-node.tsx:156 \u00B7 src/components/canvas/nodes/terminal-node.tsx:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/file-node.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fd727c1206648ff6ddeea7b91615e5648c077a4b71483bc34c7b5bedfce19a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): src/lib/api.ts:1619 \u00B7 src/lib/tauri.ts:276 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13231d508ab2142b5709000379141d0feaaa3cf16b18073a4c239f34ec037f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): src/components/message/activity/rows/command-rows.tsx:641 \u00B7 src/components/message/activity/rows/explore-rows.tsx:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 195 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1acbd07aa01749697f439cde5e7c26bff716e1372fd652e2c8794f65499ebb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11143 \u00B7 src/components/settings/acp-agent-settings.tsx:11398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdf5d7fc0831a8f75e798c79c210c355f622e801a6ca04f9a2691f15510fd11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 4 locations): src/components/settings/custom-skills-settings.tsx:183 \u00B7 src/components/settings/experts-settings.tsx:47 \u00B7 src/components/settings/generative-ui-settings.tsx:51 \u00B7 src/components/settings/science-settings.tsx:51 \u2014 the 4 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 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6e9ee06a4e2832b2486ca77a27f72ae0beb12301b399909259e1d6f4c991a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): src/contexts/aux-panel-context.tsx:61 \u00B7 src/contexts/sidebar-context.tsx:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 285 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/aux-panel-context.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"52faa4ebf311b24f85eddbdd10873d83b64f7017e32dab86fd4daf8956034f58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): src/components/forge/forge-settings-dialog.tsx:332 \u00B7 src/components/tasks/task-settings-dialog.tsx:415 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"10777ec17e9efc7f68bbfcdfec7bbb23ca8ac70f2c308e64163ca96daa21d9f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): src/components/tasks/task-card.tsx:448 \u00B7 src/components/tasks/task-row.tsx:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 195 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-card.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9fcb2d5aaa2d5cead31f68d41cd410c22d88b7d8d0bed7ad6c7074f30c8c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3302 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2146 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0503aeebcb971488ed2d13585b251a6f0749d7baf3d5539fc85d6f44cb42f198"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:875 \u00B7 src/components/layout/commit-dialog.tsx:979 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"947703e6d25456be4e4ad4dc48b91d690a99564c70f88cbd761aa1dd419765b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:614 \u00B7 src/components/layout/commit-dialog.tsx:653 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf9293cdfb14825fc1640ead7650a090affdce91a6eeb18d9921622c451d3e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): src/lib/api.ts:2278 \u00B7 src/lib/tauri.ts:457 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abac18daf8f8952dd107aa9c5997e3a86cab39e0362bb89e7594a251f74c13d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:9397 \u00B7 src/components/settings/acp-agent-settings.tsx:10007 \u00B7 src/components/settings/acp-agent-settings.tsx:12910 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b384229bc1728f8579a06a4ed554972cb2fb0d99e88d0abbc88fd377280bd4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:548 \u00B7 src/components/layout/commit-dialog.tsx:586 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"3290c5438ee04e03ed2f731039ca782f65df770d3ce23b17fbd9381e0c904300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): src/components/settings/kimi-code-config-panel.tsx:1133 \u00B7 src/components/settings/pi-config-panel.tsx:1402 \u2014 the two spans are one implementation copied and then locally edited \u2014 191 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"247f70b47a2ee1894c3f06185ea0c7d296fc5e7b99f4d061484daae2840cf7fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/components/settings/agent-tools-settings.tsx:223 \u00B7 src/components/settings/agent-tools-settings.tsx:273 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"742eabdf6bb82bb486def7bdca41054cdde6513ec3a86bd68b9067ef640408f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): src/components/settings/channel-commands-tab.tsx:29 \u00B7 src/components/settings/channel-other-tab.tsx:31 \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":"src/components/settings/channel-commands-tab.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1dff0b505fd891ef69970dd6b46093bcfb837aa46099947be2caf76a6f22b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:1113 \u00B7 src/components/settings/qoder-config-panel.tsx:416 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc6c7087546cdb8721e5709d61b651c90838d9c9bb9874ad878b3b38cfd617b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): src/components/settings/custom-skills-settings.tsx:732 \u00B7 src/components/settings/skills-settings.tsx:1226 \u2014 the two spans are one implementation copied and then locally edited \u2014 143 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e4798c67ffbde7e13e78330a25e677e1ed2d33fb962101491950c3eec423bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:8584 \u00B7 src/contexts/workspace-context.tsx:3642 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":8584}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a421af56d0ff634d35cbf61c19b62ad1f46cdfdffebcc8183625d56127faa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): src/lib/file-search-match.ts:29 \u00B7 src/lib/fuzzy-text-match.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-search-match.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeab8de308a6a26f7dd7773f26eb9ebb3800810341756dc8d6689f1f3eebeb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/components/canvas/canvas-conversation-surface.tsx:867 \u00B7 src/components/conversations/conversation-detail-panel.tsx:2324 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c80ef04703ae9ba58ae8dc3b34c3b808b49f7ae33bd1645bb8fe7d867742e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:706 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:894 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1824169728a2caa6631a591444da40f460c7ae2c268d5d4430786b699997441"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3181 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f90345fc4b192525add8467e7236f597df184c0b5e50747357d778be45e42f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): src/components/layout/status-bar-computer.tsx:385 \u00B7 src/components/settings/computer-use-settings.tsx:352 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa01a84114295e6c44293433d0cd61a5baafa05c7ba51c39b050cdfd35ee56c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): src/contexts/app-workspace-context.tsx:52 \u00B7 src/contexts/app-workspace-context.tsx:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 184 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/app-workspace-context.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a8b8af80b8e87edc7996b438b9b7203caa22208db797644785fb50b57a7d49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): src/components/canvas/canvas-board-actions.ts:106 \u00B7 src/contexts/tab-context.tsx:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-actions.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"727dbacc49a705d65c845ab3d1c0011b2aa28af3b8171440a118bc0a85872d4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:772 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:1030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd1e911546f11d70d5d9ce6d53a3961615f3687eae702c6b1e1b98738adc029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2324 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1042 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579fd05fc46161089da9bfb425b0803ec8686a51bb9a876979ca0664ab182cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3453 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7021b0f5cc5c571a42471dbc5ee0859b1d7f18f63fe9462686ee667121d74e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): src/components/tasks/task-complete-dialog.tsx:57 \u00B7 src/components/tasks/task-merge-dialog.tsx:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 142 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-complete-dialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88beea0ac9b9008d16269c45f2c4e6438fb927b0ee7f1d54e37eed3bd966e07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/contexts/workspace-context.tsx:3612 \u00B7 src/contexts/workspace-context.tsx:3646 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":3612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddbf369d570cf7f02e5379fd83cd48b93bd032d1ec2923eee5e24eb7f6c2592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:3608 \u00B7 src/components/layout/quick-actions-dropdown.tsx:195 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba8208709c99d07990b4ba38b0099afa30d202092ca836f319d91644aaae8b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:12133 \u00B7 src/components/settings/acp-agent-settings.tsx:12174 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12133}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c0c3b0f6b07dcbaf6f61cbaa2bb97ec430e9425a3a6b9625633478e7885512"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/settings/font-settings-section.tsx:226 \u00B7 src/components/settings/font-settings-section.tsx:265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8ba200cf325dfa263d1b07d97c2ffbf12a34d466712266b0122aec9cc9c985"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): browser-agent/probe.mjs:1692 \u00B7 browser-agent/probe.mjs:1738 \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":"browser-agent/probe.mjs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"515a8b5e3591813458c23f91ac9631953e47f295b6c524d960310f3fcc3fda50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/components/chat/composer/composer-add-menu.tsx:316 \u00B7 src/components/chat/composer/composer-add-menu.tsx:372 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7e4e52a87cd42d5c03d1c385cf9b87d5cd089f55d767034dac7453e964f98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3 locations): src/components/forge/forge-page.tsx:1900 \u00B7 src/components/layout/aux-panel-tasks-tab.tsx:179 \u00B7 src/components/tasks/tasks-page.tsx:516 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"b544f168e2bb129dd523ebcd385c28029f38558c7f4b19a625c1a0318c598351"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:303 \u00B7 src/components/layout/push-workspace.tsx:242 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9165558e518622a07deaf4f7de4165109474b6dfe5a714cffa2198e18f6134e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/components/settings/pi-config-panel.tsx:1218 \u00B7 src/components/settings/pi-config-panel.tsx:1573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb13c7998aa84d32b317171edc0053eab82391ef0672266185086c110170876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:5452 \u00B7 src/contexts/acp-connections-context.tsx:5496 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff801500f405fd29cdae38f2bba867facec93f810235211959e5fb3c3bd3ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/lib/sidebar-view-mode-storage.ts:346 \u00B7 src/lib/sidebar-view-mode-storage.ts:425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6abb16c1c6e9cd164e19c49350aaa2c9ade255a81f749cabf262d5762eeabf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/automations/composer-invocations.tsx:186 \u00B7 src/components/chat/message-input.tsx:1173 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bef8ee55a1148596c64f98c24113c7b379370b142778756b099abe480b84285"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/chat/composer/composer-add-menu.tsx:188 \u00B7 src/components/chat/message-input.tsx:2275 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/composer-add-menu.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3311d70809b35d17bbe23cc53eab7b3953d730d2a60e6c8cdda194c2583f25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:1596 \u00B7 src/components/conversations/conversation-detail-panel.tsx:1674 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f99cc28b6234e70ed09f247aa2b7d3b85a2d25a67f58cea10cf90de8865600f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:808 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:1054 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e3138be7f263fa8132c1edf8ab42d55d22e22ae92fa101a0fadc6508e12f72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1481 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1569 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4736b2af69bbc7e76d6ef41eb2fc1254bc34ad8179c7a010ed1dd24f88e13ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): src/components/settings/assistants-panel.tsx:183 \u00B7 src/components/settings/mention-panel-settings.tsx:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 314 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eb29716271c3926e7c8405dd7cfd8f4e1bd48a17c53214645a9fad2f3e27ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:897 \u00B7 src/components/settings/cursor-config-panel.tsx:951 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f0b0b07b9a141e88631fe93dce1ff8ea6067a24284962fab7e108e57488ba5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/components/conversations/sidebar-folder-group-header.tsx:301 \u00B7 src/components/conversations/sidebar-section-header.tsx:326 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bb9d24f99816ff3b10625fcd99c0462abbd8cc44c94163b8f443fd0982fcf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/components/layout/commit-message-settings-dialog.tsx:103 \u00B7 src/components/tasks/task-settings-dialog.tsx:158 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fec83c0b05c4143aa1349731abec32744d70689621a257f5809502b546613f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): src/components/layout/conflict-dialog.tsx:140 \u00B7 src/components/merge/merge-workspace.tsx:144 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f515e134f2185c435aec809a67e4609ba2129cb6986d124e187eb466e18e1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:4870 \u00B7 src/components/settings/quick-messages-settings.tsx:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8f988bfa3afe83e5e4577fa24c206aaf662d29d9e5ca4978cf7431563d5b88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4 locations): src/lib/aux-panel-tab-order.ts:205 \u00B7 src/lib/desktop-notification-prefs.ts:182 \u00B7 src/lib/notification-sound-prefs.ts:183 \u00B7 src/lib/window-attention-prefs.ts:156 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/aux-panel-tab-order.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a954e30fe29cce5320a9a4ae351d995f44d0dd969be8986b95d0afbd3f1a929a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/stores/assistants-store.ts:204 \u00B7 src/stores/conversation-tags-store.ts:380 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/assistants-store.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c79f2ffdbe49f788560fe9a03e680d22eb06b6a6caab08134f98472739ec86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/canvas/canvas-dock.tsx:461 \u00B7 src/components/canvas/canvas-dock.tsx:492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69de99ba5d40cf5bf29568828730781d6eb4a9fcb4bb0429778fc682894a3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/chat/composer/use-composer-attachments.ts:476 \u00B7 src/components/chat/composer/use-composer-attachments.ts:653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"824186505442c2d285c885b96897f1b1648bc73a896c12d463fb8991d44e79c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3611 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2267 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2306 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3611}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d135a7c325d585a5c55d53b867114723d6c92fe8b68163d1d96e6a9b9a944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5821 \u00B7 src/components/settings/acp-agent-settings.tsx:5941 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5821}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425bde08411b558703835e1849c18e2dbe2f0122dc5f23710c2c31daefc0dd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:1151 \u00B7 src/components/settings/qoder-config-panel.tsx:463 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19e6a3e76d908d0904c10dfedbdcb7b1cca0f23c7b4e1c37073a55cdeb98603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/chat/composer/composer-image-thumbnails.tsx:98 \u00B7 src/components/message/user-image-attachments.tsx:69 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/composer-image-thumbnails.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"806854bae6f3130dddb870856d50e26a19fb56c079de518bae240eeac5e43ca1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1413 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf1b6513c3acaad3dfe4e6da225118f0d3bedc22d78d17efcd14a4c86b9cc5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/layout/command-manage-dialog.tsx:113 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:80 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf65de85c1c7f54ec598aa4984281f4fa3f8cfb649a09043c7ff36691fe6c1e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:9619 \u00B7 src/components/settings/acp-agent-settings.tsx:9706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9619}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ada560108b56ef13507c7f7696fd13f2d26fb1a657581e66ce236210b7c2d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:12567 \u00B7 src/components/settings/pi-config-panel.tsx:1425 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12567}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4da58f86ec02b119756ca6ae2a191f02e58740f2f0062703767f0ef9d29b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/settings/antigravity-config-panel.tsx:1139 \u00B7 src/components/settings/antigravity-config-panel.tsx:1179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c91edff2e51eb2014b44422ac001acf8dd17d4ff4d6e159073cf3892a19658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:695 \u00B7 src/components/settings/qoder-config-panel.tsx:279 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"0311595b365c9b8aa8692696083cffa0d3e897d056d09a1037c35619795e4220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5 locations): src/lib/aux-panel-tab-order.ts:205 \u00B7 src/lib/desktop-notification-prefs.ts:182 \u00B7 src/lib/mention-panel-prefs.ts:219 \u00B7 src/lib/notification-sound-prefs.ts:183 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/aux-panel-tab-order.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5346dbc62dbefb7cdf049fd3b2d124e1956348f645f1938948774802d8400b0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/canvas/add-node-menu.tsx:166 \u00B7 src/components/canvas/add-node-menu.tsx:193 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ac37a776ab7ed3dfe5ef51c722c6ec26d515df3a54119fecc64266874df0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/chat/quick-actions.tsx:588 \u00B7 src/components/chat/quick-actions.tsx:618 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bd1fff2e1d1b4dffe8308d8a301de48fbf06639300245940cb40125327e881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/settings/add-git-account-dialog.tsx:148 \u00B7 src/contexts/git-credential-context.tsx:503 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0532ddf60c996584e58c53816e0f8d0fdc7abf135977415ffec7f3f9e2126243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4 locations): src/components/settings/version-control-settings.tsx:561 \u00B7 src/components/settings/version-control-settings.tsx:599 \u00B7 src/components/settings/version-control-settings.tsx:637 \u00B7 src/components/settings/version-control-settings.tsx:675 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40268881497a260e4916c457fdcd975f2a4fba2f7bcf62d7f279c6c20c9c30f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/settings/workspace-background-section.tsx:217 \u00B7 src/components/settings/workspace-background-section.tsx:262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c3d19d4c6eb73504259d725db618f5c6c24948b93ca97a543f7057cc7ebb48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): src/lib/aux-panel-tab-order.ts:67 \u00B7 src/lib/sidebar-view-mode-storage.ts:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 166 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/aux-panel-tab-order.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"081b0fd05a02b0695708d9e45864135bd88ba6c5037d08f74e62451d57f759f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/ai-elements/commit.tsx:388 \u00B7 src/components/ai-elements/commit.tsx:417 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b5ee6c01bc15d768d3a78d45864f975273381147f97fca073ec62d511ff590"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:334 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:211 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ab7da88c7d2ebb366f661bb49fccc550235c157d39773e63fa605237109892"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:2554 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:2597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad775c4b427d23907440601c3f565b76fc781d4417d4214e4726e63f25ef2d12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/merge/three-pane-merge-editor.tsx:175 \u00B7 src/components/merge/three-pane-merge-editor.tsx:209 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"931ba5dfd4bbd894a72f4f1e2bbc230033ab4f4c0c2674f1a1edbfee3ddf41d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/settings/custom-skills-settings.tsx:235 \u00B7 src/components/settings/experts-settings.tsx:117 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63dc6f4d3511698a6b438e653b8dfdb98ffc94de845b33b961f13e9d17fd328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:990 \u00B7 src/components/settings/mcp-settings.tsx:1859 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03cfaa334acf8b247260da7a5951db2e87d525cd27bcddeb01a6fa01ef3b76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:2519 \u00B7 src/contexts/acp-connections-context.tsx:2645 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"412110d732be89ed267728799ae6629c5e2ab71117be12c763cd197fee97fbb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/automations/automation-editor.tsx:403 \u00B7 src/components/tasks/task-settings-dialog.tsx:481 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7409c7cf336d469b17fd39274611f5e1a7d51c4de00daf3bf7c212c8b96ba06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/chat/model-option-list.tsx:157 \u00B7 src/components/layout/git-log-branch-filter-list.tsx:348 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a981519d61ff9608109a724e9a10bec62f2b0b856e40ed76ba4ac1b27c02c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:837 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:1187 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c954f2d9106933af639612bcb9aba80ba03443121322ce1113e935a01a1613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:925 \u00B7 src/components/layout/commit-dialog.tsx:1025 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acfe3a7eb2288961c05b016e22240aa447677bff9ebe50e8254493e72000fd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:10239 \u00B7 src/components/settings/acp-agent-settings.tsx:11548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebedcd14803e3deb91a5da06107da376af8ed17407aa9d720b0db0e79327bf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:767 \u00B7 src/components/settings/qoder-config-panel.tsx:344 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70c87fe6f8058b7e60fbf464b0219ac0d5e3a3a94f83afcbe5107fca0131b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/settings/custom-skills-settings.tsx:780 \u00B7 src/components/settings/custom-skills-settings.tsx:824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f20f93dc76ffe7d9bc4ae331a9c8cc93034dafed1eed7f5a5718d40029f015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/contexts/automations-view-context.tsx:61 \u00B7 src/contexts/tasks-view-context.tsx:110 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/automations-view-context.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5542ca9c1bfcd54e36242841b7714b3bd08b857b33b16f7b7e64a9f61aad4ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/contexts/workspace-context.tsx:2422 \u00B7 src/contexts/workspace-context.tsx:2456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ed0b7e5077b436c40bbc273f4b9da02e1a0d8d26b4bf0ccb931575b6a20af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/lib/api.ts:2356 \u00B7 src/lib/tauri.ts:540 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7f46f8293f17d32a1788353a0eaf1665278aeb7e288233e24c8f199abd22b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/settings/browser-settings.tsx:675 \u00B7 src/components/settings/window-attention-settings.tsx:142 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78639a130e0ae2dd719f593efd52a8e462981d1ae9c51aab28947f705f85d6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/settings/general-settings.tsx:330 \u00B7 src/components/settings/logs-settings.tsx:641 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"af18d7f9f57f7ae87ad8145ecd5a1486c5f68401055d02ab321327fce858cc65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/lib/api.ts:646 \u00B7 src/lib/tauri.ts:235 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94dbc7ec26a05d935f7225c90aefec4c8cbebd5b1fd0797a7e5d29789adcf47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/lib/session-files.ts:405 \u00B7 src/lib/session-files.ts:466 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"35674f95da63f2e2f914d0eb1ec223f74e80f568601edb4dc8342800add1b340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/ai-elements/message.tsx:287 \u00B7 src/components/ai-elements/message.tsx:311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5191d7e4903815642266fe16381813e4c4f506afc981a152a5513c7a70bea5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:2459 \u00B7 src/components/conversations/conversation-detail-panel.tsx:2539 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3529d2ad17dcdbe0d0c7f6b1b4e050a00a72ead6284d2d296d51eb16001b33f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4 locations): src/components/layout/aux-panel-file-tree-tab.tsx:409 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:357 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:527 \u00B7 src/components/layout/push-workspace.tsx:185 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4312a6a0295792032e84cad10e96e475a9c7e78bf144f9e3647c949752e5ceb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1386 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dcb870ee44f96253918e0edd5dc3ad4f12ea69c015afa623a3b078565428d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/layout/status-bar-computer.tsx:526 \u00B7 src/components/layout/status-bar-web-service.tsx:261 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5100c22f2226368e541bad6b8b290f53c99ddfd64206d44c4338518c34dccdff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/message/collapsible-system-message.tsx:47 \u00B7 src/components/message/collapsible-user-message.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":"src/components/message/collapsible-system-message.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320ce8a72e4e108435f187628704d36326d41ace07a27f84557c1d58113fd73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/message/json-render-charts.tsx:109 \u00B7 src/components/message/json-render-charts.tsx:246 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/json-render-charts.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19a130c3291cb793849771a165d97138d130a7ae00176767f36aef1ba6a4b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:8440 \u00B7 src/components/settings/acp-agent-settings.tsx:8471 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":8440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed53fff2a4a3c787fa999852e35235d0e57165727a3f9ccdeb7556436cd6ad36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:9023 \u00B7 src/components/settings/acp-agent-settings.tsx:9048 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a2f6895cc767fba6ea294ccce9184ea46172d865ab02c63fe7d2a2d83906d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:651 \u00B7 src/components/settings/qoder-config-panel.tsx:261 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f260054bb847a3ab49561c5009ef6e658bd6ffa03d489ac249c1300b33ffd8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): src/components/shared/directory-browser-dialog.tsx:75 \u00B7 src/components/shared/server-file-browser-dialog.tsx:329 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser-dialog.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace1346b86800775a7df1b1606e0305d0439f66455c55a1895b59fafdbd054d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): src/contexts/workspace-context.tsx:2490 \u00B7 src/contexts/workspace-context.tsx:2585 \u00B7 src/contexts/workspace-context.tsx:2695 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2402933e4e6feb6da71ee02720d5f4e674fc0073a4459d94a09dac7caf08667e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:3226 \u00B7 src/components/forge/forge-issue-detail-sheet.tsx:3269 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47cc2b1044c7265157c1658d30a84667591715a864483ab7d2a2584ae850224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3357 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eae2590126dc2b2525c1253aef623c6244cb189a1890f02b84ae16393687101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:2136 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:2204 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132b12366a2005c2eb567b04cb131e930be085af9a177b051c07e5f65c78d83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/providers/update-provider.tsx:754 \u00B7 src/components/providers/update-provider.tsx:858 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9799ee223a0898143c1767566ee40e47a1d2e2fb26d766dc8361613f7b5bede3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:6042 \u00B7 src/components/settings/acp-agent-settings.tsx:6085 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6042}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18e4ed98b7ea524dd96cd95f99d6600a012205fb47cb4b5b708e72ba9a994ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6 locations): src/components/settings/acp-agent-settings.tsx:9481 \u00B7 src/components/settings/acp-agent-settings.tsx:10129 \u00B7 src/components/settings/acp-agent-settings.tsx:11303 \u00B7 src/components/settings/acp-agent-settings.tsx:11495 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9481}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1382e90f30ccc213f561d7ea82171b5a4564cf62e407433b20fcd3c8d3c3c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7 locations): src/components/settings/acp-agent-settings.tsx:13035 \u00B7 src/components/settings/acp-agent-settings.tsx:13055 \u00B7 src/components/settings/acp-agent-settings.tsx:13075 \u00B7 src/components/settings/acp-agent-settings.tsx:13095 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13035}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37afafeb8fa26d73dcea6adfabe73104a0666565fe8f6b39c9d34378428d279"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:13268 \u00B7 src/components/settings/acp-agent-settings.tsx:13288 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14926e6b549dfb41962108cf3186c4c9e1aaa71abd79043c99a5d953e9a5530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): src/components/settings/add-chat-channel-dialog.tsx:116 \u00B7 src/components/settings/computer-settings.tsx:408 \u00B7 src/components/settings/edit-chat-channel-dialog.tsx:104 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe69b2ae0ef08e33283778f1a8734cddc8b74435ba37654864efc6e027a67cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/settings/browser-settings.tsx:325 \u00B7 src/components/settings/browser-settings.tsx:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a3f622b1f5ea8ad8ffb6e0c6ab3b479ccdc420b505f2fc14cf7483bc7003ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): src/components/settings/browser-settings.tsx:719 \u00B7 src/components/settings/browser-settings.tsx:754 \u00B7 src/components/settings/browser-settings.tsx:793 \u00B7 src/components/settings/browser-settings.tsx:870 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a482609773526ab652c383942a43ec0592ddbb4ebe9dce9607c332dc4b38982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/settings/codebuddy-config-panel.tsx:176 \u00B7 src/components/settings/deepseek-config-panel.tsx:290 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"16896244cc5aecb2a657fc0989e2c9a3a35369456e2ad9aeff5b219797f759f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:726 \u00B7 src/components/settings/qoder-config-panel.tsx:317 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"5024ce8e853d788a85c817b8c708e2dbb05c8311d837947ed8f4a33ab68553dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:6270 \u00B7 src/contexts/acp-connections-context.tsx:6300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":6270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2d3953cb5537ae23e0ad2f76fc71f381add90dc04565db177e83000daff09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/activity/edit.ts:441 \u00B7 src/lib/permission-request.ts:162 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd479d633c4807b6df2b70b3061a1ad9f97dbc044b189815690f27edf73c4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/forge-list-prefs.ts:78 \u00B7 src/lib/tasks-board-filter-storage.ts:157 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/forge-list-prefs.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc673c6f915459f54bac309be6bd76821f938b48b670442648105598fa1bb2ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/lib/permission-request.ts:165 \u00B7 src/lib/unified-diff-generator.ts: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":"src/lib/permission-request.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a6ebda2728d3fd6eaaff9e294ab91148c24bd46a5aeb91fbe752957525804d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): browser-agent/probe.mjs:1975 \u00B7 browser-agent/probe.mjs:2337 \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":"browser-agent/probe.mjs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"8406c456fcc1fe6fc9e09edf680a873242aa47b911d202c3a41d9d1fbeb5932a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/agent-icon.tsx:39 \u00B7 src/components/agent-icon.tsx:240 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9430469dd4e795dab0538c2e1acf41461da5e277295a7246e7b9d01104b89b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/conversations/conversation-tag-list-editor.tsx:311 \u00B7 src/components/layout/command-manage-dialog.tsx:790 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:700 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-list-editor.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2c5bf1273e4a1dec9c6a16bca9f59767c22f4ad3627536bd081d35c9d7b3eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:2451 \u00B7 src/components/forge/forge-page.tsx:2803 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d4e6a11edee002a09a590d6aa8d5c9ffb8bca8db0056abefa680b2cb94c59c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3153 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3153}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a8acc67eb3c26ef420b6a648dd677b7255eb52788e132324fa132f292af40d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3404 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3613 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2269 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2308 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3404}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fc89c89b6f01fc328a0c6365bea905d3dc469ca0eeaf6412d0a955d59197df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/layout/aux-panel-git-changes-tab.tsx:271 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:438 \u00B7 src/components/layout/push-workspace.tsx:97 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad08d9f4bba6241c4c468a6c15c47cf957311b62759d6509d2111336f56b8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:343 \u00B7 src/components/layout/push-workspace.tsx:223 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0ded827dc7ced61e4226c5eedd50c679a063d862876d5ad52a5e71cde59339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:1146 \u00B7 src/components/layout/commit-dialog.tsx:1228 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f354aba9788f622be6debe26c1e3474b6d500c2fbf6078b8680c215d98c04a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/message/live-turn-stats.tsx:54 \u00B7 src/lib/permission-request.ts: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":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eec6e937b181335ed35ee74730678e2cdffdcd40557a99a307e446d0f2e460"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:4686 \u00B7 src/components/settings/acp-agent-settings.tsx:4719 \u00B7 src/components/settings/acp-agent-settings.tsx:4749 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4686}}}],"partialFingerprints":{"codehealthFindingId/v1":"490268310b399ce68c6a687294d8261d81d8b488f1fba345ee68a8831b52a0ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:8631 \u00B7 src/components/settings/skills-settings.tsx:730 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":8631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8a06cfffc2074466187c2b7d9b1cfc3db879751b7c417b53960f05cb598488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): src/components/settings/acp-agent-settings.tsx:9944 \u00B7 src/components/settings/acp-agent-settings.tsx:10263 \u00B7 src/components/settings/acp-agent-settings.tsx:11572 \u00B7 src/components/settings/acp-agent-settings.tsx:13505 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9944}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44b8c3abb3edfb6ef98717c46c0f49aadaeaa31d91f8a3c352f7c20de3e16b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11662 \u00B7 src/components/settings/acp-agent-settings.tsx:12291 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11662}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a0e2ac3a907f9a5447af0c17d547b8bb53d481f4910ed32df79fafc813998e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:13566 \u00B7 src/components/settings/acp-agent-settings.tsx:13619 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0874efbc12da9e03245adee61bd4fe44c63b1db7c20e11f39b3c25e79a95e986"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:1177 \u00B7 src/components/settings/config-sync-settings.tsx:1216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2989a9de835d3fce09f5f57c80644ec4880e7001c96b626305030fce8058dea6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/deepseek-model-list-editor.tsx:612 \u00B7 src/components/settings/deepseek-model-list-editor.tsx:719 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3682640b467f5bc406cb163c057359f9ad5674e221e2f59de0e141da6bc019f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/settings/desktop-notification-settings.tsx:194 \u00B7 src/components/settings/notification-sound-settings.tsx:117 \u00B7 src/components/settings/window-attention-settings.tsx:89 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ade31106a02c3229c48f67e51690fe94a7dc4e9d15e81edcb743d21ebb1744"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/settings/opencode-connect-dialog.tsx:393 \u00B7 src/components/settings/opencode-connect-dialog.tsx:694 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0e114744abd44572ebeedc62fd57eae59c25c4591364a091bdda4306ee2cdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/tasks/task-detail-sheet.tsx:1187 \u00B7 src/components/tasks/task-follow-up-dialog.tsx:188 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7575421fc93539b6568fa37cc9d5f88fc8389157e2f1bd981090d78936c93a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/ui/alert-dialog.tsx:31 \u00B7 src/components/ui/dialog.tsx:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/alert-dialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac7562e7c0597c207adc481b8a4a79a63d69dce4e5704a321a7f5896cb96bd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/lib/sidebar-view-mode-storage.ts:160 \u00B7 src/lib/sidebar-view-mode-storage.ts:194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb07b848f3f6b4368edb0505f8c6ab780b755a9a4c4ce553d31d7c84d13621b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/lib/tasks-board-filter-storage.ts:131 \u00B7 src/lib/tasks-board-filter-storage.ts:246 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tasks-board-filter-storage.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54c4e974aa7947d9bc0115404a60c39a6034bd02c9f2914a910e9fb5454185d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/app/workspace/layout.tsx:398 \u00B7 src/app/workspace/layout.tsx:514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2a98edbc326883da360c922db9a91965cf0ff3c91fb5a7dbe07c6df7120ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/components/agent-icon.tsx:265 \u00B7 src/components/agent-icon.tsx:413 \u00B7 src/components/agent-icon.tsx:481 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9397111ee1311e3f03a9ce3a2f9ca4ec6559f9ea7aa16e43b9c251cc8588118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): src/components/automations/automations-page.tsx:1325 \u00B7 src/components/tasks/task-detail-sheet.tsx:354 \u00B7 src/contexts/automations-view-context.tsx:71 \u00B7 src/contexts/tasks-view-context.tsx:117 \u2014 the 4 copies are spread across 3 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 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b72eaa326036706ba496c7d1c7e0b757862917c37b999e9664dd401c298c080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/browser/browser-status-layer.tsx:227 \u00B7 src/components/browser/browser-status-layer.tsx:250 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c59bb1c02a8a9b4a691a6f244dee99fef0e29af9a54d6527ffb3d3bb417065b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/canvas/canvas-conversation-surface.tsx:161 \u00B7 src/components/conversations/conversation-detail-panel.tsx:219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d286fe305e9997d166484b1606c301fd0da0d790a9931cec16878b888cc8757d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/canvas/canvas-dock.tsx:439 \u00B7 src/components/canvas/canvas-dock.tsx:463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"76435da5413bcdd580a07bac6efbdf17f0d19452b5afb89060cc3e86ffb58c97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:3366 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:3384 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":3366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa6f8b97219296d55703e678fb954556301756726983f8340af17e9655f8171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/layout/aux-panel-tasks-tab.tsx:243 \u00B7 src/components/tasks/tasks-page.tsx:672 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0cbeb2fbd49fc0a612f8a1385f1967bbe16ec22f993c50f208ab56bfee1c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/message/json-render-charts.tsx:221 \u00B7 src/components/message/json-render-charts.tsx:281 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/json-render-charts.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d0046a0b26447fa07f37daaf63f402a2d5e3f9bb06eb9d01e9667602d43589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:7817 \u00B7 src/components/settings/acp-agent-settings.tsx:7850 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":7817}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bd9d58a2f1e58eb1ca231f801d20aa9055814f694afca2adcf60ff0e959565"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:9437 \u00B7 src/components/settings/acp-agent-settings.tsx:13181 \u00B7 src/components/settings/acp-agent-settings.tsx:13202 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a1d3c22de588bb20b3fe50c1a2a2055dfb96cedc2674b3ddf4475568fffe09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): src/components/settings/add-forge-account-dialog.tsx:269 \u00B7 src/components/settings/add-git-account-dialog.tsx:170 \u00B7 src/contexts/git-credential-context.tsx:467 \u00B7 src/contexts/git-credential-context.tsx:526 \u2014 the 4 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2016af140d72d0670d1b5cc7649fa8e542189cf5e4b02373cfb9095fba4e7760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/settings/appearance-settings.tsx:254 \u00B7 src/components/settings/appearance-settings.tsx:278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2def3eda79f8ef5ecd6cd3b0e97a61012a726d7161b5f789082efcf9f8d6998b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/settings/cli-access-settings.tsx:30 \u00B7 src/components/settings/cli-access-settings.tsx:112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cli-access-settings.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc104b3a385759bffb4cf25a5a3d635c71f35bbd573063cf0773beba6f13abeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/settings/codebuddy-config-panel.tsx:102 \u00B7 src/components/settings/kiro-config-panel.tsx:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"834ca9309f957dcde812c292cac792da477f7139e57bf2c049a48c985c4a9a56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/settings/codebuddy-config-panel.tsx:279 \u00B7 src/components/settings/kimi-code-config-panel.tsx:1255 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fb335cf9b4189076e706d0e2bb3a5899267ca62a1b5269e9c021e21b72cc27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/token-usage/share-card.tsx:739 \u00B7 src/components/token-usage/share-card.tsx:762 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/share-card.tsx"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"214613744406dfbf1f2c5dc5a7d03fe952c3319b92bb8827eba4fe8e1589d0b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:2594 \u00B7 src/contexts/acp-connections-context.tsx:2703 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"568dae65e1daad55e52fb21bb165674cc7d559b606a994b21764acbd8420cf94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/lib/api.ts:231 \u00B7 src/lib/tauri.ts:76 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43704b0c14b0a1ffca4f3beea79dad6affc2f70013355c4b80dc70cf1eb72b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): src/components/agent-icon.tsx:291 \u00B7 src/components/agent-icon.tsx:344 \u00B7 src/components/agent-icon.tsx:554 \u00B7 src/components/agent-icon.tsx:583 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f524281017e80544a563b26e4475dbc3ac8e1b6d98b4e4c8648e095e9230e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/chat/agent-plan-overlay.tsx:168 \u00B7 src/components/chat/sub-agent-overlay.tsx:86 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-plan-overlay.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a04bd41ab46b3599d8f32b5e803e3b28d15c64342a9c22f63e200298f276b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/chat/composer-connection-status.tsx:99 \u00B7 src/components/chat/composer-context-usage.tsx:55 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a261884012fd38b26a18b7b873f796cba757c95cea19c95f0e5b425debee0580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/chat/composer/use-composer-shortcuts.ts:177 \u00B7 src/components/chat/quick-actions.tsx:380 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-shortcuts.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b7e2efa44d3f4afd122f124547c8092b2b34b9710cf5243f5cf13ca54403c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:313 \u00B7 src/components/forge/forge-issue-detail-sheet.tsx:1536 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac04e6d065d9e57a50502ef18aa4c05437751b2d26520299b5433213eded4ca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2765 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1195 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2765}}}],"partialFingerprints":{"codehealthFindingId/v1":"3192b6dbfb0b3af21136d9a235ec7662a067051fad5b8269bc883b25858f1d97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:1436 \u00B7 src/components/tasks/task-detail-sheet.tsx:1554 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f69e7796e8adc05cc793f98c48976112147d6ccb70a80b7fe19054c5db1eba8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/merge/three-pane-merge-editor.tsx:391 \u00B7 src/components/merge/three-pane-merge-editor.tsx:418 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"279e4f568fb6bd3d233eef79644de43710fc0d7ef4d1584ab60510e6697ca3bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): src/components/message/delegation-status-badge.tsx:108 \u00B7 src/components/message/delegation-status-row.tsx:377 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/delegation-status-badge.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5cb78e27edb15b20d8131682ea92fdbef3ca725dea3ff8cdb003951c197ae4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/project-boot/shadcn/create-project-dialog.tsx:274 \u00B7 src/components/project-boot/shadcn/create-project-dialog.tsx:298 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16fb73fb11757c3cced57c064c66f256fb35d6e73d87c7d6cf4420191e05e93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:11067 \u00B7 src/components/settings/acp-agent-settings.tsx:11170 \u00B7 src/components/settings/acp-agent-settings.tsx:11425 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11067}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec153dc660c0fb6346f0369b91c7155fa74579cef4b4547cbc70ee85aab0731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11285 \u00B7 src/components/settings/acp-agent-settings.tsx:11477 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8592feab2fa5596e18ed16da852fc0fd3df7155450a5928f4ce9dc353ee48ddd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/assistant-editor-dialog.tsx:443 \u00B7 src/components/settings/assistant-editor-dialog.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac339009d9021e9374f11dd38fcd402c3441afe509385a5d9f6396a32ad74b78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/desktop-notification-settings.tsx:232 \u00B7 src/components/settings/desktop-notification-settings.tsx:263 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a074462c77d6f5a4ab575eb0000b12c4620d0af135fa221dedc507e3c341804f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/general-settings.tsx:144 \u00B7 src/components/settings/general-settings.tsx:213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"071a344a47f9b7c279ccb6e77c91839f0d475df0c21569cdcc1a33b49003a587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/kimi-code-config-panel.tsx:933 \u00B7 src/components/settings/kimi-code-config-panel.tsx:1286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f67e20915baa3e849744bb14d480c1defa95f44ac7616c380217c85d4d08cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/logs-settings.tsx:816 \u00B7 src/components/settings/skill-packs-settings.tsx:132 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df183c06f3db2753bf0430681ad82bef9579f27d51321e95f3dac1531391fc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/notification-sound-settings.tsx:220 \u00B7 src/components/settings/window-attention-settings.tsx:136 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/notification-sound-settings.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f04e5e50c1da078873a8bab7b85a80aab7ebb3eb684aad38e72360a52d1a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/opencode-permissions-section.tsx:646 \u00B7 src/components/settings/opencode-permissions-section.tsx:704 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00dc793fb0e7997485a79bdb4216ff425336318c5e0310a46c7b7c4337e19c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/pet-marketplace-dialog.tsx:238 \u00B7 src/components/settings/pet-marketplace-dialog.tsx:256 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2743a5480b5b2fbc16596821b47bbd65441d2b0f97f05a2656647b8499760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/settings/skill-agent-matrix.tsx:234 \u00B7 src/components/settings/skill-agent-matrix.tsx:257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04d8bdd0fae6f6d5a955b75ce45407163d3cbcf94fda17155295b3244ff3ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/tasks/task-cancel-dialog.tsx:120 \u00B7 src/components/tasks/task-complete-dialog.tsx:112 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-cancel-dialog.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fa4c2f0deeaa6cd178c9b4c91f432b90db05fd36c47411751f931a9c20b413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/ui/alert-dialog.tsx:169 \u00B7 src/components/ui/alert-dialog.tsx:187 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/alert-dialog.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd39d60adaac289b35a526f6bf8ee8bb6293e503aff2d9475303e143bd9193d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/ui/select.tsx:186 \u00B7 src/components/ui/select.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/select.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a866343f320aa6cfe73fe1561133b26e04bae4d2c2d1f2fac33972131ef70a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): src/lib/activity/edit.ts:443 \u00B7 src/lib/line-change-stats.ts:53 \u00B7 src/lib/permission-request.ts:165 \u00B7 src/lib/unified-diff-generator.ts:32 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"467483a4c5e33642dda2e054f4b462f8b4585ca96ac9edbf4a6d707bac445837"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): src/lib/notification-sound-prefs.ts:85 \u00B7 src/lib/window-attention-prefs.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notification-sound-prefs.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"83efba08f552671aa2460f2e329573367cd1808411ad39f6d8c23c6778e087c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/lib/sidebar-view-mode-storage.ts:268 \u00B7 src/lib/sidebar-view-mode-storage.ts:293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b376078de536f0f8787bd2b3668b536c6b78056c34a6a7c0a07ae1629af1c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/stores/conversation-runtime-store.ts:4710 \u00B7 src/stores/conversation-runtime-store.ts:4877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4710}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a101b776936f72ac6989ac5fbd61255ccea7881f02c16158eda1fdde56b504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): browser-agent/probe.mjs:2210 \u00B7 browser-agent/probe.mjs:2255 \u00B7 browser-agent/probe.mjs:2549 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8b88d85bcaa5fc8e7e8e80648bfe577c4c513466b3d98eb06ba8d616652d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/app/login/page.tsx:23 \u00B7 src/app/page.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/login/page.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d708b117b6559fd5764f24f542359f08e4aa129621b78f6f491c9bd4566390b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/app/merge/page.tsx:81 \u00B7 src/app/push/page.tsx:82 \u00B7 src/app/stash/page.tsx:66 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/merge/page.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5932a8338dce1f9aacd22dc4ccf0fa4b7ba6252630aa429988de977685ed81bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/agent-icon.tsx:371 \u00B7 src/components/agent-icon.tsx:393 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55ba9dcd7d79f3a64a45b084af471d0a307a19a8ca87dd73dfea4682df8fa5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/ai-elements/commit.tsx:181 \u00B7 src/components/ai-elements/file-tree.tsx:527 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93a6efc9e98f1eac9fb354669868334502a3d5f9909aa911bba4a6216353924"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/canvas/canvas-board-list.tsx:376 \u00B7 src/components/canvas/canvas-board-list.tsx:394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4788eb896b0d0581f7c53a42863e7ac9d06d772ca9d9cdc002f4c3f8aad31cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/canvas/canvas-conversation-surface.tsx:544 \u00B7 src/components/conversations/conversation-detail-panel.tsx:839 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"02594d5df9d38a22cbe592d3d9cd4bf505b24059f7ca8a8877ce5de555f36f68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:681 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:705 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dd684edeee54e5b21a5089cc792935d9da370c2c407ed65dcca767c5621613"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/forge/forge-chrome-actions.tsx:52 \u00B7 src/components/tasks/tasks-chrome-actions.tsx:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-chrome-actions.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69adfda184808ca6e534c8089c9bc4625191e62c4bf6f06c86cbbee5bd6a3d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:3166 \u00B7 src/components/forge/forge-issue-row.tsx:630 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"64947d24ac3f86e4eccf45e7d919b1a70eb3a94ccb039ba153f25926d0ab4386"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/merge/three-pane-merge-editor.tsx:337 \u00B7 src/components/merge/three-pane-merge-editor.tsx:372 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b047d8e3359a7b3ecc4d8c8f3b8b66a509188847f5ea49e6ea8435e3e853f43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/message/activity/rows/edit-row.tsx:92 \u00B7 src/components/message/activity/rows/mcp-row.tsx:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88bc0d41aac014462792102722255ad66723353cec22625bb60675f1aa8006a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/components/message/activity/rows/generic-row.tsx:96 \u00B7 src/components/message/activity/rows/generic-row.tsx:117 \u00B7 src/components/message/activity/rows/generic-row.tsx:133 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6211e6542e8cfcdd015d4ae8dbc9aef3f7ab7d0fe32c019a19e23a2e3f578d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/components/message/subagent-session-dialog.tsx:140 \u00B7 src/lib/computer/use-computer-status.ts:52 \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":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ac5f3c4e0f5e5c012f6920fcf66528a87fe1daaeb0575f3c05848499194960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:7406 \u00B7 src/components/settings/acp-agent-settings.tsx:7490 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":7406}}}],"partialFingerprints":{"codehealthFindingId/v1":"585bdc54b008be4e5d52a25975e76470a6e189f587945c84570376fedea3db82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:9255 \u00B7 src/components/settings/acp-agent-settings.tsx:9975 \u00B7 src/components/settings/acp-agent-settings.tsx:12865 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4a488db92280052058c162f2cb77ea02c21890270a066d20ff33255f86771e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:9339 \u00B7 src/components/settings/acp-agent-settings.tsx:11834 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd80a8ec40088f1610311d7b62bcd2e4531319ce1066f3dfe01942ba20723d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/antigravity-config-panel.tsx:1204 \u00B7 src/components/settings/qoder-config-panel.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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e56fe911ad6dda4f1b2aad2af76047c7eb5ec7b1f2a8e7b36f4939fcc5547f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/components/settings/antigravity-config-panel.tsx:1325 \u00B7 src/components/settings/cursor-config-panel.tsx:1113 \u00B7 src/components/settings/qoder-config-panel.tsx:416 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"606238ba0b6c33ab696433258c1cf3fe4e9eeb031b46e50221c4333de6a33eba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/assistants-panel.tsx:498 \u00B7 src/components/settings/channel-events-tab.tsx:588 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a772a78b41e2248164f227ee3ce89353b039778f6dff9f728b8ae62009bc644e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/channel-events-tab.tsx:267 \u00B7 src/components/settings/channel-other-tab.tsx:41 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"227f92b5ea0d098391146cb9b3313aebb122a1a75921747431fa510b5c715965"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:308 \u00B7 src/components/settings/qoder-config-panel.tsx:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ffd21cb63db1f34ef27c454675705838baf38d588b0da8138da74baa092689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/deepseek-config-panel.tsx:221 \u00B7 src/components/settings/kiro-config-panel.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":"src/components/settings/deepseek-config-panel.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2a8f4234628fcfe1d7c05001e1f8e3ecd99cce0a43a078b7b51277a0a24061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:1036 \u00B7 src/components/settings/mcp-settings.tsx:1058 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c47b81f6ec1215e4ed2e89dc13e0297d1b33153779e37629cba586d3a9b2804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/components/settings/mcp-settings.tsx:1121 \u00B7 src/components/settings/mcp-settings.tsx:1545 \u00B7 src/components/settings/mcp-settings.tsx:1669 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"20deb4197ad6e1556a949f128f84b253d15e0f823859bbec3b1198cbe98a41d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/settings/opencode-permissions-section.tsx:422 \u00B7 src/components/settings/opencode-permissions-section.tsx:458 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2fc42aafe369d9ad4e6842fbddaddd8edbb10fce02b8901fc6740724046f98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/api.ts:3002 \u00B7 src/lib/api.ts:3626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"438b11db84db64c1183bb8d2b5caf6a12c4efacbea564af458756e05f277b072"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/api.ts:4628 \u00B7 src/lib/api.ts:4730 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":4628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f362cad0022231cce3ed6e736bc4df9f5fb480fdf705d62f97c6cba1e32ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/api.ts:4803 \u00B7 src/lib/api.ts:6235 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":4803}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dc9ee98cd16efa45be8210a8d3bf7cf0fcdfdd83ec45d86b8e9466e06b45e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/lib/delegation-status-index.ts:93 \u00B7 src/lib/live-runs.ts:178 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status-index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4149ff8f0561938d57aa9225d9ea827d4d6b4550c1bec19f348db8ecbd1cfb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/lib/export-conversation.ts:174 \u00B7 src/lib/export-conversation.ts:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63f774bc033a6cf337ac38a89a0f7504d187ecfc47ad031063e631301b1203f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/lib/monaco-themes.ts:680 \u00B7 src/lib/monaco-themes.ts:726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/monaco-themes.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7952f9c2a9e59171dc98d82690ff4889198ba21afa109884b002a3275cb6b258"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): browser-agent/probe.mjs:2267 \u00B7 browser-agent/probe.mjs:2352 \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":"browser-agent/probe.mjs"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa4ac588ff2bdf47a37322e2168c316e9b2f930ad608c1e525f44a6458b1db2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): browser-agent/probe.mjs:2423 \u00B7 browser-agent/probe.mjs:2464 \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":"browser-agent/probe.mjs"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4f0d472cc21d09ddbbd07d05744d16194130b36dea40cadb5b381f0b1b500"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): browser-agent/src/act.ts:560 \u00B7 browser-agent/src/act.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":"browser-agent/src/act.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"254f000a4d5aa8af8c63f871d8266155cfc254ffc4b6fb5a18a6f9cb5e30928b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/app/import-sessions/page.tsx:30 \u00B7 src/app/project-boot/page.tsx:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/import-sessions/page.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f4dfdf8b14b3b3784aebe35c07eb7b2bb824785d47fe8a7cbbcf661539ca5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/app/workspace/layout.tsx:728 \u00B7 src/app/workspace/layout.tsx:747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e46a4af82dac00df12395b184633660a86370c710c4a59e364a91e4adc2160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/agent-icon.tsx:319 \u00B7 src/components/agent-icon.tsx:502 \u00B7 src/components/agent-icon.tsx:528 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d12bac1c549987d358c4599b20c953d990bb1064946e799a404e1a3323ddb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/automations/automation-editor.tsx:195 \u00B7 src/components/automations/cron-builder-dialog.tsx:197 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5acc70c93ce55be7bba59f514938582f6292cef00e5d44f676cb17e494c3b0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/automations/composer-invocations.tsx:118 \u00B7 src/components/chat/message-input.tsx:1099 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"df66e4b609b486c72a04852c890fc22536bba21df8e1d45b57835ffb10e336e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/chat/experts-command-menu.tsx:55 \u00B7 src/lib/expert-presentation.ts:56 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/experts-command-menu.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fe22897c356859049bc102394e3bdeea0aebdbeb5be7ca5db2905b1f6182db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/chat/message-input.tsx:2027 \u00B7 src/components/chat/message-input.tsx:2052 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16647c947602b55e061d2e6f4f51ff0dc3064cb479302de087b6a8d20b7baa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/chat/model-option-list.tsx:93 \u00B7 src/components/layout/branch-selector-list.tsx:221 \u00B7 src/components/layout/git-log-branch-filter-list.tsx:130 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eedd8a6da11e4b135b479944f3086a39d96b4fce00995f5bf012f60d57e404"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/components/computer/computer-indicator.tsx:66 \u00B7 src/components/layout/status-bar-computer.tsx:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3879a4e60c091a1a395e174f99fb904deb8b8e71e1938b32fa79ed1c94eb6b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/conversations/search-command-dialog.tsx:219 \u00B7 src/components/conversations/search-command-dialog.tsx:234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7f9822ffe47bd70fd9f1ce569e2570cdf4390bafbeb5fbe945aed3f2a7541"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/files/file-workspace-header.tsx:152 \u00B7 src/components/message/file-reference-actions.tsx:154 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-header.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9827dbfcde98bf3eb2086d36298b788cdf23c4aac3ed03ab7bb333d6402b54a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/layout/clone-dialog.tsx:104 \u00B7 src/components/project-boot/shadcn/create-project-dialog.tsx:161 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/clone-dialog.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d36f8288513aac781c70cfee692dcb05243fb7fa415b0a80ec37f65bdd61757"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/components/layout/status-bar-mcp.tsx:96 \u00B7 src/lib/computer/use-computer-status.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8589730c187bd30874fa585319d437ee0a73e7499986228bcf46ad1e1c6518"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/components/message/activity/use-live-elapsed.ts:18 \u00B7 src/hooks/use-minute-now.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-live-elapsed.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aba874013de743ffa371e409d260d2bfc2164807195153033c601f9e15e327a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/message/generated-images-block.tsx:121 \u00B7 src/components/message/user-image-attachments.tsx:46 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/generated-images-block.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf288994d71531f7239d924ece6c1f45a0c935b6e0cfb237b8d8d4dd1d3d14c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): src/components/project-boot/shadcn/create-project-dialog.tsx:332 \u00B7 src/components/settings/add-chat-channel-dialog.tsx:256 \u00B7 src/components/settings/add-model-provider-dialog.tsx:283 \u00B7 src/components/settings/edit-chat-channel-dialog.tsx:232 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7996b55ed474e85e3c99c20b071aeecad356b43df1a9d6bc11d7cd0951e22717"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5132 \u00B7 src/components/settings/skills-settings.tsx:219 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8b67ee0bdd4a417b2b8289f94a1752828bb66c4c029019277ea50af0c86ea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5766 \u00B7 src/components/settings/acp-agent-settings.tsx:5874 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5766}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fab712f8744064ffbf85e1b24bc1cbc1c03dced8ec7776b69d21babb0e1827"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:9797 \u00B7 src/components/settings/acp-agent-settings.tsx:9812 \u00B7 src/components/settings/acp-agent-settings.tsx:9827 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9797}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c6f271763e00d5ee138d3abed63f5e848bf08efc2c11cb61ef9e6245cd881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:12509 \u00B7 src/components/settings/acp-agent-settings.tsx:12611 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12509}}}],"partialFingerprints":{"codehealthFindingId/v1":"997190cd743f5ee453a8017017ba55ec1361e2d9a6267768855828bcb4b87765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/add-forge-account-dialog.tsx:253 \u00B7 src/contexts/git-credential-context.tsx:444 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffcd44d99b5850ad421d42b3d9c57c36bd380973bd130c76cbb6c5e4979dde3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/assistants-panel.tsx:344 \u00B7 src/components/settings/delegation-agent-defaults.tsx:368 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e7b526f0a390d29f30638c0d26b04c266723093dfa7274e05c313338cf3f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6 locations): src/components/settings/backup-settings.tsx:857 \u00B7 src/components/settings/version-control-settings.tsx:547 \u00B7 src/components/settings/version-control-settings.tsx:585 \u00B7 src/components/settings/version-control-settings.tsx:623 \u00B7 \u002B2 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b873ffca58086b8f2380cc7533fd72f78beed0e16be5f9d1f62c76c6748d5464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:445 \u00B7 src/components/settings/config-sync-settings.tsx:473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a3538226ee44cece2bf0df6a67b367fc93b2540e38f29ef7db98564dcab1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/deepseek-model-list-editor.tsx:391 \u00B7 src/components/settings/deepseek-model-list-editor.tsx:409 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c020b2ab16b9d2b481ce383a1f67826e0abd8539c26e21a062d47dd40d79904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): src/components/settings/deepseek-model-list-editor.tsx:548 \u00B7 src/components/settings/deepseek-model-list-editor.tsx:621 \u00B7 src/components/settings/deepseek-model-list-editor.tsx:701 \u00B7 src/components/settings/deepseek-model-list-editor.tsx:727 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"48465e9856b18851fd53ca626bc7c11c5baa0e5e63ef88fdd26d4f5282358967"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/settings/mcp-settings.tsx:763 \u00B7 src/components/settings/mcp-settings.tsx:835 \u00B7 src/components/settings/mcp-settings.tsx:946 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"5990e1bfe50405aa769016973ffbf4696265f8bf51fdf2e6b1fc0a5cbf51c508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/settings/quick-messages-settings.tsx:336 \u00B7 src/components/settings/skills-settings.tsx:741 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4580b736056326a01357ea4f75df7b4290a64a7e34f99d9b0d19a29f7850439a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/shared/branch-picker.tsx:343 \u00B7 src/components/shared/branch-picker.tsx:368 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/branch-picker.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee8ac6f3c915703845e94f4b4bf46b94965513bef8c531da48c7502291b014c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/components/tabs/tab-item.tsx:372 \u00B7 src/components/terminal/terminal-tab-bar.tsx:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-item.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8d1d26a5f231cbee38dd3912216ddbc4b5d84318c9f0b890449181224c815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/tasks/task-cancel-dialog.tsx:82 \u00B7 src/components/tasks/task-schedule-dialog.tsx:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-cancel-dialog.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b3072c82f1dfc3aaf7f3c4ad2701e5c511309d00390a58a2e3d0abb224bb79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/components/tasks/task-editor-dialog.tsx:309 \u00B7 src/components/tasks/task-editor-dialog.tsx:362 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd106c76adef2247ad47a4af4e09ded5aa70395fae889a9fcd8cbf290b8127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/ui/button-group.tsx:24 \u00B7 src/components/ui/field.tsx:72 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/button-group.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7c35eff794d5697ad06e544f18e7c8bccd5a1423bb1049d489523b007cf108"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:1777 \u00B7 src/contexts/acp-connections-context.tsx:1811 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"3259328624502b2334d48fe2f43ea30c6cb7f9d6ac8f91e288f7c05f5aee306f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/hooks/use-switch-to-branch.ts:117 \u00B7 src/hooks/use-switch-to-branch.ts:136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-switch-to-branch.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3828ac251891d2d29730a75e45865a58f58583a89b17aed069abc428cb62070"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/adapters/ai-elements-adapter.ts:2555 \u00B7 src/lib/adapters/ai-elements-adapter.ts:2607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"45064e3ffb4703bfa45553c720c98bac9b75fcf3a35b4b85f8cde6d425e79c6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/tab-group-layout.ts:181 \u00B7 src/lib/tab-group-layout.ts:212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8547ddb63ee686d25c51e30230133f7f7b2425d81985bfef3eb5962f4643ab9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/app/workspace/layout.tsx:871 \u00B7 src/app/workspace/layout.tsx:890 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"c829798a0a0272a46401b61d40d7a4a3d778f6775b7f772441396e6cc422b571"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/automations/composer-invocations.tsx:409 \u00B7 src/components/automations/composer-invocations.tsx:433 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e024bf9493aae12f20c1375f8cfa0380723b18176772f32e45a978295a82c62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/browser/browser-screenshot-markup.tsx:412 \u00B7 src/components/conversations/conversation-tags-manager.tsx:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-screenshot-markup.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f764e5f6f4bf338fde9796f9e88ed31dd8021053ab66c8902ee7a7071962b17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/canvas/canvas-view.tsx:2328 \u00B7 src/components/tasks/tasks-page.tsx:670 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19a8b24e4e3fe23067308dca486b2f3c90157b627b3bac5d07229cb80d19320"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/components/chat/message-queue-display.tsx:72 \u00B7 src/components/settings/acp-agent-settings.tsx:4878 \u00B7 src/components/settings/quick-messages-settings.tsx:80 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-queue-display.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"81168dadb6851707896d2c4d7c1684db71a73550fdfbf81921136b5440b95716"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/chat/quick-actions.tsx:435 \u00B7 src/components/chat/quick-actions.tsx: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":"src/components/chat/quick-actions.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"13321f16e3f9424e2c271226d0dc2f10aa593b1e958409bf0b4ff3333a21957f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-grouping.ts:29 \u00B7 src/components/conversations/sidebar-conversation-grouping.ts:44 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bde489514d0ac0a76863a2fee3638309eaab36a83a4060b6260e2493a275c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): src/components/files/file-workspace-panel.tsx:1729 \u00B7 src/components/files/file-workspace-panel.tsx:1782 \u00B7 src/components/files/file-workspace-panel.tsx:1854 \u00B7 src/components/files/file-workspace-panel.tsx:1925 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead59def50fc07792574608c91f7b1ae7c409ea98ee805e2c93f959c3504813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/files/file-workspace-tab-bar.tsx:503 \u00B7 src/components/tabs/tab-item.tsx:275 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"74408bd177522ec2ffff56a7923289df96d6e7e3b8bad9c3d715282046b2340f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:582 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:966 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"329dc086c27dfaa096fcc4623d74a0373c80b4bda969569e0b60796f723c02a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2491 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1134 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b73ad3e2c1971842e1ece6fa631928f4f895cae42b32201ac2b111d17f51ea8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2980 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3113 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebb9355322d4a85a456f9a8e7f17bdc9e1e7c94dca324dc6e679134104465f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3283 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2119 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8d716dee650dae77256fac3cc719d96a2d3f4ed378f896c14631e19d0c552a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/branch-dropdown.tsx:279 \u00B7 src/components/layout/branch-dropdown.tsx:313 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"74580d56b0a70047bcb6c9cda5ff7a52f95900e0a1a1093cfb58251dbbe1c858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:205 \u00B7 src/components/layout/unstash-dialog.tsx:149 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcd3f7be0281ead966e8c1fd358078baaea81fd398be7c49480c586513f81e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/layout/folder-title-bar.tsx:118 \u00B7 src/components/layout/folder-title-bar.tsx:173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/folder-title-bar.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01d711fc998fad6fdd7a4475dad088f69afee6911dfddb7058c8ff6321be1fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/message/activity/activity-row.tsx:141 \u00B7 src/components/message/slide-slot.tsx:67 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"54893ab442dc72af7dd61ed30c57054adcf466084877310e22a9511eb1d69916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): src/components/message/activity/rows/collab-agent-row.tsx:85 \u00B7 src/components/settings/custom-skills-settings.tsx:238 \u00B7 src/components/settings/experts-settings.tsx:122 \u00B7 src/components/settings/generative-ui-settings.tsx:104 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/collab-agent-row.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ff853dd86821b7fcbd11b9d7769c44c95b6553934e1aa71f8fb453b0a6fa49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/message/goal-tool-call.tsx:37 \u00B7 src/lib/collab-tool.ts:210 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36b7998fe36a316d3c88ea61d7ff4882f5a08f97437c8f739b57dd801184085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/components/message/message-list-view.tsx:1181 \u00B7 src/components/message/turn-stats.tsx:156 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa08399745734ff706bb4dea2a9d5051695247c45ae0bc13b107678afb412ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:8978 \u00B7 src/components/settings/pi-config-panel.tsx:1070 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":8978}}}],"partialFingerprints":{"codehealthFindingId/v1":"077972dd6f94a742a33547b46273bfcb2a9bd1b8122fb23a59e9b8fb24214985"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): src/components/settings/acp-agent-settings.tsx:10162 \u00B7 src/components/settings/acp-agent-settings.tsx:10177 \u00B7 src/components/settings/acp-agent-settings.tsx:10197 \u00B7 src/components/settings/acp-agent-settings.tsx:11457 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10162}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f023f8b7383eb5c91f31e26b8374b6d98b11d68acc530d34096063bc304f6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11510 \u00B7 src/components/settings/acp-agent-settings.tsx:11697 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11510}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5836fad98cf3ac793f4b7c888b5014b976b564edd97d5236e27776ae52fc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): src/components/settings/acp-agent-settings.tsx:12476 \u00B7 src/components/settings/command-code-config-panel.tsx:136 \u00B7 src/components/settings/kiro-config-panel.tsx:168 \u00B7 src/components/settings/trae-config-panel.tsx:138 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f570e17d71592e10a6bdb39c4c52036840c260db2297a51e64794f0bde0b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:13551 \u00B7 src/components/settings/acp-agent-settings.tsx:13644 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6249af1fced4a0b64ea1dbf2aac5cc79a90232c4e6fe09dac3b781a68a8e6b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/backup-settings.tsx:575 \u00B7 src/components/settings/backup-settings.tsx:837 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cf03383b6532db1b32d129c5cfa824b9f2a37e0b37b517676bf9ef524f7602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/components/settings/codex-model-list-editor.tsx:1071 \u00B7 src/components/settings/cursor-config-panel.tsx:1131 \u00B7 src/components/settings/qoder-config-panel.tsx:435 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2868a0dd13f18cdf75ca3723c4c17b7e677dffb974d557f594000f78f6309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:707 \u00B7 src/components/settings/config-sync-settings.tsx:1055 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"679870f69c1edac1d9d40bcac1535785df8109967bf09ef3bd1f72705005b723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:417 \u00B7 src/components/settings/qoder-config-panel.tsx:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fb5c0b3ed0c8f9cfab60918e9bddabf9ae993e55ab0a8885f6d7c08a40725b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/opencode-connect-dialog.tsx:628 \u00B7 src/components/settings/pi-config-panel.tsx:1316 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"18209a20def31e85c68aa6b84f886a669a638d9aef4e9b4493c2ad61f9afa7cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/settings/quick-messages-settings.tsx:306 \u00B7 src/components/settings/skills-settings.tsx:617 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e484389e55aaa989f6cae11331f70ebe956f21dc2e296d26996ad86c041ee2d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/tasks/task-cancel-dialog.tsx:23 \u00B7 src/components/tasks/task-deliver-pr-dialog.tsx:35 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-cancel-dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9a5fef98372a8bee49b6f73f6b5f8892a212aa3c34b44197e9b28b8078ee4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/tasks/task-deliver-pr-dialog.tsx:471 \u00B7 src/components/tasks/task-merge-dialog.tsx:257 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"df369bfcb403e1b8dfb3ff2c000b01cdfd33f543bbe5488920a20a2892ab3913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/components/ui/alert-dialog.tsx:56 \u00B7 src/components/ui/context-menu.tsx:29 \u00B7 src/components/ui/dropdown-menu.tsx:42 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/alert-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a934033ee0c06d38da3cae6d1b03f3f074d3e42f0476b7edcb3642d7cec3deb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): src/components/ui/avatar.tsx:76 \u00B7 src/components/ui/card.tsx:36 \u00B7 src/components/ui/card.tsx:56 \u00B7 src/components/ui/dialog.tsx:130 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/avatar.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e00096447a122d36dcb549b2f95444cdafbde515b01f0927f0f48d989201034"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/ui/image-preview-dialog.tsx:68 \u00B7 src/components/ui/image-preview-dialog.tsx:82 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/image-preview-dialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b5c500c2a8c753f4e96285125a6fb5b03cfab240b1a1ae72105fe5a850c242"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/hooks/use-open-file-tabs-watch.ts:441 \u00B7 src/hooks/use-open-file-tabs-watch.ts:480 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b31aa7a2c54744a56640d0385a8cff358ec287381a72c2a4bc07c8c9f5fcfb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/computer/use-computer-driver.ts:46 \u00B7 src/lib/computer/use-stop-key.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/computer/use-computer-driver.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f551a3196efd63f1d92e0101688d07134a7de4f66af5dbd4dbb38c48e40c8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/desktop-notification.ts:66 \u00B7 src/lib/notification-sound.ts:353 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/desktop-notification.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"685037563b5f6b609ea0707e9b0f0491bddab16faa2954bb9c47f62ab5176aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/lib/link-classify.ts:89 \u00B7 src/lib/resource-kind.ts:30 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/link-classify.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3762cc275f1f95d93a580c287c4f8e60ed058e0e2efbb14bc13ba37304590d51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/stores/conversation-runtime-store.ts:4498 \u00B7 src/stores/conversation-runtime-store.ts:4535 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdf168b3071e6724a7cbd3e2bb5f6a45701e55a49942201a9b3c5bd31008898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/browser-injected/helper.js:205 \u00B7 src/browser-injected/helper.js: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"003995d4b89b24f8dfac276a9c3379529caa83882b9b21377c86a62cef1e4bbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/ai-elements/mermaid-block.tsx:511 \u00B7 src/components/ai-elements/mermaid-block.tsx:525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e715edf57460435f9b2da2bbc8aade573c3f2633b86279fc1f1b262fe725f396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/automations/agent-config-section.tsx:412 \u00B7 src/components/automations/agent-config-section.tsx:475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0507b86b363d447c94bfd42fac026d63843901c20d3ed3f45bf00a762aee6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/canvas/add-node-menu.tsx:247 \u00B7 src/components/canvas/add-node-menu.tsx:299 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba003dd62b64355f391b8a25490677fd48b6385bcef25595b2e564b970cb20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/canvas/nodes/note-node.tsx:108 \u00B7 src/components/canvas/nodes/region-node.tsx:142 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/note-node.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeb0ddbd3892df55d2d61db47cb23c63682d7cd674e53d20461d1ef5d306f82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/chat/composer/use-composer-attachments.ts:1229 \u00B7 src/components/chat/composer/use-composer-attachments.ts:1253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724b59b09b049937c454735ea561c3f149c22e401c8b5d38866a95e4f6e0305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/chat/model-option-list.tsx:119 \u00B7 src/components/layout/branch-selector-list.tsx:384 \u00B7 src/components/layout/git-log-branch-filter-list.tsx:304 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/model-option-list.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d6705c8e652ebec417994569ad940d0f959e1f7024ba36b133a27062fe0a16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:3242 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:3567 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"034d25d3cbe1782ca4a0c7041632ebb1b11fd263ae6249aa26f6cf3c36d3c4c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/conversations/conversation-manage-dialog.tsx:190 \u00B7 src/components/conversations/sidebar-conversation-grouping.ts:107 \u00B7 src/components/import-sessions/import-sessions-rows.tsx:42 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5ca63bfcceadf9a940397901be5805e324948760699574d9c7bbef6a7d376e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/conversations/conversation-tag-list-editor.tsx:66 \u00B7 src/components/settings/mention-panel-settings.tsx:122 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-list-editor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4880f95f1135ea1ae679b3eec9b01c3d0e74fc64cb997c508d71618d0d3296e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): src/components/conversations/move-conversation-dialog.tsx:197 \u00B7 src/components/project-boot/shadcn/create-project-dialog.tsx:334 \u00B7 src/components/settings/add-chat-channel-dialog.tsx:258 \u00B7 src/components/settings/add-model-provider-dialog.tsx:285 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b6c8862335ed5bbbd1c74422de2d2fa66f62c39824b013e24cd3541b13b74d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-card.tsx:829 \u00B7 src/components/layout/branch-dropdown.tsx:785 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefcb3961f28a59cacf1dd371ce3f7484314405dab4846d54e1cafb058c253c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/conversations/sidebar-conversation-list.tsx:620 \u00B7 src/components/conversations/sidebar-folder-group-header.tsx:273 \u00B7 src/components/layout/row-more-button.tsx:50 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f3b598a75a09151816faf1ec237de8407ea6c3141968baad92ad63563bc4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/files/markdown-document-preview.tsx:20 \u00B7 src/lib/html-preview-inline.ts:308 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/markdown-document-preview.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"292bd15d21cba1e48bacadd0c10d44a5d04ef99db9a5c2a36f42d23d4acb1b06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:477 \u00B7 src/components/forge/forge-issue-detail-sheet.tsx:1645 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba700b974a012438ffb4241ea2a2477a564c02f485f39fe296f72c0b40a1a9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/components/forge/forge-page.tsx:1728 \u00B7 src/components/token-usage/token-usage-page.tsx:494 \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":"src/components/forge/forge-page.tsx"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dcc512b03326c2938404d5e45cc928e1c07a1fd6a5446c7b8d37cc8b2df484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2296 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1016 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc8b567387b3b90ea4551aab64d964d7fb4c17c2428343e55007434828b891"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2871 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:2226 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1708abd578ae99025cebe4fbc9061d3b0e98057cc7e964caff37aac1bea41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1719 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:906 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b22c843e00a211e6c1f4fb74f6604922a1d4951a9c6ae9b82de1d67a945cf14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/layout/branch-dropdown.tsx:812 \u00B7 src/components/layout/stash-dialog.tsx:70 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87cd2c658ea97ba17cf9ba38103ce509942a50263242c1805f9e36f8736df9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/merge/three-pane-merge-editor.tsx:618 \u00B7 src/components/merge/three-pane-merge-editor.tsx:668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8cd93e963bf5180d2b375d1ca508f2d81d05934b5bdb55b5598375537285b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/message/activity/rows/command-rows.tsx:685 \u00B7 src/components/message/activity/rows/explore-rows.tsx:142 \u00B7 src/components/message/activity/rows/plan-row.tsx:34 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dda1a62894f6d6d7b489cdf120af0d2e017905285220b3ee7db9c296f17004"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/message/live-transcript-view.tsx:52 \u00B7 src/hooks/use-delegation-card-model.ts:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-transcript-view.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc9cd5b69b9d4d9c86c9bc5b02578ba7e239bcd7cef11c892d0c064b3be82af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/message/sub-agent-session-dialog.tsx:72 \u00B7 src/components/tasks/task-transcript-dialog.tsx:85 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/sub-agent-session-dialog.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf7e3e957df10efe455c3868cdf797fb623e76d47b49e00594e3b2d88bff6d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/message/turn-stats.tsx:208 \u00B7 src/components/message/turn-stats.tsx:323 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/turn-stats.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb4f657b0223ad7e7e148c5ebee0a7d587beab2065dd195749fcb5b14e26091"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5370 \u00B7 src/components/settings/skills-settings.tsx:637 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad70dc940db8c17d70117f3957bcdce3cffeed325d4ffc34e2e57f5e12fc25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5802 \u00B7 src/components/settings/acp-agent-settings.tsx:5921 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62da0e816437a8b0bcb331081616df880fdf1b8e68daa49fa3634624e12cbfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:10296 \u00B7 src/components/settings/acp-agent-settings.tsx:10309 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10296}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a295d16ac08490eb72f21de4e1755b2fbe119bfcb483a26fc3f34ce9f57dde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11283 \u00B7 src/components/settings/acp-agent-settings.tsx:11661 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a90ebc1a7f55f4fe7bac9595727e918c7e1a8f3691ed526d6acb35fe4abe517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/agent-options-editor.tsx:443 \u00B7 src/components/settings/agent-options-editor.tsx:560 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c42420ce05dce8c3bb8f34e0786359ed1b17cbb1424f9e4ff70cebb2dee936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/antigravity-config-panel.tsx:534 \u00B7 src/components/settings/antigravity-config-panel.tsx:651 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8209258df396bb11301d78be0252074307c62904d7b7efe605ed9744b5e292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): src/components/settings/browser-settings.tsx:356 \u00B7 src/components/settings/browser-settings.tsx:725 \u00B7 src/components/settings/browser-settings.tsx:760 \u00B7 src/components/settings/browser-settings.tsx:799 \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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc336bd2e53b86fa5b16802aa90be9462298308b3ecfef329fc84ae10134f85f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/channel-events-tab.tsx:397 \u00B7 src/components/settings/shortcut-settings.tsx:132 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cec70302de89640b9772560677128e6f3cdba57562183fcd854ec19696a826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/channel-list-tab.tsx:162 \u00B7 src/components/settings/channel-list-tab.tsx:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a184bd621616f76097ce02d3a23fd069a088df4d87cf25e0f24063a181d277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:1048 \u00B7 src/components/settings/config-sync-settings.tsx:1061 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e1d4715eb9b7909500bca08ec107353e9033c91a25f593132cd1cb9f661287"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:1080 \u00B7 src/components/settings/cursor-config-panel.tsx:1093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef9acb37012ef1fd4de237cbf069a88ddf6cabda009e5a082838c6544f42a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/desktop-notification-settings.tsx:375 \u00B7 src/components/settings/window-attention-settings.tsx:116 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70aa258d9ae23f0a6414b6aaa4399b8e58689758d172f051831b6e77d808e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/kimi-code-config-panel.tsx:1063 \u00B7 src/components/settings/kimi-code-config-panel.tsx:1083 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadfc2eb2e9ff4afa1b0e427f5a6321a64ed7b43a994b5af594afadd6aeb4b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/pet-editor.tsx:210 \u00B7 src/components/tasks/task-settings-dialog.tsx:796 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-editor.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4627a4779639b6cfb6abc388945e767fb79e16b66fb586bdd0e1b5f1f62eac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/pet-marketplace-dialog.tsx:71 \u00B7 src/components/settings/workspace-background-market-dialog.tsx:180 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"75869593a2957ed2c0a7eb910150143ae330afbf09eb3f2b41eba42e0296e397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/settings/pi-config-panel.tsx:1511 \u00B7 src/components/settings/workspace-background-section.tsx:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbbc611135334e2f4a949ded2b8690b0a7fcf99d14749375c8f4c3ec23901a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/token-usage/charts.tsx:291 \u00B7 src/components/token-usage/charts.tsx:304 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48dd2025f3253a7f766cc4f1014d50cf05418574d0b4c0fd1fef5cc496bd322"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/contexts/acp-connections-context.tsx:1477 \u00B7 src/contexts/acp-connections-context.tsx:1561 \u00B7 src/contexts/acp-connections-context.tsx:1579 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c502e2626db998b503f0b5d25aa8f7efafad9c3c98355954790fb2993dec0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/api.ts:4181 \u00B7 src/lib/api.ts:4199 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":4181}}}],"partialFingerprints":{"codehealthFindingId/v1":"218e03b1ea35dc18fe25e2bc1cbc94b777fad8691ecfd7327375577aa9fe7244"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/lib/canvas-view-storage.ts:92 \u00B7 src/lib/update-check-storage.ts:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/canvas-view-storage.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"291e8d1c4af3edf6c524c08da73a48a0b64e36e0f7163ba59e58c2304a9a6910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/lib/computer/use-computer-driver.ts:47 \u00B7 src/lib/computer/use-computer-enabled.ts:52 \u00B7 src/lib/computer/use-stop-key.ts:34 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/computer/use-computer-driver.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c5d1ddd56d2e3178490fe59838863124cecd0091c982973d8b379a23a6d3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/pet/sprite-url.ts:3 \u00B7 src/lib/workspace-background.ts:204 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pet/sprite-url.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"26994bc18b1c35601fca3c2b354c62a2765f4f081a6e7c922d97abea11b962ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): browser-agent/probe.mjs:1542 \u00B7 browser-agent/probe.mjs:1644 \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":"browser-agent/probe.mjs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bd96ba879b3c35ddd60b2df93b06c2d8e3a7bf430fa0e6e7bf2acd0985e7ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/browser-injected/console.js:296 \u00B7 src/browser-injected/console.js:314 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"455c37216d9226b203b6f77d233d63a42030827f4590e598915f9c4d1668ba8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/automations/automations-page.tsx:392 \u00B7 src/components/layout/aux-panel-automations-tab.tsx:115 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5de126ce8efd9af6d863be56c291fe777d371ae55b6f0a6ac2743113b6257f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/canvas/add-node-menu.tsx:135 \u00B7 src/components/files/doc-guest-preview.tsx:271 \u00B7 src/components/files/file-workspace-header.tsx:277 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"152dc9df8deef01864d1ec3c6694c8a542e5c3fa0eb2cf4032ce233b8b0a6330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/canvas/canvas-board-dialogs.tsx:161 \u00B7 src/components/settings/channel-events-tab.tsx:551 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-dialogs.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"31561220a0383942ff8b7ff59b14b3eaec9696abfe1e28c33e52307dcbcd2725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/canvas/canvas-view.tsx:1535 \u00B7 src/components/canvas/canvas-view.tsx:1642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aaeb5bda914d0a76049a6cb19ddc2c1018b6da7d6569f431247fa1a80705ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/components/canvas/canvas-view.tsx:2383 \u00B7 src/components/settings/channel-list-tab.tsx:406 \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":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f873350f7d0331220a399675ffc6c6ed0450dd63df6cf0f1429aa3dbfff9c8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/components/canvas/use-canvas-marquee-text-guard.ts:51 \u00B7 src/components/canvas/use-canvas-right-drag-pan.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/use-canvas-marquee-text-guard.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a8ff687317039347bd37180b6b76b4c98ff376950b4b851af8b47dbe810b81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/chat/ask-question-card.tsx:239 \u00B7 src/components/chat/plan-approval-card.tsx:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf7d6fbf09dc90ba64ea41506010c33e7e60bfd4e72a543d71e1864fc3a815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:2419 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:2432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1efc6806ee7cceb6f6697b96e9982ce45b2a6ec45f1e86de9b710f596166ae0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:2027 \u00B7 src/components/forge/forge-issue-detail-sheet.tsx:2084 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30707634c0f1048c5ee7e460f759a621eef828678a97c18a3129c6d9818edad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/forge/forge-settings-dialog.tsx:441 \u00B7 src/components/tasks/task-settings-dialog.tsx:741 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b46fe6266180607df88eb8ecc584dca9faa550c4c10b0deb12040a00545d78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/layout/aux-panel-automations-tab.tsx:213 \u00B7 src/components/layout/aux-panel-tasks-tab.tsx:221 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-automations-tab.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c7f543789e3748b477d28d0f30d41741f8d38a21d5e9aadebb8eaf484ed0af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3214 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:3391 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3214}}}],"partialFingerprints":{"codehealthFindingId/v1":"28852f08d2420725d9fea17584c8efb9244bbde22beebd10c271a6aa6b6afc2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:3390 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:2257 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23eb718d6a5b92c586537701d7e65e618491e02b46a369349bd90adfd348c8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:658 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"450665bb13bd5b8c0e1926733103e902259176606c0fa7974e61f05e5fc0cd03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/components/layout/branch-dropdown.tsx:741 \u00B7 src/components/layout/status-bar-web-service.tsx:278 \u00B7 src/components/settings/config-sync-settings.tsx:1186 \u00B7 src/components/settings/config-sync-settings.tsx:1225 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"577c1f857b140109cb4490d91ff869175d06e076b23c581dbab0dcd9cb4b54b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/components/layout/command-manage-dialog.tsx:718 \u00B7 src/components/settings/config-sync-settings.tsx:804 \u00B7 src/components/settings/config-sync-settings.tsx:941 \u00B7 src/components/settings/config-sync-settings.tsx:987 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffb4803239fbc3dbfd852fa05f4e5673c8fa557f5238c5f307df883055999eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/components/message/activity/rows/background-task-rows.tsx:129 \u00B7 src/components/message/activity/rows/generic-row.tsx:256 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f559e519750722526354240b1f3ef5746a15246c68c6cc2cde6649bcea5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/message/activity/rows/generic-row.tsx:254 \u00B7 src/components/message/activity/rows/interaction-rows.tsx:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80a0714c3f9e6cbfa6bbf6004a25b77d705e25f0d8e129b989d6a43ed87649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/message/json-render-charts.tsx:288 \u00B7 src/components/message/json-render-charts.tsx:373 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/json-render-charts.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c39cbb6e9d10a9297df731ec7c3608b30c019591ec4c2f3b7bc55e18b8117"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/components/message/subagent-session-dialog.tsx:83 \u00B7 src/stores/conversation-runtime-store.ts:3871 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefd2d077e8b60910cab869e3d01458f8b509e959e4ea8d39cf235a1ccb05754"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:2390 \u00B7 src/components/settings/acp-agent-settings.tsx:2413 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd55516848e816f2d2951e15a8842c3e9d58e6de3c11c8d7ccc3833d579a80c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:10776 \u00B7 src/components/settings/acp-agent-settings.tsx:13656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10776}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca0e5e39b0d31bd976e478c3cbf4023934031e706e737048b7108d95814d275"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:11194 \u00B7 src/components/settings/acp-agent-settings.tsx:11451 \u00B7 src/components/settings/acp-agent-settings.tsx:11519 \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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f92c134c66709f66e129c86cd0577feab63620baa1367f9df0984beeda7fb38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:11901 \u00B7 src/components/settings/acp-agent-settings.tsx:11986 \u00B7 src/components/settings/acp-agent-settings.tsx:12000 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11901}}}],"partialFingerprints":{"codehealthFindingId/v1":"143fc9b743feaeed860884b863a8cda1e19aa7dbec092a9c82753ddeebd43a5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11914 \u00B7 src/components/settings/acp-agent-settings.tsx:12068 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11914}}}],"partialFingerprints":{"codehealthFindingId/v1":"3790916969df20ef52144baee615d66d4509260bb2d5cda713dde96fc9160164"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/components/settings/acp-agent-settings.tsx:13535 \u00B7 src/components/settings/acp-agent-settings.tsx:13577 \u00B7 src/components/settings/acp-agent-settings.tsx:13665 \u00B7 src/components/settings/acp-agent-settings.tsx:13727 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":13535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfb2382bec79a56b488735f48de7f01f2a0fe9227c846ec9b48998d100b8dab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/add-git-account-dialog.tsx:121 \u00B7 src/components/settings/add-git-account-dialog.tsx:135 \u00B7 src/contexts/git-credential-context.tsx:489 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-git-account-dialog.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"046bae74ae3eb0ad15d56c0d0ca18b8ce16001a9bd514a3bcbad0fd0de60bfb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/agent-tools-settings.tsx:219 \u00B7 src/components/settings/delegation-settings.tsx:181 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07045e4a6d951942de477a3da491c592a282a02be14356d68a13b18b76c13f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/antigravity-config-panel.tsx:139 \u00B7 src/components/settings/cursor-config-panel.tsx:124 \u00B7 src/components/settings/deepseek-config-panel.tsx:69 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d8e106b2a646422c53c9a3119fef8aef323b497f77567640959d4725c7440c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/antigravity-config-panel.tsx:1123 \u00B7 src/components/settings/pet-marketplace-dialog.tsx:247 \u00B7 src/components/settings/pet-marketplace-dialog.tsx:265 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4dd44c93dc36c47265fb60e7668163b41fb6b99908a73e93b2ce896f9e6a9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/appearance-settings.tsx:91 \u00B7 src/components/settings/system-network-settings.tsx:807 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb1f0a200d709cd24e11c1157d62bdb204126509cbbfcab48a2c8d57d8dee7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/settings/browser-settings.tsx:302 \u00B7 src/components/settings/browser-settings.tsx:367 \u00B7 src/components/settings/notification-sound-settings.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":"src/components/settings/browser-settings.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c452c82da83708aa636f0bdbed4ef04e0cef08c1d39cf660c418b8b065805158"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/codex-catalog-source.tsx:507 \u00B7 src/components/settings/web-service-settings.tsx:378 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c7ebc2aded8b308aa38409b8eafe9b43b7e48afcdb0dccb35112acf048ab03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/codex-model-list-editor.tsx:723 \u00B7 src/components/settings/codex-model-list-editor.tsx:1126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e43b6319a90bce73ace44c805dc9a2f1af5f31eb95ded98598fa1ae4df8ad03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:661 \u00B7 src/components/settings/config-sync-settings.tsx:674 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997df868a9d3d07e29f95ec18fabf7da04d4c0ccad3df0d89fbe6582f2a70a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:1154 \u00B7 src/components/settings/config-sync-settings.tsx:1190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"be33bd1f1ec1998344869d3bee201b07204bf4e7519bb0e671e44d2e2e378ee0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:1205 \u00B7 src/components/settings/config-sync-settings.tsx:1270 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"848cadc96d24fdc9f2968e7c244bb58c3a2dd460cf00ee4245549c18655655e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/components/settings/cursor-config-panel.tsx:614 \u00B7 src/components/settings/cursor-config-panel.tsx:649 \u00B7 src/components/settings/qoder-config-panel.tsx:232 \u00B7 src/components/settings/qoder-config-panel.tsx:259 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"582f333b576148cfb605ad1244a5087c2d3d57efaf4d5a2c3a302696de8c93d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/components/terminal/term-keybar.tsx:70 \u00B7 src/components/terminal/term-keybar.tsx:82 \u00B7 src/components/terminal/term-keybar.tsx:94 \u00B7 src/components/terminal/term-keybar.tsx:128 \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":"src/components/terminal/term-keybar.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"170e06c4d2f73fdc17c3fd6f34f449329a7c4202fd3eaf531a8251cc6b6bd5b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/terminal/term-keybar.tsx:100 \u00B7 src/components/terminal/term-keybar.tsx:146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/term-keybar.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab79c19d3325dc3a9e441f1c44cb3726c42893928e2de1e4228ab129873cf09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:1514 \u00B7 src/contexts/acp-connections-context.tsx:1592 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dce475eccf80072e5ec2fcbd76824f7546b15e322dfb50f72301b77d712da4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/api.ts:5377 \u00B7 src/lib/tauri.ts:1324 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":5377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff491b677c63c713c56f164b8dc1e7dc98f8cef8400469e88e284384d133bf19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/codex-code-mode.ts:23 \u00B7 src/lib/shell-session-tool.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-code-mode.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ddcf1c84c2945b1a5cfbe9ff18cced63740996ae4907bdcbbb8eee41c08079"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/lib/collab-tool.ts:212 \u00B7 src/lib/tool-call-normalization.ts:284 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/collab-tool.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8325ec7d1e11271f4707cab76b2aef8984d986027c132623a40f2e08d9d29f0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/stores/tab-store.ts:2567 \u00B7 src/stores/tab-store.ts:2580 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16203f38fcaa8532d46d72c1a39ccb8953e7722fac250ebea0cd8128e652cdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8 locations): src/components/automations/automations-page.tsx:517 \u00B7 src/components/layout/unstash-dialog.tsx:377 \u00B7 src/components/settings/pet-marketplace-dialog.tsx:301 \u00B7 src/components/settings/version-control-settings.tsx:555 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c452c73b6883f5186fef4a437710a058093254d7f64ad36162e0d2e1d15e2dca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/automations/composer-invocations.tsx:443 \u00B7 src/components/chat/message-input.tsx:2063 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ddf4c87596ea669895b8649b3d40466deef8d6e6968183af170e825ffee448"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/browser/browser-viewer-drawer.tsx:74 \u00B7 src/components/files/file-viewer-drawer.tsx:86 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-viewer-drawer.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c831c974da28bbfd8a75227c972f351b18960898a1aaf8a1f4298daadca14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/chat/composer/use-composer-attachments.ts:744 \u00B7 src/components/chat/composer/use-composer-attachments.ts:920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a7545f6666396ba239510b08eb9d89a701339c9503347cd9fded6219b8e9a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/chat/composer/use-composer-shortcuts.ts:247 \u00B7 src/components/chat/composer/use-composer-shortcuts.ts:260 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-shortcuts.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"179c52643ccd8ec9f8d010e5288a77dd745229c2bd372b0f8dbc0cf8be49a30f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/chat/quick-actions.tsx:519 \u00B7 src/components/chat/quick-actions.tsx:530 \u00B7 src/components/chat/quick-actions.tsx:541 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"08171795a4622e86dcad324b218e8e77fbfebc1f25a98c49a6a2d04d42f74506"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-detail-header.tsx:315 \u00B7 src/components/conversations/conversation-detail-panel.tsx:3266 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc4ac30316f8f3d086e5d0afaa0571d59a672e27a8cfb2a279944764f2105e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-detail-header.tsx:347 \u00B7 src/components/conversations/conversation-manage-dialog.tsx:1129 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb98e21f07feaa2360e4f853658cd627ae43c52c2111bb4bc40f113d62d8d62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:1543 \u00B7 src/components/conversations/conversation-detail-panel.tsx:1564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb938192bdad0e9d5de99c01f6791b9b8378fc44433c3bae3d377c1bce4a860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:2348 \u00B7 src/components/conversations/conversation-detail-panel.tsx:2489 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda13fbf6bbae8e16b5b3939f20bd790d2287f35b6efa208e7542ba15ac96428"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-detail-panel.tsx:2836 \u00B7 src/components/conversations/conversation-detail-panel.tsx:2850 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8f346d7a8b01ec63af5ea99ab2e87ea17d808d73212f337b9474b44d3175d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/conversation-manage-dialog.tsx:325 \u00B7 src/hooks/use-branch-tree-expansion.ts:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc2c753a550e79362f6e79fa854c47808932cd24da244f8b10f909bd0e42831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/conversations/session-details-content.tsx:487 \u00B7 src/components/conversations/session-details-content.tsx:676 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f159e27c8f33a04067ef3bf658e313c8d55785c5153b1224734203e4bd7391d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/conversations/sidebar-conversation-list.tsx:399 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:686 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:2832 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3022b2f27e85c3e836d0b247906d9c26e23c1d6e4186f4f4738cbe73df6bb77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/diff/unified-diff-preview.tsx:223 \u00B7 src/components/diff/unified-diff-preview.tsx:235 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd8338332bfc04bcd492daed67ee104426b335cb2136ddc64fc2d38d9443a8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/files/file-viewer-drawer.tsx:94 \u00B7 src/components/message/subagent-session-dialog.tsx:216 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eccae100bdde64543d2d66b6c502386070ef5c1c3d54bad5171a567c7afcee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/files/file-workspace-panel.tsx:1646 \u00B7 src/components/tasks/tasks-page.tsx:384 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d48ab402a028dca98077b5412f9789e1e43ea195e59d3c9bfe9b51312b895d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/components/files/html-preview-controls.ts:58 \u00B7 src/lib/task-from-message.ts:25 \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":"src/components/files/html-preview-controls.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca5d008b3eb3b7962ec68d0f13090a97682e7c953ef87c98f3b5a7fb72ea72c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/forge/forge-issue-detail-sheet.tsx:366 \u00B7 src/components/forge/forge-issue-detail-sheet.tsx:1560 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbccd3b496dcd4bac0b1a03e71ac2ff648f9e4dac776c8417b62b023ae1021aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/import-sessions/import-sessions-window.tsx:99 \u00B7 src/components/settings/codex-catalog-source.tsx:477 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b779bed92f4e2e3ead3e377ad491f2c2d1bca1a0a925eb3b9f6d4df4e560fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:248 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:171 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe361fc6018fdc11d251f8cc608bbfa96325013df8a2a7dd6c894d9b2f54b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:478 \u00B7 src/components/layout/push-workspace.tsx:215 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"026964468bee0d8c904cdc1369551b3f237205720266a0c07b5f46ec59ef1f72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2126 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:781 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bb9e1d79f4b436bcc75b8f7a9285b20ce15d37d83bbd621bbaa2c0a6ec149c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2687 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:2711 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec79f68194df22ef1aaebb4ac020c3b58ffbb8745657104280cd49840ee9babc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/aux-panel-tab-rail.tsx:97 \u00B7 src/components/settings/mention-panel-settings.tsx:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tab-rail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8d564877c04f3e2115ae70a61f7f774bffc684586b957b0f32870d45d4b874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/branch-dropdown.tsx:228 \u00B7 src/components/layout/git-log-branch-filter-list.tsx:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2adce830b35a03e503587ddde9de73dc0e466bcb17c98af2f57d7126c37342e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/remote-manage-dialog.tsx:125 \u00B7 src/components/layout/remote-manage-dialog.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-manage-dialog.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"29335c0dacb1a2f550c99594e57fe9a1b00de30816b386ab04eec1c7ebc8be02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/workspace-upload-dialog.tsx:494 \u00B7 src/components/layout/workspace-upload-dialog.tsx:514 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"708e69ac3b9f6669d738a009eb349946990944b7925ea94ec49bfd99e990797e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/components/layout/workspace-upload-dialog.tsx:789 \u00B7 src/components/settings/agent-diagnostics-dialog.tsx:153 \u00B7 src/components/tasks/task-cancel-dialog.tsx:86 \u00B7 src/components/tasks/task-schedule-dialog.tsx:147 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b8eca8de2612e4ef11e4513232342155046f5512d2df3cd4f17e1e642ccfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/merge/three-pane-merge-editor.tsx:452 \u00B7 src/components/merge/three-pane-merge-editor.tsx:468 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3191675815b30edc429877e48cb276244e2fa30a340aee28f35584a598ab353d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/message/collapsible-system-message.tsx:31 \u00B7 src/components/message/collapsible-user-message.tsx:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/collapsible-system-message.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8c73aa3c8b9bb8618085bee37b0c2836d7566ba6d72cf0770a2c5e3fe18e3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/message/use-agent-call-model.ts:73 \u00B7 src/lib/shell-session-tool.ts:47 \u00B7 src/stores/conversation-runtime-store.ts:890 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac864a97b43525c476f0090098bcf49f66a8be14ed2f5980ac014199584a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:5966 \u00B7 src/components/settings/acp-agent-settings.tsx:6042 \u00B7 src/components/settings/acp-agent-settings.tsx:6085 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5966}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8883df410d7cc59050710e57cbb66e443cf2558aa394832c3083b61d9fef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:6227 \u00B7 src/components/settings/acp-agent-settings.tsx:6239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6227}}}],"partialFingerprints":{"codehealthFindingId/v1":"763573fd9985bd5b5c1714a8b99ece53ea8de9898a98afc70058f612dd6c0394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:7644 \u00B7 src/components/settings/acp-agent-settings.tsx:12741 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":7644}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3a83e37d42b79cff09560418dc34e3152e3dfa7a98769ec7447814b08fd286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:9992 \u00B7 src/components/settings/opencode-permissions-section.tsx:647 \u00B7 src/components/settings/opencode-permissions-section.tsx:705 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":9992}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701d64221382b7d482f33847f9c33da62987fb93d68cd9f435b2bf3ec4a6e99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11599 \u00B7 src/components/settings/acp-agent-settings.tsx:12366 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11599}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c6f6103ad1de7af7f2df49e643eea2c350b241f4c9d9026694ad67f04f534b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:12368 \u00B7 src/components/settings/acp-agent-settings.tsx:12392 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12368}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedc002823ee8e19f51eea5b67fb34e4bb81276869c4a6b8acd5cb53c8df387a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/add-chat-channel-dialog.tsx:63 \u00B7 src/components/settings/add-git-account-dialog.tsx:47 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089b76a9c1b1322ea1ecd00f883dd948d105dbc176b43e7eb308d16dfd304e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/appearance-settings.tsx:208 \u00B7 src/components/settings/appearance-settings.tsx:254 \u00B7 src/components/settings/appearance-settings.tsx:278 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c7202b2581b3dcc5c27bc00dc3773ad11ea466b0a47d80984bc5636355af9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10 locations): src/components/settings/browser-settings.tsx:363 \u00B7 src/components/settings/browser-settings.tsx:679 \u00B7 src/components/settings/browser-settings.tsx:734 \u00B7 src/components/settings/browser-settings.tsx:769 \u00B7 \u002B6 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae55a7f36d141be167858c63180f9af94592e5a399bef4992392b7a6db7397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/channel-list-tab.tsx:74 \u00B7 src/components/settings/model-provider-settings.tsx:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5039116f856668f2d1fc949bf1e20855d87e32419ea07023ff58bd618f97b56c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/codex-model-list-editor.tsx:1147 \u00B7 src/components/settings/codex-model-list-editor.tsx:1168 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e1abe1ec86a6214824106080b64672f4d69d6dac08f318edff40a432a43c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/logs-settings.tsx:692 \u00B7 src/components/settings/logs-settings.tsx:757 \u00B7 src/components/settings/logs-settings.tsx:862 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faa749c87dc8d74a11e1bef1ddb057be48370fd9e7fb5a1f3c3d16bfa17fa65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:249 \u00B7 src/components/settings/mcp-settings.tsx:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a90a8b6625b942dac7a4a69b628637dbc9ad0f49b02a93b22bb3d4a914491ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:343 \u00B7 src/components/settings/mcp-settings.tsx:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3291775cded110497cbfcb1bc0de09b5585645eb7c7c114ca8c331e3787ae7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/model-provider-settings.tsx:118 \u00B7 src/components/settings/opencode-permissions-section.tsx:650 \u00B7 src/components/settings/opencode-permissions-section.tsx:708 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218488e93c0c2157d5973d11013c79d972f2f11b8f04be9a3d2989a19da5cda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/settings/opencode-behavior-section.tsx:201 \u00B7 src/components/settings/opencode-behavior-section.tsx:223 \u00B7 src/components/settings/opencode-permissions-section.tsx:365 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e8e26d8dcc31b23d6028730e0451db66d193acea35e96cf0723715309f674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/pet-editor.tsx:231 \u00B7 src/lib/workspace-background.ts:192 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-editor.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a173792773ab01b13de478a34471b7c635ab8ca8b804a17d8a568bfa16195ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/pet-manager-section.tsx:239 \u00B7 src/components/settings/pet-manager-section.tsx:251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"558ff949481011052993662b53b5047f9c8195a913cc2f0a82e58f85a5e1f80f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/provider-models.tsx:51 \u00B7 src/lib/codex-catalog-error.ts:60 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2982f4502d73f137b6c7a0a7bf7dc4fbe8f1fc36017923122f4f4b260f24bf1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/settings/quick-messages-settings.tsx:174 \u00B7 src/components/settings/skills-settings.tsx:607 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fa58ebbcad1f9e1b7ff93b8a9359d8c1a6271282b3651943c3c05183fa968f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): src/components/ui/alert-dialog.tsx:7 \u00B7 src/components/ui/context-menu.tsx:7 \u00B7 src/components/ui/dialog.tsx:9 \u00B7 src/components/ui/dropdown-menu.tsx:7 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/alert-dialog.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad82fe942e01466b8e8848cf606cd8b5af1c62bb627ba50f783d82202d8dd2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:1423 \u00B7 src/contexts/acp-connections-context.tsx:1435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b075214ee6340c8e0e7d70e5f10a74a7935e8f2f46e104708639cd01021d96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/contexts/git-credential-context.tsx:450 \u00B7 src/contexts/git-credential-context.tsx:509 \u2014 all 2 copies are in the same file, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/git-credential-context.tsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59309bf9e839235a864ea47d05b6b7a2654a7b485bff6c900e974e926781203"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/hooks/use-workspace-state-store.ts:363 \u00B7 src/hooks/use-workspace-state-store.ts:500 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-workspace-state-store.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e62036806aaefa8b1fa7a02efc2bc320a81aa2c643ac6b78d45abc27ac1d390"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/lib/activity/json.ts:42 \u00B7 src/lib/activity/json.ts:76 \u00B7 src/lib/session-files.ts:140 \u00B7 src/lib/session-files.ts:178 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/json.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2af1e028b5e763984f40b5cf6e33f8b6b6d0d7b84386dfc6623f6b2d930dc4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/async-tasks.ts:100 \u00B7 src/lib/async-tasks.ts:133 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-tasks.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a29fdbc2eafb28e39636eab4686711b994a98095bc465226baeb760ea29cd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/copy-image.ts:98 \u00B7 src/lib/mermaid-export.ts:100 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/copy-image.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed14a82b12641ec47dfd49fda08fc088807c63c30d8317ae49d853c7b8da9889"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/lib/monaco-model-path.ts:13 \u00B7 src/lib/reference-link.ts:63 \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":"src/lib/monaco-model-path.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b494c3153274b15b507b299ae41c67024519e5f56ce7b68c168ff710c40022b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/session-files.ts:162 \u00B7 src/lib/session-files.ts:196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"146e5502571f5bb99479eb5a8572deec7b7b6d1abb0f4388711a5b7aeb1405a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/tab-group-layout.ts:262 \u00B7 src/lib/tab-group-layout.ts:309 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"192b2cb3d4766e9ac95ab7399147aa9c59cc46fa703d7123936c8eea047b339a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/lib/tool-call-normalization.ts:932 \u00B7 src/lib/tool-call-normalization.ts:955 \u00B7 src/lib/tool-call-normalization.ts:978 \u00B7 src/lib/tool-call-normalization.ts:996 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b865f2c8c4ab2e6ee4a6b5a940c69802156a3a6744e91bced0d9c27d235eec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/tool-call-normalization.ts:1002 \u00B7 src/lib/tool-call-normalization.ts:1071 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b54aa658e3bcb92b3cf9cdf15b11bc33f78aacc0ce657196bcadcd3fd9e6c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): browser-agent/probe.mjs:2241 \u00B7 browser-agent/probe.mjs:2450 \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":"browser-agent/probe.mjs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6883b906f1f014029d9146bd0c0017d42088685fdcaa8ed28da94c37533d35f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/app/settings/experts/page.tsx:10 \u00B7 src/app/settings/office-tools/page.tsx:10 \u00B7 src/app/settings/science/page.tsx:10 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/settings/experts/page.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbefa96c4110508f4f3dce17375084b8702d732e22615a96a28da2da59bb391"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/components/ai-elements/mermaid-block.tsx:551 \u00B7 src/components/message/message-list-view.tsx:1178 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4db5ab285d7276672f598527b9d2f7d999b4ad9d795367e6070ad2cb8a3c80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/automations/cron-builder-dialog.tsx:312 \u00B7 src/components/automations/cron-builder-dialog.tsx:322 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/cron-builder-dialog.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e437df7695b7582cb58c05f744a6b3776135e4b8b5bf77c4b21400d0eeac11e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/browser/browser-toolbar.tsx:298 \u00B7 src/components/browser/browser-toolbar.tsx:308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fbda9a27252341b772fb4aef691c86ab0c9ee54a8dad9475bd847e8709a4ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/canvas/add-node-menu.tsx:233 \u00B7 src/components/canvas/add-node-menu.tsx: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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a13ba5c32b054d41e2f2132a591a6543a838111e6eeea9814f1a1fdcef77a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/canvas/canvas-view.tsx:968 \u00B7 src/components/canvas/canvas-view.tsx:988 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34cfe27d8d3816e0c6c62b6fb524b49154362a0382e29903a96345d3c3a4134"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/components/chat/composer/use-composer-attachments.ts:462 \u00B7 src/components/chat/composer/use-composer-attachments.ts:631 \u00B7 src/components/chat/composer/use-composer-attachments.ts:784 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0940801a40f180e7887ed7053da8151a5404af328e8347eacee602a40e6d95f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/components/conversations/conversation-manage-dialog.tsx:231 \u00B7 src/components/layout/branch-tree-collapsible.tsx:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78e3a692d9d64a5fbb2ef90cc6042eee6500c2498c35a36fc27e78bc1465c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/diff/unified-diff-preview.tsx:93 \u00B7 src/components/files/file-workspace-panel.tsx:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc8102ddf288001dd9f145695e44b37df328ca1d975af3ea84957231795989"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/components/forge/forge-new-issue-dialog.tsx:131 \u00B7 src/components/settings/add-model-provider-dialog.tsx:196 \u00B7 src/components/settings/edit-model-provider-dialog.tsx:223 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-new-issue-dialog.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6261a8fc5404d18c46093492b8aa369e6e09be17e565e2a59a64803b4007e26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:2471 \u00B7 src/components/forge/forge-page.tsx:2831 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae7ab88a70a37c4cb4e0bfd3db6c379348c34df502c1a4b0d82797936b452ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:2493 \u00B7 src/components/forge/forge-page.tsx:2879 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dbf5456f714af1c2f720c4eecd1016b6e16d2124f06ef4b6d51c4242f95ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/components/layout/aux-panel-automations-tab.tsx:232 \u00B7 src/components/layout/aux-panel-tasks-tab.tsx:243 \u00B7 src/components/tasks/tasks-page.tsx:672 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-automations-tab.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d336c7c2244fc5480c3454dd1370ee3a42635e5d28ce85d4e0c578f87cb120e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:168 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:190 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c1bd134c29edf112327dda8bc326ce68c4794c35d7e73726e741a983d533e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:443 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:280 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bb70016415dd39fb86f187d6b1711a3bc1ee68edf0a5ac681de2b2d02c0cc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:2281 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:1001 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"526f92548300736a91d572dd43be8c54729795d6b06cc27b13329345e5dad8bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:2638 \u00B7 src/components/layout/branch-dropdown.tsx:779 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5426c118c656184db7757708f08ee46f75beb17738eea037f81d3f1ee19e0ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/workspace-folder-dialog.tsx:353 \u00B7 src/components/layout/workspace-folder-dialog.tsx:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1992883b3736b03068830399e635cd195e0ee8f5a8546bee3f02b2fafe1e95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/components/message/codex-visualize-card.tsx:299 \u00B7 src/components/message/read-image-preview.tsx:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e209fddda6529dd7ebf5155473d253d06263bb6251799a480484f0cad56d778"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/providers/update-provider.tsx:660 \u00B7 src/lib/computer/use-computer-status.ts: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":"src/components/providers/update-provider.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac51f2755008a4460fdd3f2d079923299779d44c5707514b85d0ffdf180c6de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5295 \u00B7 src/components/settings/office-tools-settings.tsx:336 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec1d1ffb9c92960e18ac424243b5ac79d2ed9aeceefba645f494737ec922e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:6917 \u00B7 src/components/settings/acp-agent-settings.tsx:7414 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6917}}}],"partialFingerprints":{"codehealthFindingId/v1":"643a034845686cd2dd51dc544714ff303950e5deda368aa5e438966c68b880c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:10715 \u00B7 src/components/settings/opencode-connect-dialog.tsx:633 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10715}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7183d5d14104d3a79dd2f2d9b98aebf84485414d2119d00594f0a2953adf1bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/channel-events-tab.tsx:83 \u00B7 src/components/settings/codebuddy-config-panel.tsx:34 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bba0fe531ecc189cf0ae4edde575c8ed4259b15ec6da7c3a7fa2378feda699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/claude-model-fields.tsx:132 \u00B7 src/components/settings/claude-model-fields.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/claude-model-fields.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"732f71790e4a1c4f637baaf289f7e819ab6e7c6ce46fb755693300fdc5fa7ac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/components/settings/codebuddy-config-panel.tsx:155 \u00B7 src/components/settings/command-code-config-panel.tsx:75 \u00B7 src/components/settings/kiro-config-panel.tsx:92 \u00B7 src/components/settings/minimax-code-config-panel.tsx:8 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb7d65310cf34de545e493058494c66e72f016df0e4a11c805f0dd1a4960f67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:496 \u00B7 src/components/settings/qoder-config-panel.tsx:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c0d55d532769665d48945782ed60bdcfc310d8f95ea2b06baf39cdd848fa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/font-settings-section.tsx:74 \u00B7 src/components/settings/font-settings-section.tsx:84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6210bcc41bac994ef3cab13248e9272b7c9da5167be7bf93a858a3ded025a79b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/font-settings-section.tsx:204 \u00B7 src/components/settings/workspace-background-section.tsx:99 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"335d7354c9b2a8f9e8be9d06b90fe01653f51255a87670fb0a5b26b6cd688932"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:604 \u00B7 src/components/settings/mcp-settings.tsx:857 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eca7163dbf164f3f10b6e0ec454e9335c8e1182b61f7b3078dd36871e94d10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/office-tools-settings.tsx:392 \u00B7 src/components/settings/office-tools-settings.tsx:436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3bf5afd496b852d3ca102842293262d71a019285439125252bff0770055f16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/components/settings/opencode-connect-dialog.tsx:599 \u00B7 src/components/settings/pi-config-panel.tsx:1161 \u00B7 src/components/settings/pi-config-panel.tsx:1182 \u00B7 src/components/settings/pi-config-panel.tsx:1296 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"02101a238f7acd3dd65c745a26ccc014fa350f42708f5228864671fbf9490b9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/opencode-connect-dialog.tsx:611 \u00B7 src/components/settings/pi-config-panel.tsx:1179 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2b33ee87eb13fe2cf80cb0cec3a5af54d96fb8fdf9ac02fd0fcfe90382a462"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/settings/web-service-settings.tsx:375 \u00B7 src/lib/web-service/use-local-web-server-status.ts:68 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbeb616c9dc81b8ad5ce0324ab171352213b2a1a325d05c1a0f6eff9b9768c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/components/token-usage/token-usage-page.tsx:927 \u00B7 src/components/token-usage/token-usage-page.tsx:937 \u00B7 src/components/token-usage/token-usage-page.tsx:947 \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":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c66c9eec7b5a3520949c38d426f043106b2421395ea43315834fffaf774b4a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:3024 \u00B7 src/contexts/acp-connections-context.tsx:3035 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":3024}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517b3c5f9b66184e4a3426ef74a5d2f378e0abdc0f21fe621e8bfa27980d16e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/hooks/use-git-quick-actions.tsx:158 \u00B7 src/hooks/use-switch-to-branch.ts:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-git-quick-actions.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e088f636bf26aca4e153a3d00dafe3cc896c348ce6c8029f1f3ec74017e4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/background-task.ts:106 \u00B7 src/lib/codex-code-mode.ts:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e8853369daa71723c254f2eef5b4afba7eabbe98cd4c0bdc083ae0ef876cd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/branch-selector-rows.ts:361 \u00B7 src/lib/branch-selector-rows.ts:377 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed85c601a0f19155bacfd595f2890bf460e12908c62fde99d91e05026fbd5ad1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/browser/browser-tab-store.ts:562 \u00B7 src/lib/browser/browser-tab-store.ts:589 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-tab-store.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"6107d35f12d2aacf2a1b31f8f0402956ef1190c52cac90700c84318280188f0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/task-schedule.ts:90 \u00B7 src/lib/task-schedule.ts:117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/task-schedule.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cece21118c3a5a8d33343a8abf153fd00f00bb6ad320564bffe1e1a2e01007"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/stores/conversation-runtime-store.ts:4692 \u00B7 src/stores/conversation-runtime-store.ts:4848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab48a58ad77c0c91ba63da0588cfb0f0199191bf30efb5e8a4480e320d43d33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): browser-agent/probe.mjs:611 \u00B7 browser-agent/probe.mjs:642 \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":"browser-agent/probe.mjs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dff2c0ad94475e7b32e33705183e57464dc3ba5e8948e1ff4c0caaa8f3fb55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): browser-agent/probe.mjs:2303 \u00B7 browser-agent/probe.mjs:2521 \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":"browser-agent/probe.mjs"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a39928f75a4899d8dfa1afa3ce4ab70dfa9c3be5bcbb60fe88ca9b47af708d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/app/pet/_components/PetWindow.tsx:345 \u00B7 src/components/settings/pet-importer.tsx:191 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadf60a3395c595b619793d43672fd0db72eead53d1221770d5919d454c9aa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/ai-elements/json-tree.tsx:263 \u00B7 src/components/import-sessions/import-sessions-window.tsx:333 \u00B7 src/components/import-sessions/import-sessions-window.tsx:376 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/json-tree.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"82848964f348bbd1a229a3319ac0827df70068c2046d53af4686a984c5475d2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/components/ai-elements/message-thread.tsx:404 \u00B7 src/components/settings/logs-settings.tsx:626 \u00B7 src/lib/image-download.ts:38 \u00B7 src/lib/save-file.ts:53 \u2014 the 4 copies are spread across 3 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 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"602267b6a5746ea86807f4916c9df1faa0486aaa4fde846e331aee6516a9a86e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/automations/automation-editor.tsx:583 \u00B7 src/components/settings/config-sync-settings.tsx:828 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2969c922f598798ed1ae854f03a18e58f28031f91f973cab9b8ba311502c7785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/canvas/canvas-dock.tsx:399 \u00B7 src/components/canvas/canvas-dock.tsx:417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6643a0ba42d04475c3068f070701561836e7fcc3754c1d19de0edf3f4fd645d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/canvas/canvas-model.ts:547 \u00B7 src/components/canvas/canvas-model.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb626a388b7aeb89f16ebe19c3c8aba03163d53595d358b78a02533bd6b10483"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/chat/composer/from-prompt-blocks.ts:132 \u00B7 src/components/chat/composer/reference-uri.ts:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/from-prompt-blocks.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"991f0da5d3d71fdf3510a0faf76086958354da4938fccd0fa66772798b074056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/chat/composer/use-composer-shortcuts.ts:155 \u00B7 src/components/chat/composer/use-composer-shortcuts.ts:165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-shortcuts.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5633bb48e2d1e86e86b17e42b6b8923e1aeb254708081c2ef2fb5b1fc1ba17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:1386 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:1405 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc752611a35ff6bcd526ba547407f3545a7b2c8e0838e670d35a000f0773b8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/components/files/file-document-view.tsx:91 \u00B7 src/components/files/file-viewer-drawer.tsx:393 \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":"src/components/files/file-document-view.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0aa3dc512ba5339e86a7a93b976cb0f6dddf1098e62194801b8419bb40b3ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:2374 \u00B7 src/components/forge/forge-page.tsx:2630 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa095b9b6bc17f885aa9534b04309cc6cf7eaed9c348e3530a4c97ca1ee95406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/import-sessions/import-sessions-window.tsx:528 \u00B7 src/components/settings/custom-skills-settings.tsx:734 \u00B7 src/components/settings/skills-settings.tsx:1228 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a0c6bb07e1c7fa3d95e9b16d63003f92245209c444099e1456e312a7d196a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:846 \u00B7 src/components/layout/commit-dialog.tsx:951 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"803154fa9bcd0ef3f186cc1363df0d05ccee396d459da9eb2c8cfd74826a0265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): src/components/layout/remote-manage-dialog.tsx:170 \u00B7 src/components/settings/add-chat-channel-dialog.tsx:133 \u00B7 src/components/settings/add-model-provider-dialog.tsx:190 \u00B7 src/components/settings/edit-chat-channel-dialog.tsx:121 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-manage-dialog.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2422bd57037a4edd85ccd06b161110beb9a0908e57a292f6c029a09ea448cd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/layout/workspace-upload-dialog.tsx:535 \u00B7 src/components/layout/workspace-upload-dialog.tsx:552 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fa3dd4ce94a97a04c506eaef1eb5acfd28ea1640bc2b2144b9ae4d978859be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/layout/workspace-upload-dialog.tsx:645 \u00B7 src/components/layout/workspace-upload-dialog.tsx:667 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"48605f45ada29ddd349d874b123dd5cf7cff3444bc36e3bfc5b9287ac8a35730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/message/activity/rows/edit-row.tsx:67 \u00B7 src/components/message/activity/rows/explore-rows.tsx:243 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40617c74bc9e5d2eeb2c0ec5cd31f553e02f2f70e8517dc72a5395492f6d5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/message/activity/rows/edit-row.tsx:393 \u00B7 src/components/message/activity/rows/edit-row.tsx:473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a00ff7dccf866ce5fd4ac3b390e2c050841fc00f6bb91b5c9b876ceb9f70d6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/message/live-turn-stats.tsx:185 \u00B7 src/components/message/live-turn-stats.tsx:202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"688a0b37beaab5326250640a940cb4f333e631750674ab25679097c43d9bc6da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:3033 \u00B7 src/components/settings/acp-agent-settings.tsx:3094 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"c544a20dbc3837e8fe3420c0a862debe1fbdff937f5980348f06112f154cb28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:3089 \u00B7 src/components/settings/acp-agent-settings.tsx:3128 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"6920f905791eb360b9f14dd3219324ad2f73f587df598bc3e49fda626ade3732"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:3336 \u00B7 src/components/settings/acp-agent-settings.tsx:3356 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5160a4e294f727ad66f2056099334dafcb016c53bfe3f9900006a0ccfe5aef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:6079 \u00B7 src/components/settings/acp-agent-settings.tsx:6150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6079}}}],"partialFingerprints":{"codehealthFindingId/v1":"e219d74f2a06f288afdbb03b2d77cfcda5e24904c53309998ece2dbbcb7b0dba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/components/settings/acp-agent-settings.tsx:12883 \u00B7 src/components/settings/codebuddy-config-panel.tsx:214 \u00B7 src/components/settings/cursor-config-panel.tsx:682 \u00B7 src/components/settings/web-service-settings.tsx:579 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":12883}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef801b86100bf9dbe039a350cf299a7b96e6ed6aa25fd0bb57ba4ac6e2b6c55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/agent-options-editor.tsx:261 \u00B7 src/components/settings/agent-options-editor.tsx:273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc61d801b6a1c249d7e70ebf88616d9851da19448e07a6a1dcc92e3dfaca8b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/antigravity-config-panel.tsx:943 \u00B7 src/components/settings/pi-config-panel.tsx:770 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb19fe09f602fc2cc0b908a49cfabf8ac0d88fac6ae4330ea3d1d51f60af9cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/settings/assistants-panel.tsx:569 \u00B7 src/components/settings/mention-panel-settings.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":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29dfce533755b50c2161d8c6b7d59507fde304dddff4fe0ea5839bad7117f6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/components/settings/collaboration-settings.tsx:32 \u00B7 src/components/settings/general-settings.tsx:343 \u00B7 src/components/settings/logs-settings.tsx:656 \u00B7 src/components/settings/version-control-settings.tsx:450 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/collaboration-settings.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8924484a6d1689db49fd9f29ef69571f19b21c30f0889fb3eedaa2b607732114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/components/tasks/task-list.tsx:146 \u00B7 src/components/tasks/tasks-page.tsx:718 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-list.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"412978fb3898eb00b767677d953c0b4c374d74cb273d61dc8d0d630392e2dfff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): src/components/ui/alert-dialog.tsx:9 \u00B7 src/components/ui/collapsible.tsx:3 \u00B7 src/components/ui/context-menu.tsx:9 \u00B7 src/components/ui/dialog.tsx:11 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/alert-dialog.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022741c613d8cb10f6711c9caad876209d8087742301ac8052ef2017e225845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/workspace/workspace-open-folder-listener.tsx:25 \u00B7 src/contexts/app-workspace-context.tsx:52 \u00B7 src/contexts/app-workspace-context.tsx:126 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/workspace-open-folder-listener.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c399dd9b1402c2b9254ebe8f314ef794fe2b65686022457ae324e97181a5af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): src/contexts/workspace-context.tsx:2396 \u00B7 src/contexts/workspace-context.tsx:2437 \u00B7 src/contexts/workspace-context.tsx:2471 \u00B7 src/contexts/workspace-context.tsx:2645 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9208d8b14e28d015f4fd977170ace0b5d67e7b56bc430a16903b1ed8c5bc6e2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/hooks/use-long-press-drag.ts:76 \u00B7 src/hooks/use-long-press-drag.ts:168 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-long-press-drag.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"297c3ea4e65bc1bb5f9791fc17884093569f8c98e663dd51a9bb09729256bfb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/hooks/use-session-feedback.ts:374 \u00B7 src/hooks/use-session-feedback.ts:432 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-session-feedback.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc621ec714929b388d2fc1436a36133896c26f8c31a7d8481a8e9290e1f84424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/adapters/ai-elements-adapter.ts:1472 \u00B7 src/lib/adapters/ai-elements-adapter.ts:1595 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"523db013dfdcb713a76bba07e2f209e06c75125da012ae61cd9ca25e2c0cec80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/lib/async-tasks.ts:101 \u00B7 src/lib/async-tasks.ts:134 \u00B7 src/lib/session-failures.ts:45 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-tasks.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c333e2e56791b186be04b97da2ed9b907f5c99594787af07142858504412ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/background-task.ts:736 \u00B7 src/lib/delegation-status.ts:732 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d35d1eec3e79102fd38901536195175b2d9350ab38ae4740fb9bd58b504bd58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/language-detect.ts:203 \u00B7 src/lib/language-detect.ts:221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/language-detect.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87dcb7b697a233034fc6ad6f7d381b5126eb6327cac642d31e3afafa130cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/tool-call-normalization.ts:1108 \u00B7 src/lib/tool-call-normalization.ts:1129 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd3119db72942975d322e922b29d54ba7eea9499530a2e5b759ef1d323363f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/stores/app-workspace-store.ts:238 \u00B7 src/stores/app-workspace-store.ts:264 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/app-workspace-store.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"14971605451ee8da0ca4384253970f24a2f8a209fc1e1abf29e32a7ec5bb7182"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/stores/conversation-runtime-store.ts:4966 \u00B7 src/stores/conversation-runtime-store.ts:4992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4966}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4ff1fc78b6e5e88b91729edd21397253ef29c0c7c9cf19c685d1bfb5679e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/app/workspace/layout.tsx:177 \u00B7 src/components/layout/command-manage-dialog.tsx:134 \u00B7 src/components/layout/commit-dialog.tsx:109 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:101 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd95095b994c6388412c64c8fbbc185411fb5a970f09d84d21609fa43a04bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/app/workspace/layout.tsx:324 \u00B7 src/app/workspace/layout.tsx:1172 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ffe7682a3781e5f5b1cc8d806293a91ce0401a75b36acd3871c5ed10cff0d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/ai-elements/remark-local-images.ts:62 \u00B7 src/components/forge/remark-gitlab-images.ts:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-local-images.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d0986334673cc523b0df3ea5557b33b872b64ac4b936cbf5adc2bbffc292a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/components/appearance-provider.tsx:594 \u00B7 src/components/appearance-provider.tsx:646 \u00B7 src/components/appearance-provider.tsx:656 \u00B7 src/components/appearance-provider.tsx:723 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0022e636282ba3f2f3edef33395ea0c89c8ff730b05b68d8ed892b62afb70290"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/components/appearance-provider.tsx:645 \u00B7 src/components/appearance-provider.tsx:655 \u00B7 src/components/appearance-provider.tsx:711 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7b2a8dd20b3669dc691dcec14a56499d9d763ed226e73b927c25d54d7b2464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/automations/agent-config-section.tsx:461 \u00B7 src/components/settings/agent-options-editor.tsx:270 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bc7b3c53ff69a405784d3d21b38fbdadb7d273dfc110d6850a589997c38dee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/automations/automations-page.tsx:156 \u00B7 src/components/automations/automations-page.tsx:174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b93eb340b1715a97f858fe41b4b19ad965536496656eea35d7111c1d8f79e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/automations/composer-invocations.tsx:148 \u00B7 src/components/chat/message-input.tsx:1015 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec03a8cff89309344711f88d0f97467aa5e2944cd49615c4eaead20ba51b8114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/canvas/canvas-conversation-surface.tsx:838 \u00B7 src/components/conversations/conversation-detail-panel.tsx:792 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f5114a9ba205a7c831df417acd335df81fdb0ab0f07f1bf94aca78db0752b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/components/layout/aux-panel-git-changes-tab.tsx:735 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:747 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:600 \u00B7 src/components/layout/push-workspace.tsx:796 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0baebe7c9ce61530fa270986d26a92b2a5cdc93c9f6b015eed59a9a02c313a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/layout/aux-panel-git-log-tab.tsx:1075 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:1138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbd2471d312670881278d455b27354b24a5560357acf33dbd7178dc6114b990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/layout/commit-dialog.tsx:1385 \u00B7 src/components/layout/commit-dialog.tsx:1396 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7189cb6fd175fd24e9ff908c61cea3386aa632531555f1ce04e7e5177dfd7b6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/components/layout/stash-dialog.tsx:66 \u00B7 src/components/layout/workspace-upload-dialog.tsx:794 \u00B7 src/components/settings/add-git-account-dialog.tsx:112 \u00B7 src/components/settings/custom-css-dialog.tsx:128 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 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 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/stash-dialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efb5aec2bff27f5a4e70708cad2a05adde87d0750012bec08060d02f0e3accd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/components/layout/workspace-folder-dialog.tsx:339 \u00B7 src/components/layout/workspace-folder-dialog.tsx:352 \u00B7 src/components/layout/workspace-folder-dialog.tsx:367 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e2a5a2e4b18f4bbfab51c41fd335b69083b77318062e60e9605cbb9833624f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/merge/merge-diff.ts:247 \u00B7 src/components/merge/merge-diff.ts:259 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"047d7c38418d83eca73f6e34119082e9a3cd6cce686e4a1fbb59fc801186db3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/components/message/delegation-identity.tsx:73 \u00B7 src/components/message/delegation-identity.tsx:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/delegation-identity.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e56514be7719732ef43d4acd4f8c396e2bc71c08f969ca631c1890583548a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/components/message/use-agent-call-model.ts:116 \u00B7 src/lib/tool-call-normalization.ts:941 \u00B7 src/lib/tool-call-normalization.ts:964 \u00B7 src/lib/tool-call-normalization.ts:987 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac13e35046eb37407c1b973eaf86198d6d921299e291c9bf19d3f6256e35e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/project-boot/shadcn/constants.ts:194 \u00B7 src/components/project-boot/shadcn/constants.ts:204 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/constants.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bce6a970376581642753f418fe60de52741e1110a3fdd4eaa97fa550aa33a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/project-boot/shadcn/constants.ts:228 \u00B7 src/components/project-boot/shadcn/constants.ts:241 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/constants.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5461963fb2cb4ae0e2b8b73d9320b9f94ee0ca2f64e91274f5616c36ca8c2889"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:1137 \u00B7 src/components/settings/acp-agent-settings.tsx:2576 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b52a419f10f925ba900f4745a85eb8ce6f70c6916ec9399aa942cb91f2b1c13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/config-sync-settings.tsx:359 \u00B7 src/components/settings/config-sync-settings.tsx:425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b647885ef60079e83bebbc16e7942324a7199304dccd36408eb6fe690f7c2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/mcp-settings.tsx:161 \u00B7 src/lib/codeg-mcp-tool.ts:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede4e882fc831a85d46e99d500789dff783f882a5595eb9bfd0074d17433a5ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/opencode-connect-dialog.tsx:742 \u00B7 src/components/settings/web-service-settings.tsx:233 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbcf96bbd98cb6e4799ccc9dca5b169d3f123118734ff2823de238c5e9125e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/pi-config-panel.tsx:339 \u00B7 src/hooks/use-git-quick-actions.tsx:102 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b4ebfcadf042d244aaeb70e5de8cb400193b32bb785299f335222ee0d65523"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/settings/quick-messages-settings.tsx:276 \u00B7 src/components/settings/skills-settings.tsx:512 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2344243b59caa6ea8f334bdb08a0a340e777bcd51ffc30ea2d3e099ec1bfa5d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/api.ts:4789 \u00B7 src/lib/api.ts:6225 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":4789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d843eda512bc3d8ea7c6ca8c12e3e840e0602d4ff738ccc73ee7c241f6cea1d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/delegation-card.ts:594 \u00B7 src/lib/delegation-card.ts:668 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9b9d2278b630f0c3f4a3d38546573c0e43bb5e109af6e548c315854b03102"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/delegation-status.ts:461 \u00B7 src/lib/delegation-status.ts:495 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00e2d840d1c5fe38f00ec3cf2e843754e84e61b382d15fce9afce2da949ab14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/html-preview-inline.ts:409 \u00B7 src/lib/html-preview-inline.ts:423 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"2684345ccee1e7a0591125e1e2500b4deea4cc1bf838526b15a64e475c6046b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/stores/tab-store.ts:726 \u00B7 src/stores/tab-store.ts:735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a2203eafafa030e0e59e2a5ce5d70f8c15ddd76cb33df36c1ed270b2df2358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/browser-injected/console.js:287 \u00B7 src/browser-injected/console.js:308 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"980c040767edf4b66eeeafbba3700494af6c935d92b9af519c6ff2c1fc9a4de6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/browser-injected/helper.js:291 \u00B7 src/browser-injected/picker.js:195 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9961c25153c9155b7cbfd92c117a5f128a11f85ff06158ea1494ea85d3c67fbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/canvas/canvas-board-list.tsx:77 \u00B7 src/components/canvas/canvas-page.tsx:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26c30eb4c5ed9ee1137b04901dc9cf9d690cd2abc3fc101f141a8c9cd0b96fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/components/canvas/canvas-view.tsx:260 \u00B7 src/components/canvas/canvas-view.tsx:727 \u00B7 src/components/canvas/canvas-view.tsx:896 \u00B7 src/components/message/activity/rows/delegation-rows.tsx:462 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b048484749377d98b9c382cc6570f04c28737e591bdf00b063e6e9d000a6185a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/components/chat/composer/from-prompt-blocks.ts:145 \u00B7 src/lib/prompt-draft.ts:173 \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":"src/components/chat/composer/from-prompt-blocks.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cb555ceab9dd4b2dc536eeffd94b28d1f006b8a5b70ea8afaa1aa30da11b65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): src/components/chat/feedback-dialog.tsx:81 \u00B7 src/components/conversations/conversation-detail-header.tsx:381 \u00B7 src/components/conversations/sidebar-conversation-card.tsx:827 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:899 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/feedback-dialog.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d2288d27c6d553e29543abb2ce4a1e6513cb832f89feffcf3b3cefe4f38dcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/chat/message-input.tsx:1580 \u00B7 src/components/tasks/task-message-composer.tsx:211 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"89376909ee770355b84fae5d0ee82d8f70b9c3a1895de4d5d8dd57f2c6f2b6a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/components/conversations/sidebar-conversation-list.tsx:1172 \u00B7 src/components/layout/command-manage-dialog.tsx:213 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:171 \u00B7 src/components/providers/update-provider.tsx:198 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1a93cd66c8cfcfc9ac33046e3f92d0f56d42339b1da9a128b583a931c93cef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/conversations/sidebar-conversation-list.tsx:1536 \u00B7 src/components/conversations/sidebar-conversation-list.tsx:1553 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47bd61eefd2d321e3545d3b30cd794f22c4aabff1ef2265f166ac23a55f352f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/diff/unified-diff-preview.tsx:177 \u00B7 src/components/diff/unified-diff-preview.tsx:571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"04417da3fe81fdcaae4ac5866af0667d297db15fc3b4ec19b39bb07e7b37d0f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/files/file-workspace-panel.tsx:696 \u00B7 src/components/files/file-workspace-panel.tsx:1963 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2343fe8564f7566aa68046a4e0f179f0acc2b51755d1e4c7de2198305d355a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/files/html-preview.tsx:210 \u00B7 src/components/message/codex-visualize-card.tsx:333 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/html-preview.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed1bcb20d7837c2f88651d3f3a6001b9c86dd46a6cfb75977e27f4aeb3eb23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:637 \u00B7 src/components/tasks/tasks-page.tsx:118 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"805a10d1a182aa7092c83bee4f6dcef1508a990373c41d93bbf8b1a7d0b5ccc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/layout/aux-panel-automations-tab.tsx:105 \u00B7 src/components/layout/aux-panel-tasks-tab.tsx:112 \u00B7 src/components/tasks/tasks-page.tsx:210 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-automations-tab.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa5fdafbe4a9e6d57f5a1798c6b10b3b48560cbc56eaa44143f921d8a86ae7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/layout/aux-panel-file-tree-tab.tsx:1144 \u00B7 src/components/layout/aux-panel-git-changes-tab.tsx:513 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f845a64997c5b02e0907bfc1f65bbfbc0fd2a9a2ebfca8ec3d3eb9ab888e4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/layout/aux-panel-git-changes-tab.tsx:181 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:430 \u00B7 src/components/layout/push-workspace.tsx:89 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"817cc50baff076f07a1065d189ac8184de8fc46927b33fe528c06c0f17c67c33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/layout/aux-panel-git-changes-tab.tsx:558 \u00B7 src/components/providers/update-provider.tsx:185 \u00B7 src/components/settings/custom-skills-settings.tsx:172 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d6a018fefe64737c7817f2cd791a82c4a13f3c4cb913fcd03cd22669410d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/layout/aux-panel-git-changes-tab.tsx:572 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:1468 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6189e9ce482550709cc395f55a767e64402abccd0b06e85f31f3507f4c980dd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/components/layout/aux-panel-git-changes-tab.tsx:1667 \u00B7 src/components/layout/branch-dropdown.tsx:783 \u00B7 src/components/layout/branch-dropdown.tsx:820 \u00B7 src/components/layout/stash-dialog.tsx:78 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d167a7f96220da4098be81b825780078cc770d0badddbc6664f7c6f0e6ec0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/layout/aux-panel-git-log-tab.tsx:452 \u00B7 src/components/layout/push-workspace.tsx:111 \u00B7 src/lib/branch-tree.ts:121 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd2f6665d15b5af5e50bc691fd3066d14dd74c089fe632fe424068b482bdcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/layout/aux-panel-tasks-tab.tsx:91 \u00B7 src/components/tasks/tasks-page.tsx:123 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa8d66f7d89fad506eb34224ed058b3f4135aeeef7bb63632712ca7809a269a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/components/layout/command-manage-dialog.tsx:327 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:260 \u00B7 src/components/settings/quick-messages-settings.tsx:204 \u00B7 src/components/token-usage/token-usage-filters.tsx:128 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb671a740e4c7e5a24c8541d4b0eb74df4857ac5e3c9fc49d112b5f190ac0431"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/layout/commit-dialog.tsx:270 \u00B7 src/components/project-boot/shadcn/create-project-dialog.tsx:61 \u00B7 src/components/settings/backup-settings.tsx:148 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0843fb11b34104bafbc391d920f9ff799810d583278a90004201f15025d61745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/message/live-runs-chip.tsx:179 \u00B7 src/components/message/live-runs-chip.tsx:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-runs-chip.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0775c90ae266a98bea1024b7b443483e291f9ad9078715bb410c43384f0c8b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/message/live-turn-stats.tsx:38 \u00B7 src/components/settings/acp-agent-settings.tsx:1164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3c019306c39eecd567699b3cfddc169e4224cea8249b659c95838c71fba9ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/components/project-boot/project-boot-workspace.tsx:12 \u00B7 src/components/settings/model-provider-settings.tsx:95 \u00B7 src/components/settings/quick-messages-settings.tsx:337 \u00B7 src/components/settings/skills-settings.tsx:742 \u2014 the 4 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 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/project-boot-workspace.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d8a53eab7f56d8cfac899e9cab4f8a88ae45a0512e11fdf4c2a32367f5b960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/project-boot/shadcn/constants.ts:213 \u00B7 src/components/project-boot/shadcn/constants.ts:237 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/constants.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a3ed9d8d4832c6a4e45dd59df64858b18dd3e21c3be870b72320b54c77f0b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:5060 \u00B7 src/components/settings/mcp-settings.tsx:442 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b22954d59baacd82e4cf4555a0884970c1e9a123f9e362f63dc3fabd5c28a5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/settings/acp-agent-settings.tsx:6002 \u00B7 src/components/settings/acp-agent-settings.tsx:6050 \u00B7 src/components/settings/acp-agent-settings.tsx:6093 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6002}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c38f95a40fe1e403d21dc88957b8ff8726034c994b6cba3adbcbef1dd4b7354"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/settings/acp-agent-settings.tsx:11213 \u00B7 src/components/settings/acp-agent-settings.tsx:11221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":11213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a040aa47e64a6de6c6292127d20d673f9b19ec0e1e52a6d1d01568058d38eb28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/settings/agent-tools-settings.tsx:184 \u00B7 src/components/settings/agent-tools-settings.tsx: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":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f01de73f55e88f4985b4f82616d4c1e755ba0f34eae068252c378708104c097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:353 \u00B7 src/components/settings/qoder-config-panel.tsx:109 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02fb6a8cdf483c2138564aa857424ae7060cbc0ee59ac7e34bb42fe5fd69350"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/components/settings/custom-skills-settings.tsx:139 \u00B7 src/components/settings/experts-settings.tsx:41 \u00B7 src/components/settings/science-settings.tsx:45 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fc7d137d2eb8c82c7852971b1452f885dfd11ae23684464bac0f9105c399db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/tasks/task-editor-dialog.tsx:112 \u00B7 src/components/tasks/tasks-page.tsx:118 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"688ee064dffbb3dcd35322207ce2a184ce592ab452efa7603fc9311aec9e1e4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/contexts/workspace-context.tsx:1978 \u00B7 src/contexts/workspace-context.tsx:2061 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a59af2a2450c6d1404e69d38cc0365b30c5b0434a0409ccc9265f4314f203bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/hooks/use-open-file-tabs-watch.ts:320 \u00B7 src/hooks/use-open-file-tabs-watch.ts:493 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd86146b7e0896e94bd9db4ca2a4dfe0a64258b1d40546a7df869fe86a0d5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/activity/command.ts:56 \u00B7 src/lib/activity/command.ts:66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbe60c8f28be07e01f77a9fcb51698a95fcdbc16bcbc15e1f2db608f60e6a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/lib/background-task.ts:534 \u00B7 src/lib/background-task.ts:652 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"399a7b1650481488133d76d5929ca6d705441882ffa7a6241b774991813d9b46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/lib/codeg-mcp-tool.ts:137 \u00B7 src/lib/delegation-status.ts:183 \u00B7 src/lib/feedback-check.ts:29 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a33a39924db35a00886f61cd02b47860d77fcab9cb16bcf4fddb980ab6833a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/session-files.ts:778 \u00B7 src/lib/session-files.ts:1161 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8486bb36bd1e313ece3b9a4e455eaec21a0db68126ac49ae0874268d3fcb97b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): browser-agent/src/act.ts:388 \u00B7 browser-agent/src/index.ts:641 \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":"browser-agent/src/act.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e4945a12755e7973665bc5157c9872872c669c8155c12a006dd06e41e886c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/components/automations/automations-page.tsx:718 \u00B7 src/components/settings/acp-agent-settings.tsx:12241 \u00B7 src/components/settings/acp-agent-settings.tsx:12888 \u00B7 src/components/settings/chat-channel-settings.tsx:27 \u2014 the 4 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd34bd4774241cd5abb7303488274cf1499283dabb233af1e1a35666c6bef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/chat/plan-approval-card.tsx:41 \u00B7 src/components/conversations/sidebar-conversation-card.tsx:245 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/plan-approval-card.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebc85ea4621f1fc0fe3a65ef7b2b5f49eb879b3518660d9cd7d4d5b9000e339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/components/conversations/sidebar-conversation-card.tsx:245 \u00B7 src/components/settings/acp-agent-settings.tsx:5055 \u00B7 src/components/settings/custom-style-section.tsx:175 \u00B7 src/components/settings/kimi-code-config-panel.tsx:494 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef0685da6d2d49b95e041bcc969aa233ba9006687ac47bc79cf57e307dd7bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/diff/compact-diff.tsx:112 \u00B7 src/components/diff/unified-diff-preview.tsx:906 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/compact-diff.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fbcaea9825f611b4712210c6e2c9b7cea3eb9774eaac106bc4141000b7da94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/diff/diff-viewer.tsx:215 \u00B7 src/components/diff/image-diff-view.tsx:239 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/diff-viewer.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92488840a4f895b8196db7e3f31d2abcf65b2728074662d5210d5571c15a29d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/files/image-preview.tsx:13 \u00B7 src/components/settings/logs-settings.tsx:173 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/image-preview.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2298fb1c762fb897dc46b321106fe61a326e3a2136e968bcc5597afd6be5bfb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/forge/forge-page.tsx:676 \u00B7 src/components/settings/workspace-background-market-dialog.tsx:181 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d64cc7aad343aa5955dc167cdd0f8339911a8b7fa013aec03be73ed3646815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/forge/forge-settings-dialog.tsx:275 \u00B7 src/components/tasks/task-settings-dialog.tsx:352 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b07bea345ca7bba28da1220dfc77c28559610f4373d88ea5a0bbb3462b8371e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/components/layout/aux-panel-file-tree-tab.tsx:1197 \u00B7 src/components/layout/aux-panel-git-log-tab.tsx:1391 \u00B7 src/components/providers/update-provider.tsx:194 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9523c8311d4f538169d9e37be4290af8835541f65454051db976a347f43cd95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/layout/aux-panel-tasks-tab.tsx:103 \u00B7 src/components/tasks/tasks-page.tsx:165 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c18881bfdaa2c3a8651e39c7075e30ae6a2a38336ad4218105bb0fd88fe86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/components/layout/status-bar-tasks.tsx:49 \u00B7 src/components/settings/acp-agent-settings.tsx:10393 \u00B7 src/components/settings/channel-events-tab.tsx:393 \u00B7 src/components/settings/config-sync-settings.tsx:760 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-tasks.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a12233be65c12a14b37f887bc405817ef7501e3a354de125c55de6805753e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/components/layout/unstash-dialog.tsx:191 \u00B7 src/components/settings/acp-agent-settings.tsx:5015 \u00B7 src/components/settings/opencode-plugins-modal.tsx:50 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79b56a00514089d1fb94e9e8bfff57dc1afaefa892a3ea387615c1df1e4483b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/components/message/activity/use-live-elapsed.ts:61 \u00B7 src/lib/token-usage.ts:546 \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":"src/components/message/activity/use-live-elapsed.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdfbbc1cda831b84fe68b73411abdd63017bf50d69af8c2730b446b1e48438e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/components/message/conversation-message-nav.tsx:560 \u00B7 src/components/message/live-runs-chip.tsx:452 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f1daab96a04a0c3b5e80eee2671e1fe5e4614f419ce2700e25f460cfef7815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/components/message/reply-motion.tsx:71 \u00B7 src/components/message/reply-motion.tsx:119 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-motion.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"576fd16f29787027c58054b716ba6faf6e685797a062d54eab40fdb57a680bd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 20 locations): src/components/project-boot/hyperframes/hyperframes-launcher.tsx:221 \u00B7 src/components/settings/antigravity-config-panel.tsx:775 \u00B7 src/components/settings/appearance-settings.tsx:89 \u00B7 src/components/settings/appearance-settings.tsx:206 \u00B7 \u002B16 more site(s) not listed \u2014 the 11 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd098bee2113fa3a1835fc00df2fc7999b50bf61445e712fb66674710b6e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/components/project-boot/shadcn/create-project-dialog.tsx:60 \u00B7 src/components/settings/add-chat-channel-dialog.tsx:46 \u00B7 src/components/settings/opencode-connect-dialog.tsx:116 \u00B7 src/components/settings/opencode-connect-dialog.tsx:496 \u00B7 \u002B3 more site(s) not listed \u2014 the 6 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e035c1af000785a8cc1bd43c770420c4f3fef7931301f3e4386f26ad8db7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/settings/backup-settings.tsx:139 \u00B7 src/components/settings/pi-config-panel.tsx:332 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bb0b8d047ef5e9689f053b73d29228f769c17e84fe70b89477cd0c6ea4be28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/settings/cursor-config-panel.tsx:390 \u00B7 src/components/settings/qoder-config-panel.tsx:116 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1ee0c3a5ee2a77c7c9418cf070e319ed7c8a5e281ab7fb6e22922504332fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/settings/pi-config-panel.tsx:331 \u00B7 src/components/settings/quick-messages-settings.tsx:127 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6379bf725b7cbfd88c8fbafafa31cebf42cbde298c980b3613330eba627a91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/contexts/acp-connections-context.tsx:1506 \u00B7 src/contexts/acp-connections-context.tsx:1603 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8356ba1678c809b588109929cf3a066263f464677b268b944f92ffdb5a500f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/contexts/workspace-context.tsx:2899 \u00B7 src/contexts/workspace-context.tsx:2919 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1c73d5587a7459e3e1d4137f9cc3c3b0ce41ab0be85bafe19c5f60a3a537d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/lib/browser/browser-api.ts:315 \u00B7 src/lib/browser/browser-api.ts:323 \u00B7 src/lib/browser/browser-api.ts:489 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b9812f4dab9e2038666eb8820db4906a8c11bab2c47ad7fc80d15085bde16c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/codex-visualize.ts:113 \u00B7 src/lib/codex-visualize.ts:256 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6ab9191361361030eec3dabe468d05779ef6354b37e0289ca62d0a2b948a09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/copy-image.ts:84 \u00B7 src/lib/image-download.ts:57 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/copy-image.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f775350a7f895fd2370ee489d55f10b1bd1f9aca81ac16cda180cd08c4eb75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/delegation-card.ts:1485 \u00B7 src/lib/delegation-card.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":"src/lib/delegation-card.ts"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fecd5d2dabeafa54295aa060165df40799f78cc679d43526ea2bf2a847d1250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/last-active-context-storage.ts:27 \u00B7 src/lib/update-check-storage.ts:53 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/last-active-context-storage.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c3e0f9cd74a3ce5da2d5a467b19fdbc0b188ec020564c94125a4c0f178b9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/session-files.ts:931 \u00B7 src/lib/session-files.ts:1011 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b89eceb4ef55af8bc53e91efea7b25656ebdc5f22d7fd9231d98baacd15405"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/lib/task-schedule.ts:16 \u00B7 src/lib/token-usage.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/task-schedule.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42740a4c1526fd768bc1cf2846f623cb9248388cc84e523827d143d15655754"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/automations/automations-page.tsx:147 \u00B7 src/components/automations/automations-page.tsx:166 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c6b7b748f38ded00fa738d4ce2949b107eab9943cfcb1dfa2561559a7a36de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/canvas/canvas-model.ts:761 \u00B7 src/components/files/file-viewer-drawer.tsx:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c56b6d71ef5a0940744422e64d9fe2c44b64a28e182a5a448e0b5fa13879b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/chat/permission-dialog.tsx:212 \u00B7 src/components/message/search-results-output.tsx:128 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbc9febeac9eedda6361bed158232cde8e77d9b6a9b85a72e18ab8915a4236"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13 locations): src/components/conversations/sidebar-conversation-list.tsx:1197 \u00B7 src/components/layout/command-manage-dialog.tsx:214 \u00B7 src/components/layout/remote-workspace-manage-dialog.tsx:172 \u00B7 src/components/layout/status-bar-mcp.tsx:88 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 12 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b72eb659afb85f5a0c7e61fbe1727aed03a7b2a5863d8e65a2a2332e02ca33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/diff/image-diff-view.tsx:15 \u00B7 src/components/files/image-preview.tsx:13 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b556ef7ca0130bbce940435fad848512ec1daa39b7a4521789f447704ab164c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/components/files/file-workspace-panel.tsx:871 \u00B7 src/components/settings/opencode-connect-dialog.tsx:113 \u00B7 src/components/tasks/task-settings-dialog.tsx:228 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49a97a7f763bad66bd7029f561d3bb511c11e2bca3f33ed27bdf3ab38f1674b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): src/components/files/office-preview.tsx:99 \u00B7 src/components/layout/aux-panel-file-tree-tab.tsx:1196 \u00B7 src/components/layout/push-workspace.tsx:322 \u00B7 src/components/layout/unstash-dialog.tsx:192 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 3 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 7 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/office-preview.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a764d6bade8fa2731826fa3b3f763c3b6ff77b6db2fbe54a6c28d098c5f81e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/components/layout/aux-panel-tab-rail.tsx:253 \u00B7 src/components/layout/sidebar-section-order-control.tsx:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tab-rail.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e99ab1551f14d6edd7ee6a8e8a2da6766d7c6a758e0b91f71bfc4f6361e76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/layout/status-bar-update.tsx:38 \u00B7 src/components/settings/system-network-settings.tsx:79 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f884d1c9cd24d682d33a023b659d207f2c219817dec889551957e72a212f7482"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/layout/status-bar-update.tsx:207 \u00B7 src/components/settings/system-network-settings.tsx:230 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a0e28c999d065e2ba3c1f1ccdf95888c8d546291087eaf2f6145dbb195e08f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/components/settings/add-forge-account-dialog.tsx:130 \u00B7 src/components/settings/opencode-connect-dialog.tsx:118 \u00B7 src/components/settings/opencode-connect-dialog.tsx:498 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-forge-account-dialog.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd20c7280f2dd3730417c8b6d7ec96ba25dc21700e8232b0c6abdd7e028080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/settings/deepseek-config-panel.tsx:147 \u00B7 src/components/settings/trae-config-panel.tsx:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-config-panel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1cf1e6b332ca56f6e00bd465de510e84808feadba6bd290cf4c04d00a98938"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AcpAgentSettings (cyclomatic 275, cognitive 260): AcpAgentSettings has cyclomatic complexity 275 and cognitive complexity 260; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4973}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9e2eae2d4952da07db276a94bf0ae5a43b8eb00f4edd17b61a854b6fc33baf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionsReducer (cyclomatic 269, cognitive 360): connectionsReducer has cyclomatic complexity 269 and cognitive complexity 360; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"38342ffa0dc3276232dcf3c60e2c0093a4fc8c6d69ed32e3bf774fafc5dc3288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reducer (cyclomatic 162, cognitive 188): reducer has cyclomatic complexity 162 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c769b89a4e2ef7c724b6d14d54026289553b5f38b9254c438cbbcae5c980a391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 155, cognitive 196): (anonymous) has cyclomatic complexity 155 and cognitive complexity 196; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":5279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adcd993c3e6ed3309295269955c48658993fd9488eea256133840405f014cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailSheet (cyclomatic 133, cognitive 154): TaskDetailSheet has cyclomatic complexity 133 and cognitive complexity 154; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d89fef252940d00621fa8cf931b3106611e3d92ec113f2131b77f03978b4082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PiConfigPanel (cyclomatic 107, cognitive 95): PiConfigPanel has cyclomatic complexity 107 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e55b0587df2f76d850aab18c2336ce60ec8a4dc8283903e0d962f0bf9bb46a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStreamingTurnsFromLiveMessage (cyclomatic 86, cognitive 204): buildStreamingTurnsFromLiveMessage has cyclomatic complexity 86 and cognitive complexity 204; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b29fed20df149e1d74ae8c152f58ee1f9a638b524638fe827b3ea3695ba178c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationTabView (cyclomatic 85, cognitive 72): ConversationTabView has cyclomatic complexity 85 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de2da4792db9b67eaddec8a9160557c4e40f9c5cc7cef7d6b11e066a4c77de5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileWorkspacePanelBody (cyclomatic 83, cognitive 90): FileWorkspacePanelBody has cyclomatic complexity 83 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"561240dcf418b65d3350b4ea09b0b4fb9767f3cc01359d1be9dc36f9fa18d655"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 78, cognitive 123): (anonymous) has cyclomatic complexity 78 and cognitive complexity 123; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":7316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2afa0d85f8acf5237c1c28b54a149139b9919451c4179888116b7a2778a9876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptMessageTurn (cyclomatic 73, cognitive 157): adaptMessageTurn has cyclomatic complexity 73 and cognitive complexity 157; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cf1c3d5f219c1893ad1441b694cbebe73577f2a5980b209880ade070df27c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusBarUpdate (cyclomatic 72, cognitive 68): StatusBarUpdate has cyclomatic complexity 72 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3571624097d3265bfbdfb58f51045c479a22459d7f2994153b2e33a73ec745d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentDraft (cyclomatic 71, cognitive 70): buildAgentDraft has cyclomatic complexity 71 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e228fc46cc4b54f880820561cb53307c22775671fcfa72247ffdda9811db4468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitChangesTab (cyclomatic 70, cognitive 66): GitChangesTab has cyclomatic complexity 70 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b591cc7ef8a5aee3eb736671aff76ca6ac16ed6b02e527c6523e9d49651041d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForgeIssueDetailSheet (cyclomatic 69, cognitive 64): ForgeIssueDetailSheet has cyclomatic complexity 69 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf64f99e34ea5c73531153d93e183b7a4221b10afd08290390eddcc7c96ba66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDeliverPrDialog (cyclomatic 68, cognitive 63): TaskDeliverPrDialog has cyclomatic complexity 68 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8684af2cc8b8445e0efa0d50a0d7839b849ad2f7b1a817262b8f7df4151441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageInput (cyclomatic 65, cognitive 55): MessageInput has cyclomatic complexity 65 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d4ac8853b9b14579ad3644c7fb787d43a59563b1910b90855607b4fc077ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 64, cognitive 95): (anonymous) has cyclomatic complexity 64 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"315cfd48bb198a29f36d5c44a63fdff553d6b2490c9fd3e2c43b96700109deeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForgePage (cyclomatic 63, cognitive 62): ForgePage has cyclomatic complexity 63 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"247eb7ef267e9f832e8dd78818d1865164ea6744eb8ff0de7f45ddc469cbd8df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TokenUsagePage (cyclomatic 62, cognitive 53): TokenUsagePage has cyclomatic complexity 62 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4525d7d2c3acc10b67a4f8ae9a86a75e1ca9c71e7e1967d10b31d03ad547880a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CursorConfigPanel (cyclomatic 61, cognitive 58): CursorConfigPanel has cyclomatic complexity 61 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744dd4aad4d48d9742c1bfb187bb6471538f7192217e8a661fbd2ec0c613e3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemNetworkSettings (cyclomatic 59, cognitive 49): SystemNetworkSettings has cyclomatic complexity 59 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0443e07b0d26868010b7d78b2af6d11c038813d71f0badb51915ba3360f29d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRow (cyclomatic 59, cognitive 48): AgentRow has cyclomatic complexity 59 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d5d997c8924443833002e4e7dc52372513988d882e92cda36ac8dec5e3c998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pipelineStages (cyclomatic 58, cognitive 88): pipelineStages has cyclomatic complexity 58 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":"src/lib/grep-no-match.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c383b11b849a9bb9033872c22d21190996b3f7ea48c94a2e136ec80d2bc8cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageListView (cyclomatic 57, cognitive 56): MessageListView has cyclomatic complexity 57 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3525f22a7e54a3ed9c294402f9502fb525653238e889f3199076acd30b942a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitCommandLine (cyclomatic 54, cognitive 104): splitCommandLine has cyclomatic complexity 54 and cognitive complexity 104; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b95d501d1d5e37a9a31cbf64292eb773807d8764511b87a770e4aa35941d42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsSettings (cyclomatic 54, cognitive 46): SkillsSettings has cyclomatic complexity 54 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1f2fa36073a955b012848bfc41ca1bd5679298fd38be730edfc2ac4553e6a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actJson (cyclomatic 53, cognitive 69): actJson has cyclomatic complexity 53 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbd77b365e81c87fd62d8523e2c32af66226e6700441c147515e1b417aeea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexModelListEditor (cyclomatic 53, cognitive 46): CodexModelListEditor has cyclomatic complexity 53 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0b29b25fe7d092869cf3a16adaad88c07f6d054d2cc96b93b3724c831e75e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackupSettings (cyclomatic 53, cognitive 44): BackupSettings has cyclomatic complexity 53 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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc1da9cb8017f43b3851d9ef4a87d8eb4756e8b0601de484c13d593e2bffbed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveFlowGraph (cyclomatic 51, cognitive 85): deriveFlowGraph has cyclomatic complexity 51 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3c528eba9c312035098f6bb91655b66a75f90382fe01a9d709a912205f6ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferFromInput (cyclomatic 50, cognitive 41): inferFromInput has cyclomatic complexity 50 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e95135de949a949859ca73c790891bd5142fa68d95b895f19ec245b7652245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeModeCallSite (cyclomatic 49, cognitive 88): codeModeCallSite has cyclomatic complexity 49 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":"src/lib/delegation-card.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e8bded2bdf95d240a494c19fb6deaef190d3b5e224f614db143c36bb6ef286"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpSettings (cyclomatic 47, cognitive 46): McpSettings has cyclomatic complexity 47 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7186e30486080e5c12127b082db42f2c1736d722ddb2143bdc77a639450cea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeUncached (cyclomatic 47, cognitive 42): describeUncached 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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd7fc29def9bdb0a8011b09119fe0512816c60bf5856378a604883bd5241a75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileTreeTab (cyclomatic 46, cognitive 43): FileTreeTab has cyclomatic complexity 46 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b32a55b22e5b616ce4156c162a137bfb3e30ae164707b8cd81a78174f3b9b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolStepKind (cyclomatic 46, cognitive 19): toolStepKind has cyclomatic complexity 46 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8d7e4d62d2c52dec910f585a6a6c1d99ac16ae810c5fb57120ecb8a9d5242f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigSyncSettings (cyclomatic 45, cognitive 43): ConfigSyncSettings 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":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa96b48a207b9a311df2fce0cc27f6f0157012b0280373d7807e3777a35d4162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerContextUsage (cyclomatic 45, cognitive 42): ComposerContextUsage has cyclomatic complexity 45 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":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ec5d08759bd677051677f00a9a71e2a5fe6e2154c3a0bf98cae866271228f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DelegationStatusRow (cyclomatic 45, cognitive 41): DelegationStatusRow has cyclomatic complexity 45 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/delegation-status-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed8bc64a41d384b1341510414fe7b86787a3d951e42a3356d914c374f3f21fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KimiCodeConfigPanel (cyclomatic 45, cognitive 40): KimiCodeConfigPanel 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":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"6706ddd3af199cd5f6b6644ceb7fd62c8f7bfdc29be8f3ad5c0ec6239aa7e96f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 44, cognitive 77): handleKeyDown has cyclomatic complexity 44 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5bb7b3fdbd391a14b4a404478abea2bd8d633255a8dc6a8189c31fc63167ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function format (cyclomatic 44, cognitive 55): format has cyclomatic complexity 44 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1059a0acbe233ebef3ddc2183eb4532df977dc050ce40090244cee88ace24c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileWorkspaceTabItem (cyclomatic 44, cognitive 42): FileWorkspaceTabItem has cyclomatic complexity 44 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":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c92d2d4d871e655b9f6b950362a51a2e3ea9943510e172540224b4ae5598a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerConnectionStatus (cyclomatic 44, cognitive 36): ComposerConnectionStatus has cyclomatic complexity 44 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":"src/components/chat/composer-connection-status.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"519295df96ccd724fda50335201e05213994af396768baf10ec4027bfaf4a6cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 36): (anonymous) has cyclomatic complexity 44 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":"src/lib/activity/summarize.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcd8d65fd0d22117293fa7822ab14bd03f9be3d3770a2d0af59285f2aba2a8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskCard (cyclomatic 43, cognitive 40): TaskCard has cyclomatic complexity 43 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":"src/components/tasks/task-card.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e488876fb021ed5be3c1f2ba5057ac73a60592c9f58f0ef753c94c788e2079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarConversationCard (cyclomatic 43, cognitive 37): SidebarConversationCard has cyclomatic complexity 43 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba08f334e562f37d2c5b2fb20dc2bb13e2bb1c9eea5e9ae441c6cc22637a8c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isJsonContainerPrefix (cyclomatic 42, cognitive 82): isJsonContainerPrefix has cyclomatic complexity 42 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/live-tool-output.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"46afc9872b73f37a48d9ad114d69de9c5dd280b1d83e3439b29ab40265935e7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 42, cognitive 61): renderRow has cyclomatic complexity 42 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8f5d67f2041c75efd45aa90889d3b3b02476c7089577c77ce84ba9358fb4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultActionFor (cyclomatic 42, cognitive 49): defaultActionFor has cyclomatic complexity 42 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e705cee0ce31728793221a5023740b8f3d5718a9b0eb8260ee80c3afb23d10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionDetailsContent (cyclomatic 42, cognitive 39): SessionDetailsContent has cyclomatic complexity 42 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":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78ce0f3a3d8e29f8af1a31d1444a901d6cd8e501e3f65b314223366f3899a06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timelineDetail (cyclomatic 42, cognitive 33): timelineDetail has cyclomatic complexity 42 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9807c86d4f09f8159e8dd512ed88e882c072c17363eb41574900bf5e02301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QoderConfigPanel (cyclomatic 41, cognitive 38): QoderConfigPanel has cyclomatic complexity 41 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":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"52664995afbf80a25a8ac6bf1574555d44f98ca7fcd0d067c117ae0606fe3c6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function templateLiteralTextEnd (cyclomatic 40, cognitive 93): templateLiteralTextEnd has cyclomatic complexity 40 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fbd4f2bc15d7d2d7e82addc29157c670c2de51c0a4fedbcec524f1d7cb37d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUnifiedDiff (cyclomatic 40, cognitive 79): parseUnifiedDiff has cyclomatic complexity 40 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4a96ce5c78d75e72e42e791a09f4c64a84fa66f3f7c949027274eba613f0d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexCatalogStatusLine (cyclomatic 40, cognitive 48): CodexCatalogStatusLine has cyclomatic complexity 40 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f586db58f74916f02480611664e200f99af6fcd1ab2ab4ed07ddb7bd755e2b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useConnection (cyclomatic 40, cognitive 37): useConnection has cyclomatic complexity 40 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf122fb8da6946853be019c0f4f3097c37d5de4112b022fff5d4d68aed2c9a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileWorkspaceHeader (cyclomatic 40, cognitive 35): FileWorkspaceHeader has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-header.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9b8c8a1a942624a2bfee43b8ba9a7cb76bdf3d0c9542102f5d57c6c8b1b16d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommitWorkspace (cyclomatic 40, cognitive 34): CommitWorkspace has cyclomatic complexity 40 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":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"488584456fbc96f57dee20fd82d66c3161429e7f056e87f9c14457a6ff027346"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolStepView (cyclomatic 40, cognitive 12): ToolStepView has cyclomatic complexity 40 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"60483192e19a8aaf55de3e6c23a63a9639ca1c75c764d954139ba7cc91b9bbe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeEditFiles (cyclomatic 39, cognitive 62): describeEditFiles has cyclomatic complexity 39 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e65ccfc019dd4af7f5158e4fdac1b4b76e88c6ea73d8ff348a782a165a377c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGroupInvariants (cyclomatic 39, cognitive 58): applyGroupInvariants has cyclomatic complexity 39 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e8b629498fd7edf639e5836c6eb19875bccf3acdb672cb473bd87b5cbd0bc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function folderHeaderElement (cyclomatic 39, cognitive 34): folderHeaderElement has cyclomatic complexity 39 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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432e2478aecfb32463b870678eb1854b131577e2785c7d5f4212fc4fc9473d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editDiffText (cyclomatic 38, cognitive 60): editDiffText has cyclomatic complexity 38 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb63ef84779a1ba847d11b9cb61e1213a7120a9d95c1890da86e03e5b2e5d96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildVersionCheck (cyclomatic 38, cognitive 44): buildVersionCheck has cyclomatic complexity 38 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d09b3f51799feae114276f007892488669219d986f8e6ef89c8fd276fb04110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TurnStats (cyclomatic 38, cognitive 32): TurnStats has cyclomatic complexity 38 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":"src/components/message/turn-stats.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec98680973f087f7128d8720bde04b6aaf73f32396eee5dd7e2ebfbbe65113c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantEditorBody (cyclomatic 38, cognitive 32): AssistantEditorBody has cyclomatic complexity 38 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":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e6068f48a3bf3ad256bb69fdb2b12ec67232b3958162ab3da5777f43fe3d1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PermissionDialog (cyclomatic 38, cognitive 29): PermissionDialog has cyclomatic complexity 38 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/permission-dialog.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b7724e7b88a08db2accc5918d4e8d2273b1d10a8e74ffa15a7c1bdb6bfcc59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeTimelinePrefix (cyclomatic 37, cognitive 44): computeTimelinePrefix has cyclomatic complexity 37 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3914}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1ee69133b0023e36eb9aeac9e6578ee407906c9df21d250f550838fe7fc955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompletedTurnContent (cyclomatic 37, cognitive 36): CompletedTurnContent has cyclomatic complexity 37 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":"src/components/message/completed-turn-content.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da1497d99ebe18ff6b19b31b8a2a5be494613fb67b58df31cd9ac5fcfe2634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CollabAgentRow (cyclomatic 37, cognitive 31): CollabAgentRow has cyclomatic complexity 37 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":"src/components/message/activity/rows/collab-agent-row.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2804a178c37f7c85c0ddcab4b27a24fe22237d4b40c45277e93b73c5970e971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolIcon (cyclomatic 37, cognitive 10): toolIcon has cyclomatic complexity 37 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/step-visuals.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadadf67ae1984d6508852d75ed55ff01600fad0c874e39a2e4d308ed239094d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 36, cognitive 42): onKeyDown has cyclomatic complexity 36 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f291bcbeac7e5153de6dc6528b38287d57cc8e6a1cb73023f811b4cd3e7f3fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitLogTab (cyclomatic 36, cognitive 35): GitLogTab has cyclomatic complexity 36 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5702a8a0df8e8be16c9cba53725e7426327acd798757bed1f89721e6d899426a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocGuestPreview (cyclomatic 36, cognitive 34): DocGuestPreview has cyclomatic complexity 36 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":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ae4ff4c8450ed4c7faac2f760d7798161118496459f0e4825fcc73c19879f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexVisualizeCard (cyclomatic 36, cognitive 34): CodexVisualizeCard has cyclomatic complexity 36 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":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e2f2ee9f2db6c7451e077d209ef6f4d064adb36fa669dfaccf05c038e9fa9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CanvasConversationSurface (cyclomatic 36, cognitive 31): CanvasConversationSurface has cyclomatic complexity 36 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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bf23d500c86ffacbd65c587add8ef9504a6503e787b5ba6690d6260216b6cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommitMessageSettingsBody (cyclomatic 36, cognitive 30): CommitMessageSettingsBody has cyclomatic complexity 36 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8c81dd07eb6420cc71547ce751d963219b3b74bfad65afa62823d69a3c8a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FolderHeader (cyclomatic 35, cognitive 34): FolderHeader has cyclomatic complexity 35 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":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"99885fe5bb0f08fa0f9580254b1ede4802fd9a78b46ddb97543cecefa9ae7d97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceFolderDialog (cyclomatic 35, cognitive 30): WorkspaceFolderDialog has cyclomatic complexity 35 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf183d1c4d117e7156e7c59ca41bb0d0d5811b6bb0cce059c9b9e44a84d5bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddCustomAgentDialog (cyclomatic 35, cognitive 28): AddCustomAgentDialog has cyclomatic complexity 35 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55db7973736a43632094f4b6b70992bd0c868db89906a4c7a74dddec92279c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useDelegationCardModel (cyclomatic 35, cognitive 11): useDelegationCardModel has cyclomatic complexity 35 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-delegation-card-model.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5555b60d93101eed7c6be704ac5c41c66cdeb8cfaddb84a5e8a4e1d8afb11ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 33): (anonymous) has cyclomatic complexity 34 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76c919e3b88c0c0ad9ef4f5168a649ad216f79e3a8e552f22af0f2ba7a9d4d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandDetail (cyclomatic 34, cognitive 30): CommandDetail has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bfc51151a755a2c496ea660a7b1a5226b72a492227b58eaace73aae25c1b04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegionNode (cyclomatic 34, cognitive 29): RegionNode has cyclomatic complexity 34 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/region-node.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09aa15e882e3e99a45c9d17e561f5235ab76d191b1a75ee6b74f66304a898bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GoalCard (cyclomatic 34, cognitive 26): GoalCard has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f6ec3285bf0bcaf36a007c931fea0fddf7b07a0d390f0e416f2ed5efb62cfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 33, cognitive 50): init has cyclomatic complexity 33 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0ea5a735e8f288d80adccf56b4273febc53e9ef7d648537b7e75ca7011269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 33): (anonymous) has cyclomatic complexity 33 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4992}}}],"partialFingerprints":{"codehealthFindingId/v1":"624efb66d11c7af48868ab5a04c4aa084bab1106a59fd19cc06e4c798f3d1944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerWindowPicker (cyclomatic 33, cognitive 31): ComputerWindowPicker has cyclomatic complexity 33 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":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bbd9a7592146438a24a337090a71159958371284152664cd0390574d231bce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskQuestionCard (cyclomatic 33, cognitive 28): AskQuestionCard has cyclomatic complexity 33 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a04815099c135fb7f28a6b5ab7a1586cc68c1687fd67102debb9c1954104dbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodegMcpToolCard (cyclomatic 33, cognitive 28): CodegMcpToolCard has cyclomatic complexity 33 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e09d8efe71e35db1efe85d53339497239d8083de4b7ca5e28dd27018dded7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 49): (anonymous) has cyclomatic complexity 32 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bee6937ef835550858344cdddda245992c7dcdc0b9c37b38abb295a8d7c44a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 32, cognitive 32): handleKeyDown has cyclomatic complexity 32 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1689e622b45cc4d83fad3bd76736e4f7d57862510f8ad94164950f7a3008f086"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PiProjectTrustBanner (cyclomatic 32, cognitive 26): PiProjectTrustBanner has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/pi-project-trust-banner.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f11b44ff54f141632868dbb40165043b9c73660cdd0b4ea46068df42e78442"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskEditorBody (cyclomatic 32, cognitive 26): TaskEditorBody has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6976eb0cbd9c8aa162ad3e325df87ed3439f7699f12bc09f91d24fdb3e1ccc54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCodexTomlImportantValues (cyclomatic 31, cognitive 52): extractCodexTomlImportantValues has cyclomatic complexity 31 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388c0f9a6da57455ebba70c53f972dd1e542abdb28cb503949b0fede21a215f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameConfigOptions (cyclomatic 31, cognitive 47): sameConfigOptions has cyclomatic complexity 31 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc63cd401ebde6f34ebb5a9aa61e76b4252591cdfb3acf65d7ccdf82f48f33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationEditor (cyclomatic 31, cognitive 29): AutomationEditor has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f1aa2b7fedb92efa511e47c50160d886cdecd521512346c2d715d44dc85405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCron (cyclomatic 31, cognitive 28): describeCron has cyclomatic complexity 31 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cron-humanize.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e352f7ea4ad702d2c34afecc87d77452ae43a8eeb837ca030724524f3496504"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function htmlEnd (cyclomatic 30, cognitive 65): htmlEnd has cyclomatic complexity 30 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/chat-html-markdown.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"598cf51534c3c7836db03f54876597474310de8ebb5a91f5466a678c0b424dc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeLineDiff (cyclomatic 30, cognitive 57): computeLineDiff has cyclomatic complexity 30 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8619375209c9509a2cd0e3a696acc09833b4235e12b9bb1176ca6e488f03fa71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseToolOutput (cyclomatic 30, cognitive 47): parseToolOutput has cyclomatic complexity 30 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbd130250ac3d54b5c4576645245a92766af230ca80e448b4a234dd0ee552de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRemoteSnapshot (cyclomatic 30, cognitive 38): applyRemoteSnapshot has cyclomatic complexity 30 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":"src/stores/tab-store.ts"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f01e0fc1eb5e88c309090e778736e2fe7574b59608019771b243956939ec64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportSessionsWindow (cyclomatic 30, cognitive 29): ImportSessionsWindow has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3838c96cd5b5685d1e244a7713bbd6a51bdb089800ffd8aed447d7e514472db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DelegationStepRow (cyclomatic 30, cognitive 25): DelegationStepRow has cyclomatic complexity 30 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/delegation-rows.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"524bb722e9ebbcf2f710ed3b23793193b042309e14e79bd1e54159bf51ab6492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpenCodeConnectDialog (cyclomatic 30, cognitive 24): OpenCodeConnectDialog has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae921d4a7dbc33a714e1a49a9a98c2d92b346fed76c04b900d1a73652ef06a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceContent (cyclomatic 29, cognitive 27): WorkspaceContent has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"689355b5e535237210c2930525fec1c06e65df3b0a87cfee30d7e6bcb7fba8dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityHeader (cyclomatic 29, cognitive 27): ActivityHeader has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-header.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddff7ccdcb622f2bd4d88c36daa648daebd4784d919598665ebd93cb954adc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 29, cognitive 26): submit has cyclomatic complexity 29 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49c907a5907222244b81c543a3dd99b1e509ec01a74df57f5c117326461f9e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskRow (cyclomatic 29, cognitive 23): TaskRow has cyclomatic complexity 29 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":"src/components/tasks/task-row.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46cd45edc9700f5775a4ea2be1cf8393333bf3e75ad593a61bd726cf78a516a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 33): (anonymous) has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebd0179294c9dec905e55d75a3dfaf5788aacb2971ab85b5982033b335971e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFileTabId (cyclomatic 28, cognitive 31): parseFileTabId 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":"src/lib/file-tab-id.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76825a79c556827696aa0e3e1087cfd3286443f7bd4d7a005c4e1c381dce7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onStorage (cyclomatic 28, cognitive 29): onStorage has cyclomatic complexity 28 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2e6e132061013857431f069dbdb0e5952ea92ef1b554f46b6318de76af2ffa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StopShortcutRow (cyclomatic 28, cognitive 28): StopShortcutRow has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdc2a8234c436d0f5bb5fdeb709e4dada936c1748a97fcf1855e27d9f45953a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PdfViewer (cyclomatic 28, cognitive 25): PdfViewer 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":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8597470758c97eb8fc83520aa8b2776d76ff4bb2650cf980b1932c8a46bb5aa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBranchRows (cyclomatic 27, cognitive 65): buildBranchRows has cyclomatic complexity 27 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163348766fb9216319043f882cab3e39335a165fb95489ca8956cda750a20df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiffChunk (cyclomatic 27, cognitive 49): buildDiffChunk has cyclomatic complexity 27 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb5a17fceae7e9eefb875aa656813dc7ce78e61315b274422e57a1e2c8841f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerOf (cyclomatic 27, cognitive 43): answerOf has cyclomatic complexity 27 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf1c5dbd8e17389a9dde9a35d6d0c7a778f41df317798c99ff106dabcba3de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 27, cognitive 36): save has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8554b78c623e427059c0a1d26ab7a4d72afbf0070baf05b04bf67b51af3582b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferLiveToolName (cyclomatic 27, cognitive 29): inferLiveToolName has cyclomatic complexity 27 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7341abaefe58c054686668e69fa7a12b4aed1d3d9eae0249bb6cb78ac7b9642"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NativeSurfaceHost (cyclomatic 27, cognitive 21): NativeSurfaceHost has cyclomatic complexity 27 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab824ff57c4d3241635a766aa44f51ffc3626cb00cbf01f085adcddf6d4f593c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeepSeekModelListEditor (cyclomatic 27, cognitive 18): DeepSeekModelListEditor has cyclomatic complexity 27 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e80204448d37c6d9f90efb21837ecf1f164bac5038e8298c43d1eb3a875de15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAlignment (cyclomatic 26, cognitive 40): computeAlignment has cyclomatic complexity 26 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9476ceb809863deb296c83b5dcf3a8cdcf9114daffc4157a10b8a48a58f60771"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 26, cognitive 39): act has cyclomatic complexity 26 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/index.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee37990e3dd03a5e100a2f6257e5490cbd1c90ab3461247b6decf783fa93333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTaskActions (cyclomatic 26, cognitive 34): buildTaskActions has cyclomatic complexity 26 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-actions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dc72686a81dd580943b0b7c8743983b298c01c4fb289a7e0513bc551d08298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMessageNavEntries (cyclomatic 26, cognitive 31): buildMessageNavEntries has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-nav-entries.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf846a53abf1be6607571f50500832b69c9f256567f7814c7354022d96f6423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __codegEvalRender (cyclomatic 26, cognitive 29): __codegEvalRender has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/eval-render.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8ad4ba99da216c1ccae27ed1ddea2b9feaa82e6c5d369789d8a6844eff6e33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePermissionToolCall (cyclomatic 26, cognitive 29): parsePermissionToolCall has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1815f9282c6928ae246367029cf68c6f39e23dbeb0de2fd7b9c51aed388f900"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openChatModeTab (cyclomatic 26, cognitive 28): openChatModeTab has cyclomatic complexity 26 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"27653b9e284cb2bb599a67dbac4ff14f88f21122999f6e2b8f546a188d91086a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarSectionHeader (cyclomatic 26, cognitive 25): SidebarSectionHeader has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-section-header.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61183d3e5af68e0d36853d8fa62e639a392aeb59a63fe3e727175448ea07f21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MergeBox (cyclomatic 26, cognitive 25): MergeBox has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2609c13fd9d1ea2e723458ede30063489ded5919c0b57025a0d1015e5fbe67e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchCommandDialog (cyclomatic 26, cognitive 24): SearchCommandDialog has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/search-command-dialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"575611c4811d81dda3664ea303960f031d78bc0f3977a3aa4e017a796bebbbfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextCompactionCard (cyclomatic 26, cognitive 24): ContextCompactionCard has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42d27885ce362af5da11c87f0e8167b7a7e266066099104344564bad21f9d40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserDeviceStage (cyclomatic 26, cognitive 22): BrowserDeviceStage has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-device-stage.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4634d5caee044e96bda25a8619c20cc016ece0a85edbe3be31a115d937369bea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityTimeline (cyclomatic 26, cognitive 22): ActivityTimeline has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c29fd38fe207cc87c9cad924652c7b4d5a673b1e0958c371f3e4ae4c1891a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCommand (cyclomatic 26, cognitive 22): describeCommand has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce9eaa5d93c83a0dd8d44f2e7ce7ec0ab19e96457ba1835f5c8486b16bd4a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adapt (cyclomatic 26, cognitive 21): adapt has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb7201205674e217442bfe425af9224010b1247391cac8fbaf38b819ec5275"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retrySignature (cyclomatic 26, cognitive 18): retrySignature has cyclomatic complexity 26 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/summarize.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6214191da5a21bd4ec6a4b226506e4e0c7f999c3e8f71a918a7b4ce7f1bd4e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerSettingsSection (cyclomatic 26, cognitive 17): ComputerSettingsSection has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13831ea667b397b336f5aebeaefe92c47372cfa9adec32a97f11971958c145"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanStartTags (cyclomatic 25, cognitive 47): scanStartTags has cyclomatic complexity 25 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dbd4a19ed21ed3260a739211c99b9f64255ee0b2e849a43ae9e7d23e1c6eef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeModeArgsTransparent (cyclomatic 25, cognitive 37): codeModeArgsTransparent has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbdd26524b50c8f6005209361b9e65cc698af479946b3919acc588dbc8eb862"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractEditStats (cyclomatic 25, cognitive 29): extractEditStats has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c502af9428b095f16fc1a700dbc8fcaf462e8ed7498dcdb4dad1c727eaf141f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConfigSection (cyclomatic 25, cognitive 28): AgentConfigSection has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93c0d1903e16eb2bdf6d865b589a8ec55da8dadc2fa8a36c5bcf3c3f48627d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTreeKeyboardAction (cyclomatic 25, cognitive 28): resolveTreeKeyboardAction has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tree-keyboard.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed4bdee74926ad1381ee83689d0dd3a7f23c72f7c039a6262d9338054f70bd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodegReferenceUri (cyclomatic 25, cognitive 27): parseCodegReferenceUri has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/reference-uri.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"566073adc0292f8f09db07636ca1c44563c2298ac76723985e31f94e850b561b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RenderNode (cyclomatic 25, cognitive 26): RenderNode has cyclomatic complexity 25 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f8f0b9e01e34a885d163aec5ae8664b8b1ad8a8734f030fae5cb7689f2bbba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerIndicator (cyclomatic 25, cognitive 25): ComputerIndicator has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-indicator.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b20a77d136bbdff7cb1bed91d309215f3e9b213016a0363b08e206f3d842fc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 24): (anonymous) has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad099ce10857b35335b632a70fd0e0fd7f38b9c4634d3b0443820958d49b961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 24): (anonymous) has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":7126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b07e1dd2a1193136623c97aa6962dd150e5b41a8a75e5d25618b5a03570435f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TabItem (cyclomatic 25, cognitive 24): TabItem has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-item.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e0165a743b99c5db216df08c3c49d057dda42004c73c603f816ddf2bb9a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useAgentCallModel (cyclomatic 25, cognitive 23): useAgentCallModel 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":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"558323880d02963e4709ba5a9c081967bc8b55ac0f41072d9ec345f2008c9db4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserNoticeBar (cyclomatic 25, cognitive 21): BrowserNoticeBar has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d186f3559bd41a18f53b44152150823b7a352131df939fd8523eb7d3d0df70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthorFilter (cyclomatic 25, cognitive 20): AuthorFilter has cyclomatic complexity 25 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991a97e11356b4905d248b89e35a69f29b982b83450402906fe7dfc619318e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PushWorkspace (cyclomatic 25, cognitive 20): PushWorkspace has cyclomatic complexity 25 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9ae1f850b064356605b7a108c31dd54ed5d60bf91fbb6c439f9dbe2281beab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandRow (cyclomatic 25, cognitive 20): CommandRow has cyclomatic complexity 25 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b49d578f07373cb7e38a1ab06b8ad6a947f90fa17d19e65ed1129255d0b9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeMergeHunks (cyclomatic 24, cognitive 52): computeMergeHunks has cyclomatic complexity 24 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05c245059c49821c62d4704501fb0665ba8f3d963993e436f5b58e48c0a491b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function globCovers (cyclomatic 24, cognitive 50): globCovers has cyclomatic complexity 24 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-permissions.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4aadd3e78f5160ed12af38f128e4c8bf206d3ee441f37b0f47f78fe768657e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipJsTemplate (cyclomatic 24, cognitive 42): skipJsTemplate has cyclomatic complexity 24 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3477d93219ed8eec39991c3af03b458eccbae78bafc63d9703f6c821f3b8009"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 40): (anonymous) has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f36724791561566e49829000218cfeb5b3f026592f21232b63bf8501fb169fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 34): (anonymous) has cyclomatic complexity 24 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e06f3bb3495739a36a47d9bbba0265555cf807412c901b6127e2815d5e3dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 32): (anonymous) has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efe7a97da9eba2dde0e594c04a007c2dc116aaaf2ecf1789c0b4c50027b814b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandOutputFromJsonString (cyclomatic 24, cognitive 25): commandOutputFromJsonString has cyclomatic complexity 24 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1605922f1b04bd99702dbca46ba3d9369cd54da90f6ba1907e0d682fa4683a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomSkillsBody (cyclomatic 24, cognitive 23): CustomSkillsBody 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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24fffb9cd5c002fb107e6db22ec2cbc85936cbf166bacb164facd020655e540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDense (cyclomatic 24, cognitive 23): isDense 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":"src/lib/token-speed.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eef25b9de37dfedd4511a55bf1e4c4b9c364a86a66ee9efa11b836db7494ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CanvasFlow (cyclomatic 24, cognitive 22): CanvasFlow has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"320278807d0ef9c76f17f4bdd584b9b2d6b394792eda46cd7aac58e3aa484ffb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusBarWebService (cyclomatic 24, cognitive 22): StatusBarWebService has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-web-service.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2797df1d29350ba7a3a5d2d9d092c6e1d78eedc6eb33d6e4ed32cba8d4b2ac51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DriverSection (cyclomatic 24, cognitive 22): DriverSection has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c0f3074dd79eceee16ac8f08adde87a0a36a57e934f8cbb1d34bc57b0a5a1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertTomlSectionBooleanKey (cyclomatic 23, cognitive 50): upsertTomlSectionBooleanKey has cyclomatic complexity 23 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbb6c2e2ec8a6832016c132634b264e6fe4cd5103904a42adf2aaf48524d88f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiffOutline (cyclomatic 23, cognitive 46): buildDiffOutline has cyclomatic complexity 23 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dc6293c2908003ef34a049f4e92d69ef350dc1f72de59aab4ce37f5744096b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSave (cyclomatic 23, cognitive 34): handleSave has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-manage-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a406eaa3220db31091f22bae1889485f700db9f747e2c2175ee376012b6781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RowChecksMark (cyclomatic 23, cognitive 31): RowChecksMark 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":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48fe4252eee00b1597f7f0fcd88cd3a81d84c034827b54bb809aeffcc0cb0ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandLabel (cyclomatic 23, cognitive 28): CommandLabel has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9e8cbd34ca9a3dacc8540fe1c8b84884c2372355f8af01532093bf023e4c6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openNewConversationTab (cyclomatic 23, cognitive 28): openNewConversationTab has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f30ce2280cf6dc9c71b629b1559b5e2ed4a7c8750798f2b5d36e092f3b3b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interpretReport (cyclomatic 23, cognitive 24): interpretReport has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01799f5b39c1143336bc6e1d0cbba8e1075c77cc44105d3635d0bfff36fb473"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeUncached (cyclomatic 23, cognitive 23): normalizeUncached has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a223c57d83ad2834343bd7143a184753dc6f683dcb44bf652c3bed7e96e94dbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SuggestionPopup (cyclomatic 23, cognitive 22): SuggestionPopup 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":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b7a0609ab7d8a06ddebfc4fea1a89ad1eb1d4594cd9ae2efe6ed84c772cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForgeSettingsScope (cyclomatic 23, cognitive 22): ForgeSettingsScope 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":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76d5d3dce44506b9d4e3b387b595b64bd7c4c32ef54480ee782b56371bb918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) 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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af86f0eea27d33256f455153e30e12f36499547a2348af8afd7d804be75640f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AntigravityConfigPanel (cyclomatic 23, cognitive 22): AntigravityConfigPanel 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":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"4754ba1c78c13908ac777334292809ce4709e04e745f250ce54bc2322982a5cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function denormalizeSnapshot (cyclomatic 23, cognitive 22): denormalizeSnapshot 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":"src/lib/snapshot-denormalize.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf71cb99943f2290a6f4ee2bfd84abfefe6ba92ffa6740cb3df3fae22f7cac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditRow (cyclomatic 23, cognitive 21): EditRow has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d53e6a00ece6df2f350295b76255f17ef91a672213d3ecdf68b50b0c37e30ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComputerPopover (cyclomatic 23, cognitive 20): ComputerPopover has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c6dced79b2f473be33f140ea4d584ee7c8fbc00d10ec63ecf6640ea0d513fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 20): (anonymous) has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ae00d4a6804ea5b513c47bd5c68fcbf4a75195550575d19da2f0aa77949c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationTagPickerPanel (cyclomatic 23, cognitive 19): ConversationTagPickerPanel has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-picker.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec071d8ca734ece5a3905c6edb3a8d5cd9f7c8b97176565c2cd1990d047e99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HistoricalMessageGroup (cyclomatic 23, cognitive 19): HistoricalMessageGroup has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9749d10a20bc6481ac9222ee5c256d71d333c62e60b009dae5328e997dd80d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAgentLikeToolName (cyclomatic 23, cognitive 13): isAgentLikeToolName has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/tool-kind-classifier.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7612a86e2e6adc4e67d0ed8599c44c4741056f05da542ed57b6c40eedc0756b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpenCodePermissionsSection (cyclomatic 23, cognitive 12): OpenCodePermissionsSection has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28738ca04378e34d9ba2b02835f9a548159d281d2f89ac7b9ad8df20a1c0410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitCodexVisualizeRefs (cyclomatic 22, cognitive 40): splitCodexVisualizeRefs has cyclomatic complexity 22 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da85a062bebe6b6f87f8cd9539b83ecef495c5ef9d7cc676144fbd04366c48e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectDelegationSources (cyclomatic 22, cognitive 32): collectDelegationSources has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b9b8dd687c1e32a2b5ab2e182427ca2dffafd394ae7ee489fa46a51ec34bf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 32): (anonymous) has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"5805f135e93a51364158eaea51ad2fe87356dea66830bf5e83ff06e4eb7994d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAbsPath (cyclomatic 22, cognitive 32): normalizeAbsPath has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-open-target.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d1d94b5c9ca3b669dc4076c6595a16e9843c7b2bad25075ab1a33e61af10c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function argv (cyclomatic 22, cognitive 31): argv has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"040e25424eb04e0316466c74e572d1f98939fb5008c94206f61e7fa491758569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function containerPrefixEnd (cyclomatic 22, cognitive 30): containerPrefixEnd has cyclomatic complexity 22 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a766e1a59a09748257a622b7276546ada7f46bca647e884f0ac480a0a148ffe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLiveToolInput (cyclomatic 22, cognitive 30): resolveLiveToolInput has cyclomatic complexity 22 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ed0c081dfdac611b0467fff6ea1370c85eeee71570161ccf925683cfe2bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAskQuestionInput (cyclomatic 22, cognitive 26): parseAskQuestionInput has cyclomatic complexity 22 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcf79ee02140350a6ea8c5c6df39239be203a82a452f0119ed18ef768de156a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9118a9bf65aeef3c8afdef9f746d1879330873bb0c9a7487930855ef9102ff0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer-status-strips.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"da75a23ab1efc9b6e8a76b1ef21074bb47c574f131619d4fb247c70dc2a53d07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FolderWorkspaceShell (cyclomatic 22, cognitive 21): FolderWorkspaceShell has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42df7c7d252d0d49807d601c79f12ec0103ae5979da1cefed945f03bd1d8e07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationDetail (cyclomatic 22, cognitive 21): AutomationDetail has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"62161d872d8d99a9f31c94973975ae45bc68870d728a60665892ef074f503001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractImportantConfigValues (cyclomatic 22, cognitive 21): extractImportantConfigValues has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13ca2e1bf8c7eb505a5afa7f39098c28ae13e3ce766912aa59286c9b21a6a3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskMergeDialog (cyclomatic 22, cognitive 21): TaskMergeDialog has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-merge-dialog.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d7012e80b4f4fda45bd1abf2bf77dba4cdd84ec7551fc97c3262cfc9bd5733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferFromFreeformName (cyclomatic 22, cognitive 21): inferFromFreeformName has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4e6056fb8171245cafd338140e4e7b783545b1e8d14e139d618e15806e6867"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchPicker (cyclomatic 22, cognitive 20): BranchPicker has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/branch-picker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"276b068b7a2caded340b5b13f4f73f5333d4ec826aa566436d98a1e0ee1732e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TasksPage (cyclomatic 22, cognitive 20): TasksPage has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"061c92e9d1b4557fc5b196149d410ab997dd76b8cb6270270d5633999eb356d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchDropdown (cyclomatic 22, cognitive 18): BranchDropdown has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9711391b9e4e77b1c6eddd6d615e86c1aa5920daf8a678f54ab2152fc3aec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptContentBlock (cyclomatic 22, cognitive 18): adaptContentBlock has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f0fa06947f2bfdc8ac590fe069810ce3544954ad42fc69e5107cd827a2f60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MatrixCell (cyclomatic 22, cognitive 17): MatrixCell has cyclomatic complexity 22 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"c720f7ed2e664ff1df1a2d5d688db4cd97a8b659241c9b9d72fa72dab83704bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLinkAction (cyclomatic 22, cognitive 16): resolveLinkAction has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/resolve-link-action.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"934e4bb69038e7044e7f30ee60770917a7d49a502df30eaae85ac816ffd65a4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileLayout (cyclomatic 21, cognitive 37): reconcileLayout has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da3ff069106f436709d0882031cfdd8043b1be529d7a50b291c53f3686adf5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 21, cognitive 36): current has cyclomatic complexity 21 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bb839bff8e64c77ce5a6256b9d21f20fec84ebfc0409387c485bc59b6faa08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeModeFindKey (cyclomatic 21, cognitive 34): codeModeFindKey has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"74563a39bd62cda51ac3e277efed50beae62d6e03fbae511ecd1021a70cff13c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 21, cognitive 32): play has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-motion.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a16ae7a469fce24a394dac7e73405ad2d7512f4086fe58417c3c33ec32de55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-selector.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fc65a6d5818436a0418cb52bd68308eceebc2fe3568fe1af9585215cea1501"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRate (cyclomatic 21, cognitive 24): resolveRate has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/model-api-rates.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d8c971a20df13eeb84a222355410b72712905646d51aab26d335521b2e3f85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9689f63a191a7de0127df4b4a179867e4d95d015765ea6038161b3f35c9468c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 19): (anonymous) has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9fb44c5e49e5ea379d3151702a24db445e62de1a66eb05882efbbcdaef51b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TabBar (cyclomatic 21, cognitive 18): TabBar has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b0742d2131de9e8c00bc54502fe70f199d8aa7bd92feed7d0efad79861609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignConversationTabFolders (cyclomatic 20, cognitive 41): alignConversationTabFolders has cyclomatic complexity 20 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe924b75beb684b4fa3794c6850e1b2ee10e0c872e787451c29dd1e5a60c07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 35): (anonymous) has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58b7130d410f94078950e0c2a8a481381252ce922ee8b2c80091a04b5a839ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWsEvent (cyclomatic 20, cognitive 30): handleWsEvent has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02b2714fde55e8679ff4b89b092de254b4c4c8d49d6061b578809ebefa4ee23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCommandFromUnknownValue (cyclomatic 20, cognitive 29): extractCommandFromUnknownValue has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba02156364b9a1cbcf8f6f4a34956617c1b37acd2417cb4121c8affb030e23f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectLiveRuns (cyclomatic 20, cognitive 28): collectLiveRuns has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/live-runs.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28aaac88db6c294ebb761945cb896509bf1cf41b1ccc7e3b807b73be4a65d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab6d1e53994199cc3cf3c6479ad8a6f22bd879a4edbb16a0d09bfc1c6284793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandGoalUpdateText (cyclomatic 20, cognitive 23): expandGoalUpdateText has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d84bf54cc8df3caa0d874a135dea038dc0932f3c27728c3b5473e4cbae60888"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteExecutionBlock (cyclomatic 20, cognitive 22): rewriteExecutionBlock 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":"src/lib/collab-collapse.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"703681ad9562d110bce996a5672206f433e756ed747a59ce6144d3064f9f26c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarConversationList (cyclomatic 20, cognitive 19): SidebarConversationList has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ddc30df11efad26dbf15723cec6f455c6aefcfcc42961ac7da9879b05d17b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForgeIssueRowItem (cyclomatic 20, cognitive 19): ForgeIssueRowItem has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c95827f31416aaa2ed2e022be11a47ea32060b280d1975a9bb85c581252d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTaskOutcomeEnvelope (cyclomatic 20, cognitive 19): parseTaskOutcomeEnvelope has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"82585b9d0c37d9d121a4e3ca9fefed8fe63255afa5430aadc1703d70b0b95537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEditChangeValue (cyclomatic 20, cognitive 19): parseEditChangeValue has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0717f25dc526cb7f153eb64752d7fb96e60d89c90ec778d22f734cdcb394fbcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodegMcpToolCall (cyclomatic 20, cognitive 19): parseCodegMcpToolCall has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7d5dc672f980ac9927e6c67e70220ccae779159ec0e722287a4b530096f0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuxPanel (cyclomatic 20, cognitive 18): AuxPanel has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce693416932dd8d090f9a8b62ac90533865b691061ed8e5dc387c3e86ae5fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DelegationSettingsSection (cyclomatic 20, cognitive 18): DelegationSettingsSection has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c53013dece2fce58b18c7e8ccd412120d88a158622ae046a31afaff70e08663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateKimiDraft (cyclomatic 20, cognitive 18): validateKimiDraft has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b563bf6d53ddcb74f9fff8cd631ae5e58fa94295642ede10896991c0fa9a4"}},{"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":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7989d4f1f9116b4d3e5dd9aad4e40dcabbed48ce972aac6287a56782b0ebc6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusBarMcp (cyclomatic 20, cognitive 17): StatusBarMcp has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90405a65e6e340f431addc9d5cf5798e92a3ddec75675722bcacc52f4826051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebServiceSettings (cyclomatic 20, cognitive 17): WebServiceSettings has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e672d1ac9634e8d2dd1a745f595bf16894d7955614a4046a88072307d7d7614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWindowAttention (cyclomatic 20, cognitive 17): requestWindowAttention has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/window-attention.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd7eba6b7502ea6bc6144d28b2577cc7063630c0d15a16ce7a831bf555522bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DetectionCard (cyclomatic 20, cognitive 16): DetectionCard has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34c3db8226dcb000718268524120d67aff7b3ade3ec87a5092d7aafb0d9babe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MergeWorkspace (cyclomatic 20, cognitive 15): MergeWorkspace has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d8c055ff2f671b0d3d9d8abf3c0e8edd40a04bc4146331642004a2cf978e4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFixButton (cyclomatic 20, cognitive 15): renderFixButton has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6319}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fbea2f71b2f4cf052e50f158581b138e6887b88fc3c92040c1d15795f364ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tomlLinesInsideMultilineString (cyclomatic 19, cognitive 52): tomlLinesInsideMultilineString has cyclomatic complexity 19 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fef7d0caa6dddd4f5b640a70f89447a55334a4164fc1cdd405e5d3f1884c38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeTab (cyclomatic 19, cognitive 41): closeTab has cyclomatic complexity 19 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3205b3252113b66d77117ead5e43dcf4146481e96adf9ce7803c058da766e3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanAgentOutput (cyclomatic 19, cognitive 33): cleanAgentOutput has cyclomatic complexity 19 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9deb57c9eb9abac0e102224f2b6f3fe14d8b6ea5142d9be71e6381bf98161c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCliExecutionEnvelope (cyclomatic 19, cognitive 31): parseCliExecutionEnvelope has cyclomatic complexity 19 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6365b9b72232adc89274e3f93078efad2963c2bbed40c21a3575539306a0276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitBilingualReleaseNotes (cyclomatic 19, cognitive 29): splitBilingualReleaseNotes has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/release-notes.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb03443c5e3555b52eed7e4889e93a7a0d3eda5c85fead30a4bb662dddf5bc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHostRulePattern (cyclomatic 19, cognitive 28): parseHostRulePattern has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/host-rules.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d6b5044d5f2bfda60a331a5310a6e003ac1620d331a61ca198a2005ee2cdfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseShortcut (cyclomatic 19, cognitive 25): parseShortcut has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"81644a85fb02c9c2fef76456bb77d6be181e8cdab020bfc877166826570489cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeDrafts (cyclomatic 19, cognitive 25): sanitizeDrafts has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1192c19dd05e905ab45aa4a0846f400587db9d07698fac0846fe9ddb6ab99904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 19, cognitive 23): renderRow has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e790b4db7ca8d627284d3e448adc45c4b940cc196743a8d1d138cce4c09918a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OfficePreview (cyclomatic 19, cognitive 22): OfficePreview has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/office-preview.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee580346c059bf6fb91607b6d51e4eece89a6f50456debb4226d1c40ea105c93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 19, cognitive 22): renderRow has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf35cc8859e766bb588da30c7a1afad1f448b04586f237194961bc9cdc014287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateKimiMcpOAuth (cyclomatic 19, cognitive 22): updateKimiMcpOAuth has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/kimi-mcp-oauth.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd7d70fba0d894962da9ccffcd6a8b2b8a04345b14aedf012f12cff9132dae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 19): (anonymous) has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"08189aaefe9d820629fb9855ffbd927a0549e4e528fe32dc34ed3fffe03f53b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HtmlCodePreview (cyclomatic 19, cognitive 18): HtmlCodePreview has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/html-code-preview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf7e2a3e8c1ccd66caef534ece741e31528f7fe62f9bfdf3b52dc7b96cb0d02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRow (cyclomatic 19, cognitive 18): ActivityRow has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1512cf089348aa6bce991696a2abf6e4b4cc66fa0b1662e5f79905a3141093fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackgroundTaskRowView (cyclomatic 19, cognitive 18): BackgroundTaskRowView has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/background-task-rows.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e5edb3842bf3949d2a88d32a9ec12869cf889c4be209aeca3fe6fdfbfe8ce8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGrokStructuredConfig (cyclomatic 19, cognitive 18): buildGrokStructuredConfig has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd283257f3ef6679716ca4f0aa95b65fbb1a452c1564f2b9362497833b30dd40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileViewerBody (cyclomatic 19, cognitive 17): FileViewerBody has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"592e88df09f2bf24d95c4033763ddd1ca5b302b4096a5f05f1f454cd00b79a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderGroupShell (cyclomatic 19, cognitive 16): renderGroupShell has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":3067}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a08ae1717d74776cc4d1dd072ca26ac9218027d0e83b5ecd8a55629c0aa025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiffFileSection (cyclomatic 19, cognitive 16): DiffFileSection has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"30502a1c2e29d16082e25d0f873cc956ec695c6c26d32b4593a1ae35429ef324"}},{"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":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d17c959140f1def0461cc4915971d2a323321024c8e4ffbf2ff738efa8a9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useRequiredOptionsGate (cyclomatic 19, cognitive 16): useRequiredOptionsGate has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab28ee0bef871b50f99326d996805da1e23be66cb9e4e0c11efee3a7d751f414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useCodexProviderList (cyclomatic 19, cognitive 15): useCodexProviderList has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f41ceb601d5331b85a25d62d63ae27ed4f434f75f655d26a75c75550f06d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandManageDialog (cyclomatic 19, cognitive 13): CommandManageDialog has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac78f0c5a7e0111661fb24ca1d4f8e01e3b55079ad9e3c6015f6146c655ddd93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDelegationMeta (cyclomatic 19, cognitive 13): parseDelegationMeta has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce989c5dd3cea074c784d23a88f257fcfd09c8f3aad0543b70648de342920f8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 12): (anonymous) has cyclomatic complexity 19 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"77416196529a9f9b8380bda293f5804494c5b03a8280d0e49ef9eab2790d78c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseParameterValues (cyclomatic 18, cognitive 33): parseParameterValues has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4991c3642f9f1a6b5d598a3d46742b394d2738ad6655ded993ff25c9dc5380d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDelegateTaskId (cyclomatic 18, cognitive 30): parseDelegateTaskId has cyclomatic complexity 18 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24648c08ec0ddd0589a169564788de440936e8829be1ac262e9e705b54f2ceb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destinationEnd (cyclomatic 18, cognitive 27): destinationEnd has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/reference-link.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8169efdb54c06eb29028b71a8a6edd479c411eebd2427d1d5b8ec9c6f6956a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractContentText (cyclomatic 18, cognitive 25): extractContentText 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":"src/lib/permission-request.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7d8c11603e49c7def5bb1b3b0cdc7860cc81f6f38f2ea30d3ae92c560cd07e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 24): (anonymous) has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"07253bf07cb98d91b059c96139dbfaa4481b0c0092eb7b067a14940d06df40cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTaskAck (cyclomatic 18, cognitive 24): readTaskAck has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1285b5cfcb85e84e9b7dae0520036541a1ac0296b78b181047d1c3d220196ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectIn (cyclomatic 18, cognitive 22): selectIn has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b3bd01001c99372a9f5836afb974970c182eaa084c391a86dae54b79585b9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 21): (anonymous) has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51c312f4161599ba60c82b7010cd5580470abe64b980bedd99480fb14f47f64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchCodexConfigTomlText (cyclomatic 18, cognitive 20): patchCodexConfigTomlText has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5cddbb2352a39e55012676f0d87bbab69d0a3955b8ecffc65d00d5bb37f97e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decidingCommand (cyclomatic 18, cognitive 20): decidingCommand has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4bed4f64140eb3fd2fca611e9749c927783a13a315c65508046c2f2a176665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexModelConfig (cyclomatic 18, cognitive 19): parseCodexModelConfig 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":"src/lib/types.ts"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"1965bdd18863730b524b399ee7252b0dd9268fd0383c93b4b298092aebdb88b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyChange (cyclomatic 18, cognitive 18): applyChange has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/canvas-store.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"400669a2aaf296849090588092b6403c61e08495df36d36d59ae68b44419b7d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserSettings (cyclomatic 18, cognitive 17): BrowserSettings has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca9e7fb96347b8bdf2e1e55986e9d1549d2eccdd6c4d481abd7e8681e66434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexCustomRow (cyclomatic 18, cognitive 17): CodexCustomRow has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"791705f4cf31f83c85822b52de2ea79a93bb34c5ad362ade88e04c1faa569a1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteConnectionGate (cyclomatic 18, cognitive 17): RemoteConnectionGate has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/remote-connection-context.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f5118e2bac884881673a473b4f2517ffd04477d640072cfdebaf517c90b315"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStatusReport (cyclomatic 18, cognitive 17): parseStatusReport has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"849bf6072b3398dc358ff0d10c5ea1a21db1b5c1c12966683c89a5d2070b22d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTabWrapper (cyclomatic 18, cognitive 16): renderTabWrapper 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":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce3919eb1b6bf1de990219d253aa0896a4f826d88a9f0ad35f9261793542607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InlineHtmlPreview (cyclomatic 18, cognitive 16): InlineHtmlPreview 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":"src/components/files/html-preview.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"adffc09746989ac141dda6fe6b8578ac307cd705934953cebbbab29574ea886c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityMembers (cyclomatic 18, cognitive 16): ActivityMembers 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":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad835c80a364d1eae05d6ef77a6a78470d5ebb2001da117d5f446e80def9ff79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandGroupRow (cyclomatic 18, cognitive 16): CommandGroupRow 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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a468652692746a5c73a75bfe361beb6823253b019c202375c611cb45a743412f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditChatChannelDialog (cyclomatic 18, cognitive 16): EditChatChannelDialog 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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb731af76df690495c362e55a63b1125a7e9a93c5b659d04c3426cc363a0000e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PermissionRow (cyclomatic 18, cognitive 16): PermissionRow 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":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d45569237f610a7f88bcb1cc0e813cbf39a0b5d104efa51d64cf2d5e4088f96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketCard (cyclomatic 18, cognitive 16): MarketCard 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":"src/components/settings/workspace-background-market-dialog.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28769fa02c9ef8d217259ed2a8edb7203785838b44d1068edb6b5a911a963ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useConnectionLifecycle (cyclomatic 18, cognitive 16): useConnectionLifecycle 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":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"670e520e2313781846226be19868ec9c4eb053209ee9a091318beda0eaccf798"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeMonitor (cyclomatic 18, cognitive 16): describeMonitor 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":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"406219da10ccfecf747bc75a7337b781bb7454aa7273daf33e68d383e93bc458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CronBuilderBody (cyclomatic 18, cognitive 15): CronBuilderBody has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/cron-builder-dialog.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3b70c916d89570b9cfd36463adcb98a4f9a4cf0e619ec742b569383288e787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExploreChildRow (cyclomatic 18, cognitive 15): ExploreChildRow has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/explore-rows.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2659d68b9e06f6456c517a244c252bccfba2a99b459b44095b31487b4d16b69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateUnifiedDiff (cyclomatic 18, cognitive 15): generateUnifiedDiff has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/unified-diff-generator.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"964f32aba2644ec0c9de2f7a1b34965f2412e91b5ef15d12eb766acb26c42238"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 13): (anonymous) has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/chart.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9152d86ff59e64f19222d7509603befbe9b22e0d5516bf7e21c51fb0a52f261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupGoalRuns (cyclomatic 17, cognitive 35): groupGoalRuns has cyclomatic complexity 17 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7c1192e422c78a11f0f9813c2a98e163f9cb81c9ab32ab66bc361d45550c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countUnifiedDiffLineChanges (cyclomatic 17, cognitive 34): countUnifiedDiffLineChanges has cyclomatic complexity 17 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/line-change-stats.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b47ca0d9a5c6ba08b1585eb1b0aae67b7373f8cb03a1277b0273625f5d51fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collapseLiveCollabBlocks (cyclomatic 17, cognitive 30): collapseLiveCollabBlocks has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/collab-collapse.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b1d8a5ac9d5c62a98418694f430f991d2bec259f2558d2975cf49069b76931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSrcset (cyclomatic 17, cognitive 29): parseSrcset has cyclomatic complexity 17 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"155ea0fc5ad959d807fc22b879a6352a9776be24acc99634ed7fcf0e78d2a924"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandInlineToolText (cyclomatic 17, cognitive 28): expandInlineToolText has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b184f754ac2ce47655e77a55c9c6c6e77623a8613a52de8ae253443cd05bdc61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 27): (anonymous) has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":4344}}}],"partialFingerprints":{"codehealthFindingId/v1":"af40f0cf0333e8b847263ce8533f27d4ec278f28eb3f4e0855fe9d9c4ac8b089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollableFrom (cyclomatic 17, cognitive 25): scrollableFrom has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c3fe8115ad999f6d662bc02bc1b030aa34035f0724dbd95b059fe6afe1c68b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destinationRange (cyclomatic 17, cognitive 24): destinationRange has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b5501c301e1716af97d346055f3d1e863cf183ba52191be4adc2e8059e5139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeDropHint (cyclomatic 17, cognitive 24): computeDropHint has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd71ce85b8cdb13b0d52a181f29eb00b70bd643198163090dcc3476ebacd29b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blocksToRestoredDraft (cyclomatic 17, cognitive 24): blocksToRestoredDraft has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/from-prompt-blocks.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bd472c36b2e9f2a82d02fb38fd1628e35caba41933d42a267f37cd42e4bd4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSessionFailures (cyclomatic 17, cognitive 24): mergeSessionFailures has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-failures.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"45622812f7db5971e14cf4d2bf7c5ef02f6ca0ae672350d273bc19e902742374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 24): (anonymous) has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd02521c00d60298ea48d57532dcb6e866d84eef1baff2ff6b7b14e10fa7f7a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mcpResultPayload (cyclomatic 17, cognitive 23): mcpResultPayload has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/mcp.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb73c5f09fe5ad5fa96a27526dc574d9a5e5653ab32bbd3a4b277d1ea636ab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeInlineDollarMath (cyclomatic 17, cognitive 22): normalizeInlineDollarMath has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/inline-dollar-math.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3034839882da7019637d44bfea939ccc68986ee278f1debd5626f65382101524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bd264981f1cdaa58bc3614df1eb80197b7c88151ffe3f153753566d7dbef05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 17, cognitive 22): poll has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":8523}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b73795caa9f8cd8c5afe336c0f73b5c4beaed429c317cea9d16cd072e99c85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/required-agent-options.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c79a833365d8631fce032135aa18c9588e3c59b4283ad73db3ac729f016f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushFolderEntry (cyclomatic 17, cognitive 20): pushFolderEntry has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4198a6914f3ac729f68e25aed501dbaef9968f8ce7c5d83a6a1b3b503cbb10df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageNavRow (cyclomatic 17, cognitive 20): MessageNavRow has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"1290a7e7e41b320134ac60f7ba737d351f36c0b2ea96d1323aa82541e8013e6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameBuiltValue (cyclomatic 17, cognitive 20): sameBuiltValue has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d57a7808219c2650ee10ce9d754724892b6acaf67f9c8e0cbe450ab2bbab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergePermissionToolCallWithLiveInfo (cyclomatic 17, cognitive 19): mergePermissionToolCallWithLiveInfo has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d221715421f8514970859fdaa287ca9614df1b6e8bc9426a6c6d789c08e3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-url-target.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebd6001aa0d0e3c501c009f1167d415bdddc24bd6d3fe7d73e6acbdf9e0e84f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7502b82aff6ece3456048e348dd3d66ca7ce36c078ae64a909ac16d4997c110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27bc8ed900e060cc0d86e3821fe2269e4f354ae756c73ab4ab5e81d60dbff34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDefaultAgentGrant (cyclomatic 17, cognitive 18): applyDefaultAgentGrant has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-agent-grant.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69339150352eab4b4587766ed292be64c3a549eeaf79601244b694c7876e838"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) 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":"src/components/settings/edit-model-provider-dialog.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"31555e94abd3c4e5b5d999123796658456ed0f4943650161394cd4e2f3565ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitDeviceFrame (cyclomatic 17, cognitive 17): fitDeviceFrame 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":"src/lib/browser/browser-device.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37732592e2213e0a87b1b8a6b74b7a9abc22859b5d5d608029550a31360b741"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function owns (cyclomatic 17, cognitive 16): owns has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad54f800f7fe7a00b2929ca6157d203e3b175909ac443d8e917831d16161cfdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserToolbar (cyclomatic 17, cognitive 16): BrowserToolbar has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27bfc40e976b714ae0334d68baf6c8a2acb34b8797d54fcf9c4f300266613d8"}},{"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":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"71be5f6c77a4a16ac8e100368184055aa8bad4f7f00c500bf9460ff582f93ddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpencodePluginsModal (cyclomatic 17, cognitive 16): OpencodePluginsModal has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-plugins-modal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4895f5a1c22905f12d8c82281c68ae955925c21fdc65a24ebe01902cd520c927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillAgentMatrix (cyclomatic 17, cognitive 16): SkillAgentMatrix has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac211b3f2bac9f2d219fc4deb6714edb5f6c386d6a85538a4e0ba07314a67c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDraft (cyclomatic 17, cognitive 16): parseDraft has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/canvas-view-storage.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2774df82161f0c8e238039aa067b3c4abe6a9d61bbd57c04eefa58ffda9c07e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationsPage (cyclomatic 17, cognitive 15): AutomationsPage has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d1e771a238a36a5855022fde1f7d907d5c5a2c895750f82384e437f14411c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NativeBrowserTabView (cyclomatic 17, cognitive 15): NativeBrowserTabView has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca9639a289a13a797cd93d5a1d9c4c40717bd87bd7ae855b00c57cc435cd24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGoal (cyclomatic 17, cognitive 15): parseGoal has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0221e2b782268c2d11c188de9489b63076efb353aec6bc97909e3c3e1e98b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantsPanel (cyclomatic 17, cognitive 15): AssistantsPanel has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50f3784baf60012812d1f1aaa944b8d84491abe67fce7bcb431e0e4cfe4305f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitOverlay (cyclomatic 17, cognitive 14): fitOverlay has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"349ef02d971a28ad6bd87fa817588b4d62e2272c6022f5d6392dcf885b3cbe3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileNode (cyclomatic 17, cognitive 14): FileNode has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/file-node.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c49a8d717a83c2151d1d8b391f1d60ea5c764b4d8b9ea40a2608c3ab6e57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceUploadDialog (cyclomatic 17, cognitive 14): WorkspaceUploadDialog has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea755de4656c42f80eaedf8cde6a4742c7e42de06a0b59bc9c3e0ef7f4a695b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationDetailPanel (cyclomatic 17, cognitive 13): ConversationDetailPanel has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"040086ccf623e9ea95cdbb64104b515b9447ef2dee3402ef74741559586a8c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 10): (anonymous) has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/explore-rows.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb2ea44bfce07b07498cb4a290e2af03ddd6efa9f59d33f7bf5d01dcd7ab2b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRows (cyclomatic 16, cognitive 31): classifyRows has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aa02181dbb2a7c79ac40b94a58a3ba11419637295b294345495c33eb6f5a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 16, cognitive 31): flush has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e992e56833bfd103e25b26e51f62489a5f2127919bffe78ca28c6e80828c291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadIgnoredPaths (cyclomatic 16, cognitive 30): loadIgnoredPaths has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8803750a761be0db887212fab759b183f19a5f6d1cbbbde9611751d2aa6b74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineHtmlResources (cyclomatic 16, cognitive 29): inlineHtmlResources has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a7665b19d5fec318115bc654204714fbbb5a7f03ebab48fa7a728aa0795a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureOverlay (cyclomatic 16, cognitive 22): ensureOverlay has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fbb8a46954009d5997349238b4ea7b3488ce9c9b2b2956348e82d379e04dc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"889397cccb7588cdbbeb5b8fc464da7128ef4b7be8f3483c7bfba4c72be17903"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyLayoutMove (cyclomatic 16, cognitive 22): applyLayoutMove has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4bf8077a37966222fef575b0ba0c75a076ba3935a9e1daf70562db77eacc49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStreamingAction (cyclomatic 16, cognitive 22): applyStreamingAction has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a9065e894016bc6b0930ec4fd9a2128be39ac47c0d5f8acd317c239a36cbb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSteeredPersistedCopyIds (cyclomatic 16, cognitive 22): collectSteeredPersistedCopyIds has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb59f66bb288d8bfc68cdd3874ce01cb132d650b159cfeb8ac8469ccdd81e363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeModeCalls (cyclomatic 16, cognitive 20): codeModeCalls has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/code-mode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"73577e71848ad35c82fd19c97e6733e7f1f438783fae3b1378bd6b73e065556a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pressOn (cyclomatic 16, cognitive 17): pressOn has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17ce3c840f437a55308955f73bc70319cbd1adac204f2cd1115f280f2b427e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskQuestionResultCard (cyclomatic 16, cognitive 17): AskQuestionResultCard has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d0a84c0f178b7e29f28d00e537ca3354f0cfbfda02e2f4a1664da20347f79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b769b8b7454f7a9038277c36447d1deb3507b8e72cae6b06fba9d950ededd51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3cba11b8fd9b7424101e77a7b33294cde98c1440c2dee564c360d9dcce3b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"27207a3d3a5927c66e01e78888ae928fd24c9ced12a78dfe5a40d629f491720f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codegConsoleShim (cyclomatic 16, cognitive 15): codegConsoleShim has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64f5d48d4b05fe9c01fe46bb51025079247929935329befe41e64de4d0fe3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderOptions (cyclomatic 16, cognitive 15): renderOptions has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f869c00ece8eb84f8445b7874841add2bec985f06d90f6ede410f0dd850016b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function referenceToMarkdown (cyclomatic 16, cognitive 15): referenceToMarkdown has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/reference-text.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d30ecef50a5130ef34cbb514bb82beee6d4315219d144adf1bc363935a70c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileDocumentView (cyclomatic 16, cognitive 15): FileDocumentView has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-document-view.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"282f2d823f98d9bcb879ec481c0972ab3f16976bd39998366d2d11b5e9c2769d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Sidebar (cyclomatic 16, cognitive 15): Sidebar has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bd375eec04147b30769ef3f212242955703d5819761deba254443c0ffe9c3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpRow (cyclomatic 16, cognitive 15): McpRow has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/mcp-row.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2f9d5162835463b012c56121cf92913d3783b0ca8b86dadc0037d7a6ea51e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFixAction (cyclomatic 16, cognitive 15): handleFixAction has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":6167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e124106749938af5c2436ee6127921d4de05872713cc94994810b1528b29c08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LogsSettings (cyclomatic 16, cognitive 15): LogsSettings has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2da5e96a41e64ac48efd492c4d340bab8e34ba14eabcbf86108b2ebd98a46cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c37246c1804c4f442fd808e1d5dd0c9221ef2b268147dce73d816b2740069f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyDesktop (cyclomatic 16, cognitive 15): notifyDesktop has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/desktop-notification.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061e795711fa62afd66125d2e3b1a8c1073a9652a0d1960e17a7322828ee00e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AsyncTaskRow (cyclomatic 16, cognitive 14): AsyncTaskRow has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/async-task-row.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"03941a7e62dc48ca07cb7c4ca23260b06e87e024facca660b1d848eaab0a49c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForgeAutoActivity (cyclomatic 16, cognitive 14): ForgeAutoActivity has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22db88933469e803264e2701fc8be9b083a34faec457ffcc4394e807fb6b9e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteWorkspaceManageDialog (cyclomatic 16, cognitive 14): RemoteWorkspaceManageDialog has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ed5db30238e79a5d271b2fd9a3ec52c29772968a6d2e5249e35eb9cfef6aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequiredOptionRow (cyclomatic 16, cognitive 14): RequiredOptionRow has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c34cd55b974545ea2eb31fdad6865a32511f47a8dd0c19878c2419f339852d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LeakedTempSection (cyclomatic 16, cognitive 14): LeakedTempSection has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b81901955feddaa0305c19c28009500ee288aa0a1947ecf3b64076e23b375e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneralSettings (cyclomatic 16, cognitive 14): GeneralSettings has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0835176caf4727c80a2eb23673ff7870c85370a92d0d29f9a4dbd1430fae6e7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelPickerDialog (cyclomatic 16, cognitive 14): ModelPickerDialog has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ae0960d1465d95ab5ca56a0be0fc6c63048ffa1e554c91db88fd395600c4b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 16, cognitive 14): submit has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55b11f17eae1d97dfa9fbaa31eba316915215a754e41f1c5c333441446dc716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitAnswer (cyclomatic 16, cognitive 14): gitAnswer has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"263f6447b5dabb4f00553331f896b95e25368ed38f07c0799c5be63db23f46fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCommandExit (cyclomatic 16, cognitive 14): readCommandExit has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc48c4a06dc223456da5f75938501a5bc85a4ff79e632c90e5d989cdf5c1bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLastCheck (cyclomatic 16, cognitive 14): readLastCheck has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/update-check-storage.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a86786949d71be2afa50aa3a10691227e18a5cba4acbfabcdc1271ebf61588"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameDelegationSource (cyclomatic 16, cognitive 14): sameDelegationSource has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/transcript-insights-store.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c2ad7c550e60a3a9b5434cf9cc4fa88293467d0fe4e5876a60ec063bcf24ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentPlanOverlay (cyclomatic 16, cognitive 13): AgentPlanOverlay has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-plan-overlay.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ea44f85d034a8b64a2f069631d0d6a0c763a73c954238f624b5d1aecc1b03d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8689543553bde4dd56c744d7b93c01c85b3b158cc69ea5e8dff2d16c895ab329"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImagePreview (cyclomatic 16, cognitive 11): ImagePreview has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/image-preview.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc1e54533a1925257c80349eff86e867b9741146d359ea5f85ab41de3e837a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAppUpdateError (cyclomatic 16, cognitive 9): normalizeAppUpdateError has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/updater.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa2b7b9b9dac638b0932ca1f4c2365f2a0b954c873b962a4680b1d8eeb0061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 31): (anonymous) has cyclomatic complexity 15 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"617fb62632ffbf554c90583a35e83e2b334bde7ee6a2676d46378fe3217b479f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitUserTextAndResources (cyclomatic 15, cognitive 31): splitUserTextAndResources has cyclomatic complexity 15 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4a8aaa2febf4cdc6cac58b480c0d55f4f3d946360a4f32fa21c638f7caed22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUnifiedDiffSections (cyclomatic 15, cognitive 28): parseUnifiedDiffSections has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"869000d3f73d1338644c9a00c515d1cb373a520567cbefdf569c45b39e91ea1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateItemHeight (cyclomatic 15, cognitive 25): estimateItemHeight has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa0f95139d8162c383adc7efbb7bfee311cfb31823fb7f8392b7e26cbf159e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyRules (cyclomatic 15, cognitive 25): legacyRules has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-permissions.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ce1ab3b62fca846ee56ef56e65243e4782be26d0efe477d38855f12ab5b161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flushPending (cyclomatic 15, cognitive 24): flushPending has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c15c9fb8cc0958abf41dd8ae8ef73ed63a0fd9e910b7cf5d8a8af4219d1d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSearchOutput (cyclomatic 15, cognitive 21): parseSearchOutput has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/search-output.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b596ef839b96aae703b649ebc364999a7f08388e8c37135ef6adff9a7ccf7447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchEnvText (cyclomatic 15, cognitive 20): patchEnvText has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb872458b40097b6dc8cb825e1eb93ca0a3b0c6a7f907a0bb899077f5e2c93ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseManualSpec (cyclomatic 15, cognitive 20): parseManualSpec has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674c0ad56dbd105654fa74035f92b1959e3a25e722f10ec405bb6e279a9e9a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findHtmlFileMentions (cyclomatic 15, cognitive 20): findHtmlFileMentions has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codex-visualize.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd40bcfb5e56421f399afd48f649bcaa28833daf0825c079fb156f00ca4c3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notify (cyclomatic 15, cognitive 20): notify has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notify.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"467f791d754e2ea78b3d356036d329d914d92c3f3bb465748960e10d4efe7079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushFolders (cyclomatic 15, cognitive 19): pushFolders has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9608ec86469f97d60ce7902a0422e58afda3ef14483d2dc22be25e6cc0ee6422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractRawInputFileChanges (cyclomatic 15, cognitive 19): extractRawInputFileChanges has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d013cf395531ebfb2c45ac5a208728115fd50e8212981a423f80412b68ee31a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistGroupState (cyclomatic 15, cognitive 19): persistGroupState has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee455b93b80bcaefe48e0183b9f7d980e025b076208155a67b4558759ec29909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isParkedOutsideTheDocument (cyclomatic 15, cognitive 18): isParkedOutsideTheDocument has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ca948e44a2d70d5223a318262d888d407cc37146b40a9dcbaa82921df39030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function anchorFrom (cyclomatic 15, cognitive 18): anchorFrom has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa74bc2d8d5b6eda63dbaa8e8082bbfe883696bd54afdbe8bb8f7fc3c01ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExploreDetail (cyclomatic 15, cognitive 18): ExploreDetail has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/explore-rows.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e77be86865820ed8d2a631bd1d14274444107883b518fa29f6d57de435791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/subagent-session-dialog.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69118453b4e829fb32ab510625793bf8862f004af7dffeb06cbbfafe581f472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d62e2a90ea3b253b1a86fc74e773b0b56ce2f92fa5b72e12e45272add067c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCommandFromUnknownInput (cyclomatic 15, cognitive 18): extractCommandFromUnknownInput has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"190c8c911228e0661b582e61335ad5a496bab16bdf46961b42ceab6686ac6536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46452b16d150be39cfe7bbc8ae73fae66786d58fc402e15edfb63948f1eec12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findDelegationArgs (cyclomatic 15, cognitive 17): findDelegationArgs has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957e8c75ebe781f9b60e5dd7e2a3e1facf9ba3cd8269b75a38ff3209316dfc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateNetworkHost (cyclomatic 15, cognitive 16): isPrivateNetworkHost has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-url.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0b89db6a56b30e865adae587d131e002ae3d6ae8418abfae7e2494dc3dbc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configOptionSetting (cyclomatic 15, cognitive 16): configOptionSetting has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-settings.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"468e32ad05ac527451d8b14b20021848fb89a7460897f5317bece059fe24a536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MergePageInner (cyclomatic 15, cognitive 14): MergePageInner has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/merge/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e66b72c927ca756c36569435c1927bf39185aebd1c66c2f10b58946c6071c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-selector.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c06eaba8ef432dec93cc0713aed312058adf3a3f99cd95f7cf352855cbbbb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MoveConversationDialog (cyclomatic 15, cognitive 14): MoveConversationDialog has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c18c9c511bb888d016e118221422092b8378c2699c300e7f77d9a45f0cef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c283a3f7ad0234eef39163edccb077296d59f9f674e18dafc67ef46b8a32c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneratedImagesBlock (cyclomatic 15, cognitive 14): GeneratedImagesBlock has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/generated-images-block.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"746be91d12f801415f96e10e7306fd7effa5c15348be98c1183028cc2576d1c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HeadlessSignIn (cyclomatic 15, cognitive 14): HeadlessSignIn has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac857e9b5aa311974f024b43e98124936ffcc47bdeb55a2a3a94577a2fc9149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomCssDialog (cyclomatic 15, cognitive 14): CustomCssDialog has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-css-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b5e2f2f885415f424bc6eae4b48e005434818bb3a351f8e6116e54dc51fca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionControlSettings (cyclomatic 15, cognitive 14): VersionControlSettings has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7360220bb217493124e4a37132b7dc3c96c93fb799281bdc30815772130c949d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStopEnvelope (cyclomatic 15, cognitive 14): parseStopEnvelope has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce92b088ce6aeec04075bc364ae17a0630aa2b88f65f92bff0ac4b57b0d57b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"84baa90b05019cc2cff884a4e184cbe87cf8904e5c9d495028a28ad85a5f7902"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChangedFiles (cyclomatic 15, cognitive 13): ChangedFiles has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9351a933bf2e108e56e17513b3ddcc12e3b18c40972bbb9af5f2ed79dbf0773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6007c6bc401274f262869bea3d82062f69b44e513178516321df8645d7ea34c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":10398}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf1c883f1cc1977ae555154b2f554fd0026517fd8552f90c31fd84960993308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomStyleSection (cyclomatic 15, cognitive 13): CustomStyleSection has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1e37f58dea648c0d6e553ca24c6ff108dd0e5db3d6d5c40055d6385f986115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCustomEntry (cyclomatic 15, cognitive 13): parseCustomEntry has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5825}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1293de7e5438a75758bd525b590b3b771eac4642c6bc1061d344d9ec155f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationManageDialog (cyclomatic 15, cognitive 12): ConversationManageDialog has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5634152bf06d394944bb7c6a4d72ea939bdc1779a75de08af1228297ea3d027d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HyperframesLauncher (cyclomatic 15, cognitive 12): HyperframesLauncher has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b747a75a706338b81ce836c59fd7ac83ea68215363b78577fbc7122964b65b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOutcomeJson (cyclomatic 15, cognitive 12): parseOutcomeJson has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cba9aeeda111aac649a1cf738af07c1f1ed34d0a68164537b174430304fda3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveBadge (cyclomatic 15, cognitive 12): deriveBadge has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe432e8676f15b6a6972c01b89c227c7a922253cfc433d8915e508fdea4831"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapLocaleTagToAppLocale (cyclomatic 15, cognitive 12): mapLocaleTagToAppLocale has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/i18n.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f578ad9f1accd890160556f338f931b2568940ea54b9b945408415903a3fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeNotificationSession (cyclomatic 15, cognitive 12): describeNotificationSession has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notification-session.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b6ff52bc3b9d38df99eba874682735974dc401fcac4f14e731b6b33d2ab0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusFigure (cyclomatic 15, cognitive 11): StatusFigure has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/step-visuals.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4106befdae214886380eacb5b1283a5b187b123e26b1593b439c38d2b48148"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatInput (cyclomatic 15, cognitive 10): ChatInput has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/chat-input.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f52e3d81cc1f159607f2d060ac93b8acfccadba0d338bd52f3787748e7cf5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionFailureNotice (cyclomatic 15, cognitive 10): sessionFailureNotice has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-failures.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57f3ad43b6f8d8e656c37835fdc706d19c5cfb668904f8326bc410943ac2f6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 15, cognitive 9): handleKeyDown has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5e22cd69cd15d6032570648cda359640e1c613a47c68e3ebba47313e432170"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionFileDiff (cyclomatic 14, cognitive 28): buildSessionFileDiff has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee17ae5c72e9927d3ce9264b9620b259f42fb66488295c94612ff9238dd732c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 26): (anonymous) has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f486d03f349cfda9af681e266b1aca257f6605e266e95863203d8d7b1e7e0a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 14, cognitive 25): visit has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8ef2651f3c624e7c8a138ac0428337dbfbb1134d982b5ad769770bbcf8e362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleChildConversationChange (cyclomatic 14, cognitive 25): handleChildConversationChange has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d2e5f407d89e859162786cbb537ca301d8d5bb43d792869246d05664dc424c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMessageDelegationSources (cyclomatic 14, cognitive 23): extractMessageDelegationSources has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9606d62e213fa4323ec3fbe7879ef76659e91e27737a3174c8c3afb801038777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotLabels (cyclomatic 14, cognitive 22): snapshotLabels has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9d8b4be458d0ddcd003a35e5404a8d3364a7a5fb65434247b865501a358957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function comparePrerelease (cyclomatic 14, cognitive 22): comparePrerelease has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e271b510866a2aed38919cb90f12984eed9a9bc9c9431641adab5e6e6b56b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":7032}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c070566b6d07ad9bb72d0feb2c989bb00142c375182b07e1f1b50c6a258e983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRegionMembers (cyclomatic 14, cognitive 21): computeRegionMembers has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1849c972c7b022db69d88f22ec1ca41de4fd54d3973013a000c390723bea2dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88f6c7f7dc39734eac54b119bdae40c4139698c8565b51f9f6acf91dae73971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6750751732d23357a4b3baf0061b3be02a91898dfedda24b32f0e4a01fbcef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectRecentConversationsWithReuse (cyclomatic 14, cognitive 19): selectRecentConversationsWithReuse has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65428839fa0afed91fa726f6a7529fdd79c1d29a01bac3c075fb8b9c3349f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/remark-gitlab-images.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1cf59b0fffb192c2f25f4b98475fbc6e207c90a50c2139a0881c7c2e06ab6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandProposedPlanText (cyclomatic 14, cognitive 19): expandProposedPlanText has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc60f34d89355eb49eb940cd2ff8c68836e11c5bf5edc236f4feade5861676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileChildSummaries (cyclomatic 14, cognitive 19): reconcileChildSummaries has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"de228c2b163e5c0de79aff212e58845cbe864ee377422c8eeb4b6dd96cff65e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-switch-to-branch.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ae9128a697f905f42e526b7a4fba14a9ff75d74899fb539a133092c995042d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownLink (cyclomatic 14, cognitive 17): MarkdownLink has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/markdown-link.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab5923f8f44305e10d5c8ad6b7d103a8cc58228ffa11e40cdaed92f4fdacdbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexSandboxConfig (cyclomatic 14, cognitive 17): buildCodexSandboxConfig has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c698b8eed2afb2fffb060c8f5f716fb42a275345d1b8a4edea0f7d60d39f20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"177372050630ba6f6883d66e884b2609891ff69ed06db128a1dc6dac54ddfc4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyDescription (cyclomatic 14, cognitive 16): keyDescription has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdbe1a0a0ae77ad493bd9f5f4088b3a05b4c71965c4d681658c7c2ef25ba008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function noticeText (cyclomatic 14, cognitive 16): noticeText has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582bfd2c763e80dba0f6ccfdd36445e8b0c7b638dde33d2569fae5ca25d0d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0c6f8f9c9bb6310cd7764269fc1cde7651596d7fc38ffa4791f2da0bcc0159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexProviderListSummary (cyclomatic 14, cognitive 16): CodexProviderListSummary has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eb14201ad63cc04341c6c97e7bbb6b295f3ed1c3dd2126a5882a1605cf230b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLocalFileTarget (cyclomatic 14, cognitive 16): parseLocalFileTarget has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/link-classify.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9535acf3e485b460a8dab68cfe31bbba5c562554c74b04464e0a3c70b3508ce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function localImagePath (cyclomatic 14, cognitive 16): localImagePath has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/markdown-local-image.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c664390ea51c80011473e88d45b61d3b750780a2093bb6f0190ea31de68481ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchTags (cyclomatic 14, cognitive 16): fetchTags has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-tags-store.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2935c8c1e3340f94111864613a3cf7e1326a7e5a8e745ece4c4778c9b933d7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codeg-mcp-tool-card.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b047bf966859b00a759a30a641a30801ae7cc6cdc7354aeb55a5d6f7b661ea48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tooExpensiveToParse (cyclomatic 14, cognitive 15): tooExpensiveToParse has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/composer-copy-text.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd48e0d143c96acf2681373a38aaa8ad2453ecbc93fd536a9e007a4948c4669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLocalImage (cyclomatic 14, cognitive 15): resolveLocalImage has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/markdown-local-image.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aa4877f5fe4bfe8412edcac532f928c2f44b685754795d6eabe2b308f25035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"879ff8a8517de9532241bd354006d1e3598595e172b3ac6ae4d8eaeaa95ef58c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeGitGutterLineMarkers (cyclomatic 14, cognitive 14): computeGitGutterLineMarkers has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"994bf91daec42078f530aa4dcaf5017ad3b42589697fd5cea0248c1c2b1cf4b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommitPageInner (cyclomatic 14, cognitive 13): CommitPageInner has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/commit/page.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9ed63d90c23af45880020bd01ba30b9527d367aa8a9a8b3b1443f204a3d75b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PushPageInner (cyclomatic 14, cognitive 13): PushPageInner has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/push/page.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5197fe47f306e9a272643a498c3305011be8f0cead1440c0d40583be222e2ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileTreeFolder (cyclomatic 14, cognitive 13): FileTreeFolder has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/file-tree.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"795483e92966c46bd642ac3778bda6c5bd73dce4e9c4cc8797865444b7f4f312"}},{"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":"src/components/chat/message-input.tsx"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"297dc46515a0982ae4a5322ebfa465b6c2b1919d85b4c4269fcaad1f8aa35c4d"}},{"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":"src/components/settings/computer-settings.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"802246d951511f6dc0a7737cf18c76716707ed923643d647c6ca1abdcf1717cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesktopNotificationSettingsSection (cyclomatic 14, cognitive 13): DesktopNotificationSettingsSection has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/desktop-notification-settings.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc6e22260b0f0f72d17eba34cbb84588a222af318aff47635b4593a7b4e488"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kimiDraftFromConfig (cyclomatic 14, cognitive 13): kimiDraftFromConfig has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50932c08d3bbc2c9e2f0597635597c4a504e0115f6c804f70edb736bf9eb3b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuickMessagesSettings (cyclomatic 14, cognitive 13): QuickMessagesSettings has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ac48efc6331883c38d932e25ed4a34d92d227d0fa961fdb91b8261dd2fe528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskSettingsBody (cyclomatic 14, cognitive 13): TaskSettingsBody has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5940dc1a6a07129f7cc57069b289ce2a040ed86added6f31683071f0fb54caa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpUpdateKimiCodeConfig (cyclomatic 14, cognitive 13): acpUpdateKimiCodeConfig has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"830603ee98370e6d74dcb75ac686f89755c143e3f05e4a685c4968736013cc24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordFromDelta (cyclomatic 14, cognitive 13): recordFromDelta has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-tasks.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe747d26a184466e0c22376a9085af83d1a2f3d8b73b53f1112ebc7b96432bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDelta (cyclomatic 14, cognitive 13): applyDelta has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/async-tasks.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f85903f5133d336fb08ab5d92c6e8a6be3f6f8164fc256fc5d9967dcc1c8ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playEventSound (cyclomatic 14, cognitive 13): playEventSound has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notification-sound.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71875a4022b11db93e1c241dabc8b2b085be29d3f182939d9ab139c0bf62d58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConnectedProviders (cyclomatic 14, cognitive 13): buildConnectedProviders has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-connect.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"9572b355db8bbaaf3fb218cb1a76a0f113ece7a66a6d4e3083c1596372318e6b"}},{"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":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4744}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f38fca384b242035c2eff121a4ac57376927227378730c9707f36438ff187f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeThrown (cyclomatic 14, cognitive 12): describeThrown has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a41b9b207657e4516ad49f536a46a55c1eebf99b7b52651f6f08d3f9b5ec809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationListItem (cyclomatic 14, cognitive 12): AutomationListItem has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"580d9c583d43d0095eae0244d567c2b85dcc96e60ea77e57bd764af1fa56bbb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WindowTile (cyclomatic 14, cognitive 12): WindowTile has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"264c8f7e37cf2cf261bc501680c14b584db38e2507a6e27145a32962d495765d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionDetailsCard (cyclomatic 14, cognitive 12): SessionDetailsCard has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"765cba2e80ae520b42f6b3ae644c4bbe97faf056436066d17d83a86cfca137f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImageDiffView (cyclomatic 14, cognitive 12): ImageDiffView has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/image-diff-view.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150480b991ce7dccc0587115f7d0ac47807b6443a2bf7e5c701845e58213505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchSelector (cyclomatic 14, cognitive 12): BranchSelector has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aedd7cc1fbc37ef046179cd3b018a62712e401ecbdce29b931b8f3ca139bf24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1330797b57818e4f70a637a79eda7ac2fd47913e88c244c287b8c3627d52ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OverrideOptionRow (cyclomatic 14, cognitive 12): OverrideOptionRow has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df16cfbcf50dbeebfdd752ae1e3df848c6fa2f650ed561cc616b1f73399d081"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeBuddyConfigPanel (cyclomatic 14, cognitive 12): CodeBuddyConfigPanel has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d66aab24b3befc13a1609c0a57a7d1f39b3394a9c6339913ebc2382c13c445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FolderSelect (cyclomatic 14, cognitive 12): FolderSelect has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/folder-select.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7848a9eda2711d7088fbe873a03d3bccce0c86056d11a481a902dd2f126d5042"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 14, cognitive 12): save has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d042ca98098b8fdcba2172cb42a02dba289afe9f9a59aa4e07e3456794c00410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchShortcutEvent (cyclomatic 14, cognitive 12): matchShortcutEvent has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f88b7911fd3af88e3a97518c38c79e8812b8675a677f39636991b5415e98b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEditChangeValue (cyclomatic 14, cognitive 12): parseEditChangeValue has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"23925b22121126e589537470b99dd81ccffc148914d1602779fdf1e44d8bbd73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationShell (cyclomatic 14, cognitive 11): ConversationShell has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-shell.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69d40f160a569af6a77d6f47f152f83b7f83052835349ef97472fd40652f684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"06829667e0ca7d887ef50f8fc7eace31624c8a646710b6d2d142fbbcd16103c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRange (cyclomatic 14, cognitive 10): resolveRange has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/token-usage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f455fcf7555bb4dddaa4138c39abe2552176f332a083686a9da89dc487d7f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepView (cyclomatic 14, cognitive 9): StepView has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7266383277eea610e0d0afb5bfcc2f47d10825d9999d4f885cfd9e02498cd250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseApplyPatchDetailed (cyclomatic 13, cognitive 24): parseApplyPatchDetailed has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da54933165046355471de85a51b6aed630e0a35063e12575740b14502b22b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useTimelineWindow (cyclomatic 13, cognitive 23): useTimelineWindow has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b1545592040a0cf957816bd6d9501325e9b8dee93e3d0a314212a4b3b2dc6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 23): (anonymous) has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":7105}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f6003e471922ce8e302944dc74a22056ef206ca251dc12369e3729b387fac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 13, cognitive 23): onmessage has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/web-transport.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d07ec3cfb47f524abae01e76033e5fed777353667a2620eb9b7f96cb6b43a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changedLineRangeFromUnifiedDiff (cyclomatic 13, cognitive 22): changedLineRangeFromUnifiedDiff has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a931edca2475b772a93a55406f7d90753952952e9091b5ca51aa9b69da5f8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93d8256a624e0b4fb9fe7a8364b96f34bda8b1f4b3bf30fc0768dfe1645ce6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeModeToolsCallOpen (cyclomatic 13, cognitive 20): codeModeToolsCallOpen has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9445d94ba692bc3625050fca6a1e612724eb778dd54d9d47126ec0a78c4e5aae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchingClose (cyclomatic 13, cognitive 20): matchingClose has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69f0c4e462bb379058beca82bc0e9f30ff682f53db61e03e63dc3c56e0a5022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b339cf045d54b3fbf67f226cf714d861fecab688496807ce93beb68ce19617"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameDefaults (cyclomatic 13, cognitive 19): sameDefaults has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f084fe6fec7ac7a6b0cd1c6e0f828d6136a3983f55db8b248bf3ae9fa8e2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clickAt (cyclomatic 13, cognitive 18): clickAt has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/src/act.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fdcf0a04a8a9ed11bfc2aace7176ccbcabdd0f1609271e90856bcef480d4a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiffPreviewFromChanges (cyclomatic 13, cognitive 18): buildDiffPreviewFromChanges has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd9a5570bb604ed1770fda91de9e450699f46cfc829d6e95cb4dd8033071fb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findStringFieldDeep (cyclomatic 13, cognitive 18): findStringFieldDeep has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9905ed2723db31b958ad3ad35997bc978f7e0411d7180cead3f0b9820767f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeTimeline (cyclomatic 13, cognitive 18): computeTimeline has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcce597125aeda5c464ea239eb3de421a4a86911fe53c7176716f1a8e5ec349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markdownCodeSpans (cyclomatic 13, cognitive 17): markdownCodeSpans has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649eb91f74e14640b52fb0b7ebe9bc8016edff098750f0727e8a1684f6af510"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPointerMove (cyclomatic 13, cognitive 16): onPointerMove has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/pet/_hooks/usePetDrag.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96b3ec44edb8dd62a4c0dc3a7f43e11103bfce3f9588883a9c5d2e51b164118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c085bf44015bce3d5b3878602a0c89d5f35fb3e29f8ebb065c2d0a127d8a9d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/generic-row.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4bb997518daac0347fe2cdf08bc0bab10328cdf2662d8e27da2e6ff4c477e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsSection (cyclomatic 13, cognitive 16): SettingsSection has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/settings-section.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4d6f0cb61acec224dadb0d9c998b80a0fe01f96ddc23903c6a92b7436e1258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAskQuestionOutcome (cyclomatic 13, cognitive 16): parseAskQuestionOutcome has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"618e4acdd6bf66292b2ae4b50a37f010a9f9c87834ab2d768b5413d8a5f843b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startHighlight (cyclomatic 13, cognitive 16): startHighlight has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/code-highlighter.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f2eadc9b40344f4dc98454b444468b957a130ad5175bd7d597daf1827d4c1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findTaskIds (cyclomatic 13, cognitive 16): findTaskIds has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a8e1617001fa55196a2443d795b97945b7e338aab62528e053681bff54b9bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function effectiveSelections (cyclomatic 13, cognitive 15): effectiveSelections has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295c22645a8293968e38dfe12379f46eb380b80e902f980e29b474330be7be2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserAgentShareControl (cyclomatic 13, cognitive 15): BrowserAgentShareControl has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c8cf4344d36e33d173af3c705f57f55c3dad67064085d7e1e03ef5f654c405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutomationsAuxTab (cyclomatic 13, cognitive 15): AutomationsAuxTab has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-automations-tab.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d76f3db4ee29a2f3b1d8e90df7c8f18f51f1c39c8bd4a47ec3dd65772c209a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d6414c804dcb3c57ee7c9a553045d71c88b67024850738fb33e02faca16d5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDelegationTaskRows (cyclomatic 13, cognitive 15): buildDelegationTaskRows has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd3a659bbaffe32b039da38b464df294b7b56dde0822496b7fa6f544eefd1a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useMonacoWorkspaceTheme (cyclomatic 13, cognitive 15): useMonacoWorkspaceTheme has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/monaco-themes.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f62eb7bf6c354c7d35f6c6e52f294d2535851bb7a76acd8afd2fa8b586b7b19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCursorVariant (cyclomatic 13, cognitive 14): resolveCursorVariant has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cursor-model-variants.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe0a13b5367392ec703077a5f73bebc05c160410196a3741a1008f8c2f2a98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeHealth (cyclomatic 13, cognitive 14): probeHealth has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/web-transport.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a0ef35914bbf3ad3bdffcb36d034379dda02e3ea999537f1bbba744c87bfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function guardTick (cyclomatic 13, cognitive 13): guardTick has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca828232e90735cbca8fb84ea0c32c530133ddec70e40e95762319120fc68e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonRenderAwarePre (cyclomatic 13, cognitive 13): JsonRenderAwarePre has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/json-render-pre.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96d9aa4c3dcfc6ab7429a4cbe44f27a4e521ac2e23cf000246709469bf0d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a9d9bd3d3e76b7ed5ffa8f973a6f54960e640b8d343e7a65518b61be90654"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadAttachment (cyclomatic 13, cognitive 13): uploadAttachment has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":4577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a3891f9c59255218d0babcfaa9078e53a6b54e3ed99cc185e6a938fab085a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StashPageInner (cyclomatic 13, cognitive 12): StashPageInner has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/stash/page.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66050f05332714601000fb14346c3520dd4dc2df06034a18c9c4585cae4b3a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationCardNode (cyclomatic 13, cognitive 12): ConversationCardNode has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/nodes/conversation-card-node.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa86f70a4aa16f192179d3d8fe9753bdb3fd880daa96f6447b3ea4f7db83357"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationHeaderFolderPicker (cyclomatic 13, cognitive 12): ConversationHeaderFolderPicker has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca8c5c7c7c82355d23b6139955c2abab00fd1a56e088ea49586b121c5b9df7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ec8f857d5d1b9d39461a647790cda9995619826174337da676ba6970e8728"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkflowApprovalStrip (cyclomatic 13, cognitive 12): WorkflowApprovalStrip has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6de2f8b9b2ae427a64cb60de04b99a26f8013fd68f5e09519b8b6c83dad0322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditDiff (cyclomatic 13, cognitive 12): EditDiff has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"342c1b5d6817f8b912da50b00ad18c90de93067fb693148423eaa1208643c644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PetMarketCard (cyclomatic 13, cognitive 12): PetMarketCard has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11c7216723c868866d1f889631cb01f5ebdaaef1a87d34fbbe67798321cc07e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpUpdateAgentConfig (cyclomatic 13, cognitive 12): acpUpdateAgentConfig has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6655d33cc29cf96fcada67a1c15c33dc9928e2bf645f217db99a61674087d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCustomProvider (cyclomatic 13, cognitive 12): applyCustomProvider has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-connect.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"de808509c5f954468a514c832d8c841ce24a45797ea16b3667ce50dae6ccb3c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLayoutNode (cyclomatic 13, cognitive 12): isLayoutNode has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce739f68254dc3cf66f2b18b29766cb1f8ec756db341c4127f074477604a147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textTokenAt (cyclomatic 13, cognitive 12): textTokenAt has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/text-token-at.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94031ca69047da7fb6ee6ab4d377259ad90919e4257fc922e120c5736c42463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeClaudeProviderModel (cyclomatic 13, cognitive 12): serializeClaudeProviderModel has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5699}}}],"partialFingerprints":{"codehealthFindingId/v1":"897fab9b328b2de352681cc81ab9df97d60a26e04ede85495ec4adebaa678faf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyEscapes (cyclomatic 13, cognitive 11): applyEscapes has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-windows-paths.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"854e317dc83a80e026a61c0ba90252c5a2f37333bab8bddb6df3101864339b32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserBridgeView (cyclomatic 13, cognitive 11): BrowserBridgeView has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-bridge-view.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6edceeedeecc6cb077c2879de8b18df6950edf2daed8cdf0baa9cf32bb4e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReferenceIcon (cyclomatic 13, cognitive 11): ReferenceIcon has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/badges/reference-badge.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b72d9563d76ca33f6dc71aa14061b7fd139d6223f8b383727ef8e68ee1913f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectorTooltip (cyclomatic 13, cognitive 11): SelectorTooltip has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/selector-tooltip.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe38c9149705e70bf89a32a0d0eaeade47a8e4d59ab07b4d4802fb167397cf22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebConnectionGuard (cyclomatic 13, cognitive 11): WebConnectionGuard has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/connection/web-connection-guard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d20487eda614b134caa3faf16ab12a156109e95fef061e682f7b6ca54f6afc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchFilterSelect (cyclomatic 13, cognitive 11): BranchFilterSelect has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca006fa82b5b6ddfa4e99e077214a69d4731049f36c2c2a23ca5fdbe28f8426"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompactListFooter (cyclomatic 13, cognitive 11): CompactListFooter has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a0a1cb467abff9cd119aba1b333ec80c944ad6107facb621df6b38f38cb7fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppTitleBar (cyclomatic 13, cognitive 11): AppTitleBar has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/app-title-bar.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c9e3131831c9aaf46eb1efedb0be2b8b7bf6fc7fb8eeca65f5c1fc5e7ade50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BranchSelectorList (cyclomatic 13, cognitive 11): BranchSelectorList has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cb6501ab8f5545540a4b9841c2e608ca6c872110ba53f3ef98d1ba391f596d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LocalMarkdownImage (cyclomatic 13, cognitive 10): LocalMarkdownImage has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/markdown-local-image.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a321832ea977483d09b60f812a627549f3bb75a8e0add65b6a0926863f1288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommentThread (cyclomatic 13, cognitive 10): CommentThread has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b93a480fa3b4066ceca5d9d3a39716718ad4c17c652496e5ce14fd7a4a0a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelIdInputWithFetch (cyclomatic 13, cognitive 10): ModelIdInputWithFetch has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ece871c6937f2f43d03c95655c8a05221958a520a177d16615099cf699238d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCompactDiffFromTexts (cyclomatic 13, cognitive 10): buildCompactDiffFromTexts has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"713408ed90648828bd96dbfcd081b9f197990aecac4014cf229ae3c403b35246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveArchetype (cyclomatic 13, cognitive 10): deriveArchetype has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/token-usage.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b296295516c84cb6d3e29b3b1128be036eabee132e912b6015c19f52e242698c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 13, cognitive 9): onKeyDown 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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a777867dcb89b1ce7dddccd5542761a6c0afa7834e681255f3794e991cc4baa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 13, cognitive 9): onKeyDown 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":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade4c680b1e72c201b6237364c8d5f033187572d78d400072631b477014663ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a33cd9f358de19392df81384b289dcaf411e558e9da95dc29cd02c1265fca33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractReplyFileChanges (cyclomatic 12, cognitive 26): extractReplyFileChanges has cyclomatic complexity 12 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"e242877797bfb0f590f4684b2442b492d8a39d18bc8d4abf91539e314eb2e704"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractRounds (cyclomatic 12, cognitive 23): extractRounds has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/task-rounds.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf994b9ffab1dfcad26677a8a1a21404dff845d588e9ff960679b339670fc9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildUnifiedHunks (cyclomatic 12, cognitive 23): buildUnifiedHunks has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/unified-diff-generator.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0924563fea1bcf3a6e1be32f4cd5d18793940376bec0389f5cf9aed6eb9833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFilePaths (cyclomatic 12, cognitive 22): extractFilePaths has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ed9beb3535d2594362b901b9e52208d4c069e95d19f1f6dfe0e4c3d39b9536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReferenceGroups (cyclomatic 12, cognitive 20): buildReferenceGroups has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da2d8e982ed605e59e44b7745a63378fdd600f1ee3e45c9f9466db60cdcc422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSplitRows (cyclomatic 12, cognitive 20): toSplitRows has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ae35b4b88cac89cb118ec0954ca3be9851fe4a187f1179b70ee2464397d5fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripMathFencePad (cyclomatic 12, cognitive 19): stripMathFencePad has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/streamdown-plugins.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68c2e2f4cc97962842be0e517314f69087eb88a03abf64f54e46a3dde4f0b18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeLcsMatches (cyclomatic 12, cognitive 19): computeLcsMatches has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c73e07cd614e99092803aa2907a464748b585e908be5e472164f58aa265d4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseApplyPatchStats (cyclomatic 12, cognitive 19): parseApplyPatchStats has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb5b9a421db27b0c2a2731ae2c1921e9184fe96a52f7b0220845fa711566532"}},{"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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":7065}}}],"partialFingerprints":{"codehealthFindingId/v1":"35517dfe626a6ca4400b2940d2fb60015923ea41dd6737cbfda48e7c0b24da42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyFlips (cyclomatic 12, cognitive 18): notifyFlips has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/tasks-view-context.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"26154e38b8e05cb70a8bd50c1d2e57c63380a7438dfad6dac96e532e42de88a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFeedbackCheckOutcome (cyclomatic 12, cognitive 18): parseFeedbackCheckOutcome has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/feedback-check.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e45fac24bd56996a834059c4f9f0f8edcc8fd02918f698b338dca470bc68b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 12, cognitive 18): normalize has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/model-label-store.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb2155ac10ad552c516182f856820af8833809e18df989c0e30ab19647722b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectInFlightPersistedToolCalls (cyclomatic 12, cognitive 18): collectInFlightPersistedToolCalls has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3856}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f93418429040c5645004553a80410fcec106eaa005709a2f1f5abc97500686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replyAnchor (cyclomatic 12, cognitive 16): replyAnchor has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"659bf50244eb981c4b8e09f5976fc1a09f3397cbe6731279b0ab2c5f366e297c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findStringFieldDeep (cyclomatic 12, cognitive 16): findStringFieldDeep has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/json.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d60be34beedcd132ce2c201cbe9acfd2e4f4853746d90ad887a256ea637a73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 12, cognitive 16): call has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c01d9871568e964c4e36790a002eba0c61c321fbba20b9bfd22b82bfd0df8d1"}},{"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":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bdf43bd0f6891ee1a4a600be82f6860c6a58d4404eeac67a287a7bfa7d7773"}},{"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":"src/components/conversations/sidebar-tag-filter.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"977655cc5b4cdde352fff12cf269cde42b393fe51ed60e4e3947fcd4d34ab6cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interpretMcpContentArray (cyclomatic 12, cognitive 15): interpretMcpContentArray has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"70908152689b40d3c794b32454123a1fcb5bbf0e2bcf3e392b886af1fc11133a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function holdsUnseenTurnReply (cyclomatic 12, cognitive 15): holdsUnseenTurnReply has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"9942e3355070c6cccbcbd3ab763c6fcf1fa3cb7cd18e07c93fb2cd416de1d3df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTab (cyclomatic 12, cognitive 15): splitTab has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d6e6cfaa3eea9e2d06ca8f9414cd133d634fab56f2b3357df377d1703d66f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a92617b303ab554aa2b570989a796b857ce5da564ce90a4f0ae7546a357065"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __codegEvalError (cyclomatic 12, cognitive 14): __codegEvalError has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/eval-render.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"097985fb26957fd313310bda651d019b6f144889768a2d8b01d41f4b6f30722f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5754}}}],"partialFingerprints":{"codehealthFindingId/v1":"01324b698dab72030bcef8c70efe600eeaca22b52074a205eff5123f2d160d19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 12, cognitive 14): start has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-workspace-state-store.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"85446226431b0fc5db1d056833fd30d0f51041875af39b9a22a28b63d1267a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertTyped (cyclomatic 12, cognitive 13): insertTyped 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":"browser-agent/src/act.ts"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"36871c8aa63ea0a7001ea4c612d0e7e8a12fce344fcb0508fb5cd71da4ade9cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeAnchoredPopup (cyclomatic 12, cognitive 13): placeAnchoredPopup has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/popup-position.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f63c8b0c81abf9ad72d32e093fe535c312c259aef65f68ed6db5c0367b9be0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc66eb4adafd44354c3eb99ed90468e38c02aaac091bb685c2250ca6491cf02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchGeminiConfigText (cyclomatic 12, cognitive 13): patchGeminiConfigText has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d8fe5b865d1dde462853572df25d2e83ae03a811b355f52579d5202b272f48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/advertised-commands-store.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fd0728ce9a5e089a287cee7364017ab393e96602b044a29b164ef4b5a3fa0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKimiOutcome (cyclomatic 12, cognitive 13): parseKimiOutcome has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"594b69bb1e0795bfeaf12bb3dd4027506a2fb640e9900b54e875e465822d19d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 12, cognitive 12): paint has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22cfd457e9ea3cf1ff494fb678be931bb5730666a8aad3758d089508d903e4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCompactionOnlyPart (cyclomatic 12, cognitive 12): findCompactionOnlyPart has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb9347e72dfa31befc88ad3e6f33b5c839fa443e04a3d23d537b80a9629fe5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"2947b8bedd808955f1082fe6040c1ee6c7782b4c0ec224ed8a512d475e4d1b87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveFileChangeDecision (cyclomatic 12, cognitive 12): resolveFileChangeDecision has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93b3edc9f2bb978d81b823596e89871d7b41cd6045f62d7931c377a7042c83a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInput (cyclomatic 12, cognitive 12): parseInput has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eccee1d1b86e401d1d85c82cbe46aeb9a2e6eac9462871aa20dff873be3c5b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStored (cyclomatic 12, cognitive 12): readStored has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/global-commands.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c7265c5395d3d3051b28fa65e4991b71c11621b727725fba49dfbebd096b5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPlanMarkdown (cyclomatic 12, cognitive 12): extractPlanMarkdown has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/plan-parse.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"18680c2d0aa843585140eb33bf802d4fbe1514a812d9acb073709abd8dfa7ac6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTouchEnd (cyclomatic 12, cognitive 11): onTouchEnd has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26bcdf80ab8a054d949a86803ede1b87da4401de09df1291fa885595afa5e6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CanvasBoardList (cyclomatic 12, cognitive 11): CanvasBoardList has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"65913c20ff4c7640875737e43c1f0a214a6d585a45a2e8abc6cb94277b476b10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reposition (cyclomatic 12, cognitive 11): reposition has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d915b1f388b1dc124cc0f6ecef73da73b3fd3d5aa606c552296f223f66bf37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationFolderBranchPicker (cyclomatic 12, cognitive 11): ConversationFolderBranchPicker has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edbef19341a4c444107db2b9d5d99794590aba8d4b7e9e6f1bbf92b38048725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9fc0d1be6dc9ce78ea53c8ffa3b813090b237f230394be35d876755a721a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChecksPanel (cyclomatic 12, cognitive 11): ChecksPanel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16e48f26bebd11babd1e217989c7970bc1a71c0c909702f398be2c171a164ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSelection (cyclomatic 12, cognitive 11): loadSelection has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"379f91628757e8498162604b0690bd2922b7ec3840233ed43453c5260f97dfbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TasksAuxTab (cyclomatic 12, cognitive 11): TasksAuxTab has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tasks-tab.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ae8f7ef75a6d197db44515f42ce6320772b751e84c6d38795cfdcfc57fc1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandDropdown (cyclomatic 12, cognitive 11): CommandDropdown has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-dropdown.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e02abe95e9df40c94579ec7a57ffa331052606469fae5499e4261bec67db00d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5203fe43b301359e365a4c657f94e3a7c42724bc6930d7fc705e9641b5f77dea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExploreGroupRow (cyclomatic 12, cognitive 11): ExploreGroupRow has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/explore-rows.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"549026aa80efac0c3cf57c413ce9515b4fada349a8fa3d1cdd3ba68a73166336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NavFile (cyclomatic 12, cognitive 11): NavFile has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d62a1bc98e95e23c9eca69b859e21952c114fee3e4c16e9e88372bcf1920f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyImportantFieldToDraft (cyclomatic 12, cognitive 11): applyImportantFieldToDraft has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1986b0819a191157c845dfa71a77feb9b82721293e7e4a567066cb598ae480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddChatChannelDialog (cyclomatic 12, cognitive 11): AddChatChannelDialog has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6310ef1da42f00b8bd58d38b9ca522cf8cb349874095defb347c0b04c878e822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e99847264cc006bbf0718c49e6fdb6df3bf6a369031babd295d98658168fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantRow (cyclomatic 12, cognitive 11): AssistantRow has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0596d3aa61321b7916763cff86491f694226e2c1202fe705ad665e7daa34f1d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52aad7eca1a536a31750142650b02aeb9b03866efb58ba520e37701ecd82fb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPayloadConfigFromPayload (cyclomatic 12, cognitive 11): getPayloadConfigFromPayload has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/chart.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f99bfbf8f6a3a1808afc01ee2de9ef1f40bb46fe387adca32d800ac6b22dd8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokResultToEnvelope (cyclomatic 12, cognitive 11): grokResultToEnvelope has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd598a982f2198aae4ab80e4876b9201f35b4f5524779f985cbf165814569e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokSubagentCompletedToEnvelope (cyclomatic 12, cognitive 11): grokSubagentCompletedToEnvelope has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb66e6f30cac5384d205c6de989fe101e08123dd8bbfb5e55b0d8e2bc74a254f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFileTreeDragPayload (cyclomatic 12, cognitive 11): readFileTreeDragPayload has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tree-dnd.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eff619ebc43364b35ef4a926c137ba173f419418ab596e4b89589bc1e97334"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee5879efc247db55e8b9645792eba1ae0045663bca60eb3a87bdcdfc4df9244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarConversationHoverDetails (cyclomatic 12, cognitive 10): SidebarConversationHoverDetails has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-hover-details.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ecdb394151141a8245765d41412e4fbc5324fec137270f37582661772c100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useIssueBody (cyclomatic 12, cognitive 10): useIssueBody has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/use-issue-body.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c05598d63d8de8b7d928ddbcfc75d18660d32649b20732aeec9783d329a3e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuickActionsDropdown (cyclomatic 12, cognitive 10): QuickActionsDropdown has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/quick-actions-dropdown.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cc7d75c6963a19c79b68e236370c655183cf3b7e7203c04698be2c9fb89933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar-section-order-control.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"054170e51133a46b6229b50ef320ce708f45bcec538826f7ed5f64cfc7410642"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useDelegationTaskLive (cyclomatic 12, cognitive 10): useDelegationTaskLive has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-delegation-task-live.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc76b5853a50ba1d677c8d6a4a2a444f8e16002d69a42e67204701bd2d1b817a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeShellSession (cyclomatic 12, cognitive 10): describeShellSession has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"04154c6f2bf03906fb6056084e57150d2d99227301e0cea49367ec8f4c314290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 12, cognitive 9): onKeyDown has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-tab-rail.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b480dc4888b89e9dde1e0578ce91433f748d9037688cdfbaf4103b1c48de9c6c"}},{"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":"src/components/layout/status-bar-update.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fff628275a7e6355d3b5c036e8186800b05b885579710924ea6abfefd004c20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LiveTranscriptView (cyclomatic 12, cognitive 9): LiveTranscriptView has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-transcript-view.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14e9754f2f7aaf5a06a280db1a59c6a43d3968ec3ae4d9afef6641fc78c575f"}},{"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":"src/components/shared/directory-browser.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae12221b44447dbccbb7edf8205420add59dece70090c0f0a295b4c0eddd073c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameCommands (cyclomatic 12, cognitive 9): sameCommands has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b62e427cc626b707cd0211e1c0ab36351b520ea90714f28b92b3a4ac61cfe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceProvider (cyclomatic 12, cognitive 9): WorkspaceProvider has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff0bb3da1155f06b4bb40d3908a2048c06105daeece4a8a7c0a3b95ff70372d"}},{"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":"src/stores/tab-store.ts"},"region":{"startLine":3713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccb954255220178ea5aa4af32c9cfa12d3bcd049fde6398e72a74e270f87794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 23): (anonymous) has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5d238c1c1667421ef9c2468eb29801dce0150fa4d94b9c36faf21276e30875"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignRoundStats (cyclomatic 11, cognitive 21): alignRoundStats has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8241e04461c62e3abfae61b60aca0101a47b726ecb968a15a7edd59c401e79b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accessibleName (cyclomatic 11, cognitive 19): accessibleName has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9931bb395df1bd6c6871f91bca80ae6cf4e504732d5fedbf350f894bb95f3f45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 11, cognitive 19): handleSubmit has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-editor.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9761508d44777240731b7db98b1b72652153e18ed6795eaabba112f479251db1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trimWrappers (cyclomatic 11, cognitive 18): trimWrappers has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/text-token-at.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b21641ae21dfdbbbf38cd9c60162cd205cd5a21dc687cae5de1151f14c00f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mainProseContinuations (cyclomatic 11, cognitive 18): mainProseContinuations has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"6351d680387d09ea54aa49460ca7538c9aea638a2be71c6f90f8be1f7fd2df50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTrail (cyclomatic 11, cognitive 17): isTrail has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-cjk-autolink-tail.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbfcfebefc095c241526d25bbb942400c1798c5793325292f0108fd328d3805"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 17): (anonymous) has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"694bf643faf4284fb1975a9a32e9bf3ca410282124bfbdce875e87a1f3d25ff7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractApplyPatchTextFromUnknownInput (cyclomatic 11, cognitive 17): extractApplyPatchTextFromUnknownInput has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88c4ad0cfcea6798e2e8f306553284a9e8233ee6ac5b5b15a020a0cdb2a414b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePayload (cyclomatic 11, cognitive 16): handlePayload has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"463a15d2511f517fc7e5817a4333df1dcf5f75b098b6437aa125ea26c4f9f40d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPlainSchemaDoc (cyclomatic 11, cognitive 16): isPlainSchemaDoc has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/composer-draft-sanitize.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fdfdda2ab3e47604639c931e0a25e2203fa8f7d69714357049cf99b2dc418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSettings (cyclomatic 11, cognitive 16): normalizeSettings has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc836cece367b1027360985e882c6c8f9247ca0130e6c5f29491fd818246318e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPatchTextFromInputPreview (cyclomatic 11, cognitive 16): extractPatchTextFromInputPreview has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1cc7b9f86e95925759dfe53fa2570290f80115d4758c5f527687a8452239cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turnFileChanges (cyclomatic 11, cognitive 16): turnFileChanges has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b83611cbef4bc42da628a86db3a7a0d7815575423f89771536bad1d9d5f5594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"59247e768302b290247660bc6c1acb41b0df5f8aadb318e027452af0a0a11463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findObjectFieldDeep (cyclomatic 11, cognitive 15): findObjectFieldDeep has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/json.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f95a42bfd9b29f78283cdd4c7dbee9986443ed9a87755a25876315b48c35f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCanvasSurfaceKeys (cyclomatic 11, cognitive 15): loadCanvasSurfaceKeys has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/canvas-view-storage.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f4279ef8043d087e657555ccdac4bdc5d72ac075315be9253590c71bb6b2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findObjectFieldDeep (cyclomatic 11, cognitive 15): findObjectFieldDeep has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5128236defd5471d05f0212dc55bae67e302b305e72ea135c38c2869c8d310"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":4646}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e4c58f44e3d44f3b98a04701c4683d2b30fe59056dec809296beb91063723"}},{"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":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"284d06d5713349450a9d1f0007fd36739952c4cfbdf23de32e7994f202af89ce"}},{"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":"src/components/chat/message-input.tsx"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80623dc22541effaa7c3b21b9ff5e6f1718cae7da9dd0fb9f24b572fa61b668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandFromUnknownValue (cyclomatic 11, cognitive 14): commandFromUnknownValue has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2c80b2e02b9b9d26d12543ed862bed1d8caaee7ad9d8d62130fdc33918228e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scatterChartData (cyclomatic 11, cognitive 14): scatterChartData has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/json-render/chart-data.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d699633a3f2283a36e69b59f64809be09d96a57775c36b83e9065b1bb7ee60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeBlankDraftsPerGroup (cyclomatic 11, cognitive 14): closeBlankDraftsPerGroup has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"76270cb85d05978331560ddadc216d9580b98fac868dbf301831c9dcf72ecf02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectorFor (cyclomatic 11, cognitive 13): selectorFor has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71b192aeb96b9c140ad15f94bd8cc2bc3e2c88060cf9fced4bcd21cd6bcdea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 11, cognitive 13): save has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db6fc0fbe7251d4222690759886f452ebe82f7932ebdefaa5c6ff676414daf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeBlockEditContribution (cyclomatic 11, cognitive 13): computeBlockEditContribution has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf1bb9fc71d182c5971801c10982c2e2ac273681849b1e6da0b965e0d512d36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bca87cc6362f81dd41855d2d4a6d03a3b95109ed6baa0c68383824c54ec42e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":6813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ac4c9522d35976effae5067b71eafa6af2d8a6e40d92db726834fe7c90b56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42900c495bf8131f2b366e6dc3fd56accff3c907e8b4fcbfb9bd3be5a29da51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-workspace-state-store.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f383a103c5d1cb462b23f9e975bf689641828a39101ce78dfcc495111b1da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMarkdownLink (cyclomatic 11, cognitive 13): handleMarkdownLink has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d8c0c0c3c5d99bd9b28e509ec30ea8967e95356aecf80dc41f377c12b6a28d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findArgs (cyclomatic 11, cognitive 13): findArgs has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"061fb96ce3eb7f186ec3028faa4b657ea803ed28364f0bdc1deeae152e061a13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeConversationTags (cyclomatic 11, cognitive 13): changeConversationTags has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/conversation-tag-assignment.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"565cfc9993832e5c4e0ffa730949d6ec6f045c4dca41e6cea8aed03b34408ef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findTaskId (cyclomatic 11, cognitive 13): findTaskId has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480c3e313187e572554b6405e45a4c5444184a9988bf09f387e2c09656e5c4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNotificationSoundPrefs (cyclomatic 11, cognitive 13): parseNotificationSoundPrefs has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/notification-sound-prefs.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c7b04b54890d83963a7974fb8f52183e9125c7e99ec2aaef32c752d63c1355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyResourceKind (cyclomatic 11, cognitive 13): classifyResourceKind has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/resource-kind.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5438da9c4468949077c48d5055c4d052947c52305c0f63a26757676b8ece7151"}},{"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":"src/components/forge/forge-page.tsx"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"143fbfce4c904a1b6374716ba4750fe43c476bfacd606d2861d1efab8cc5df5e"}},{"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":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"561f09ccc416d17ea777c4f2f017a3e5f9d08cfe7ecee06db1780b2ebfee2862"}},{"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":"src/contexts/workspace-context.tsx"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"405784111df5e1d2bb55562e96903c01a93d8d261b3f3bf463b5e04eeb7cf08d"}},{"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":"src/stores/tab-store.ts"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b31723f74d36fa3cd0814695f6bfea2c321ce08798b63695d7367ff75166e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30504ef7fccef967f534ba81c31a4127fb415d5e99c3d3c0f08658e31f6b183"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11bd00918e9a4e1e0b2dce0d01a545c8c30ade7d8125da99f5584d3fa01249f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rowMark (cyclomatic 11, cognitive 11): rowMark has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-agent-config.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbffefb326d5bc38eaa9d1e6aa6d50d105691e3e5ee1295735b3d9c702bbe70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dcb06cd38be363197336d8e7d2442a07dd2ba6e7672696ac4e4c22bc59a373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/workspace/deep-link-bootstrap.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa8ed0aae2ba11a5a63fe009eaea28852a1c97d8f6a4f8991fc32cf0871789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 11): load has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-file-tree.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52016ef5b8fbaac731a8e8b6b62121aa8db3d6fb243eff9a3bd740efd16d4ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeEdit (cyclomatic 11, cognitive 11): describeEdit has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb7cd8060b73ab8ad0248d10916af2dd9862e683751630234dfae2a2a013c55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDelegationStatus (cyclomatic 11, cognitive 11): resolveDelegationStatus has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7971ab515704a694a0441f7a57de6f55ed02cbd5e7a9ae531dbc662bfe2acc4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandFromToolInput (cyclomatic 11, cognitive 11): commandFromToolInput has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/grep-no-match.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfcc25ea22ba6ce36c0fe293c6b548b680e49c5447fd7eaaad8e850a4dbbf75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useViewportController (cyclomatic 11, cognitive 10): useViewportController has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e924db583e919b2fd09f465d921c4ac822df3fc7bb133368121b90b196fe86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowserRemoteTabView (cyclomatic 11, cognitive 10): BrowserRemoteTabView has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-remote-tab-view.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba9f51b956b42b83156a3d020c399a09f0fe1996cd9fd06c485cbc2071348b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddFileSubmenu (cyclomatic 11, cognitive 10): AddFileSubmenu has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"47253a2d0e82876f3830fea3e4622a423821e9db106d035ca17902c8b0698e3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 11, cognitive 10): onKeyDown has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"84319bb9c78d61c140234e47727c7670c83328137d217c2c794a67e3aafb8cd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SplitStripCornerReserve (cyclomatic 11, cognitive 10): SplitStripCornerReserve has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d975e79490bbfef30fae081b32f45f1383f4065f81c0b22a1a3ea19490a236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarFolderGroupHeader (cyclomatic 11, cognitive 10): SidebarFolderGroupHeader has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef67005d969b471ff53eeed7d69495a2aeea908ca3d1a9afc932d572d9a5a75c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"5204bd0b5c50151f4e85bd53abb2029598200e4df6337dd402dc09357496ba69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LinkRow (cyclomatic 11, cognitive 10): LinkRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faff45d135c42828e7dd7d8a29c577ca4fe200295af97b6e848d5ef9a7a5922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DetailBox (cyclomatic 11, cognitive 10): DetailBox has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/detail-box.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9543e8bcc5e67f7de9b3a4553818cb8484a60b82b8dd6297f936803aef74135f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RailIcon (cyclomatic 11, cognitive 10): RailIcon has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rail-icon.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"183aee1d17e91fe85e5916a893c3e782e2cd1e62af4653e92ba2e56e9c93f374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceReplyFold (cyclomatic 11, cognitive 10): advanceReplyFold has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1568d3e008714edf8c9d010ef2550fcb1602f20d74eead00946434bf27917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadImagePreview (cyclomatic 11, cognitive 10): ReadImagePreview has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/read-image-preview.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e27cfab7f2f089c43c37057a0e23d103d8f389bff6ee7707f1fd6882c1a15f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReplyArtifacts (cyclomatic 11, cognitive 10): ReplyArtifacts has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/reply-artifacts.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4684af62b619d9ff89ec78b3ec508266183aae23b727c032f737fcdf6e4b628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importantEnvKeysByAgent (cyclomatic 11, cognitive 10): importantEnvKeysByAgent has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe3786ad5e9830a9d07724a358d9c2b47d684097b9e5e49a40ad8d8fc4766b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCodexProviderTable (cyclomatic 11, cognitive 10): readCodexProviderTable has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb827058ac072d1a0402ed610e110ebeac8d33979767e64bafce62a57fd912c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyClaudeProviderToConfigText (cyclomatic 11, cognitive 10): applyClaudeProviderToConfigText has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":3629}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdec3ee413d3cf35a812123a6a3b4c1ba940d3356e2641c507c6680d9e72f679"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.test.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ebe7a37a3a54de42d4ccc69c5a80c0973467d4e5821b0889e387b5fe8f59e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"72efbc2368683ef8d93948466091b6451a62d4578dca528e90a2166e3f163ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c0ff2cfeb2700265e8a93efe12e16e40e2b62c1e1db7b08c605b4571ab03b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PetMarketplaceDialog (cyclomatic 11, cognitive 10): PetMarketplaceDialog has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1dd4a3e4261dfad9ce33e25e5a5b5ffac2596b5180386fffdace91341a1a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c684b3b4b52de18ff1b2c63bb89c3186a0c92f7fffe8724ca020b236de09b6e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TimelineRow (cyclomatic 11, cognitive 10): TimelineRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c0a9001fa2219ce4f630b8efb3ce78da7b7040674515b1fb9b7626b3401b7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskScheduleDialog (cyclomatic 11, cognitive 10): TaskScheduleDialog has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-schedule-dialog.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d20802c4a4eb986930c5256af8a49696025325492655ecfd02e048aadf183c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DrawerContent (cyclomatic 11, cognitive 10): DrawerContent has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/drawer.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d336e3f5da3f7cb6df3e5b06fb08afc8826f5974262a57a881b151080e514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseValue (cyclomatic 11, cognitive 10): parseValue has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/advertised-commands-store.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dd91f8fdfbe7b10e4fb313bf6712f5d0652b9ea41349e42e336c65bf913a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitize (cyclomatic 11, cognitive 10): sanitize has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-tab-persistence.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"767c1b2588c47de641bea59e47e0b4bcbfb9bdbf8df263571d6deb0b90cc4f56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopShortcutLabel (cyclomatic 11, cognitive 10): stopShortcutLabel has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/computer/stop-shortcut.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"36872fd115b1568aa6c153d9f6496005b1a5804bb521a25c3a739a5ae4fd7cea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 11, cognitive 9): onKeyDown has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d6f861d13425ada526371dfa19687f1a58ef6edcffc12ae3d1c8000b70c343"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asAutolinkLiteral (cyclomatic 11, cognitive 9): asAutolinkLiteral has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/remark-cjk-autolink-tail.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"20df05885d1c69ddeca3d9a49fecc64f88efa62cc830f674e6674113de93ae95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb9f773cef861bf120e768ab0c527bea665cafeefb6e1bc3579d3cbfbda74ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e2d6588c6305a0360985f0c2b50b009b1ffff3a029dbd61c52c941c6f99c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5656}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a82901a809a76f19095bb49af17fdf4ecd9c7cb2c53daceded16b2fea9ef06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MacPermissions (cyclomatic 11, cognitive 9): MacPermissions has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-use-settings.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba775cb2236af0aa81feb6f11bfe6bdc5dace843582fad47887f2857e217574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrendChart (cyclomatic 11, cognitive 9): TrendChart has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4340013e4fd035b32985327b931c316d3408bf422de25a4392a77ebaadde022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeCodexModelConfig (cyclomatic 11, cognitive 9): serializeCodexModelConfig has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5903}}}],"partialFingerprints":{"codehealthFindingId/v1":"255697dbe9f0c6b4c15685c84935cde1f87533196aa420839114521952c22582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeReplacementDraftTab (cyclomatic 11, cognitive 9): makeReplacementDraftTab has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f0704ccd055596b3cdf635f81c09196d0c42a33fea749565bc1d4af4bbbaa0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/acp-agent-settings.tsx: 13289 lines of code: src/components/settings/acp-agent-settings.tsx has 13289 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61711f911902ffe5218db72c8052884019584e700ebd1b01785e8c8d02a89f8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/contexts/acp-connections-context.tsx: 8293 lines of code: src/contexts/acp-connections-context.tsx has 8293 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2069f4ac20e388e6f9bc15a9b793996e67e417a4a82131ff50e85ad55fc5e62"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/api.ts: 6194 lines of code: src/lib/api.ts has 6194 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8773160c4571f1be7fce29a5a1f446c7383b08e940fc398e45585ba173a1f862"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/types.ts: 5908 lines of code: src/lib/types.ts has 5908 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b40616c0ec64a3c3554375164c17e4339850a916f6dd2505d8a6b3a43bd11f1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/conversation-runtime-store.ts: 5177 lines of code: src/stores/conversation-runtime-store.ts has 5177 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-runtime-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de947fefec52d78a1ece4da074f03b003c154bfbe4263fab98eca5f3639882b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/contexts/workspace-context.tsx: 3646 lines of code: src/contexts/workspace-context.tsx has 3646 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/workspace-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1058457f0a90e339e2581b515077833af4d252acbc22ecf838dee0e3e0402ff2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/sidebar-conversation-list.tsx: 3642 lines of code: src/components/conversations/sidebar-conversation-list.tsx has 3642 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329f2e5762866a7f9c27fcd4256a1f12c5c94b463d985083f44c446eedd305b8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/tab-store.ts: 3554 lines of code: src/stores/tab-store.ts has 3554 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/tab-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0428be17426ba71902404e97a11f015e8fdff1404b90c662fed062ec7a2016"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/aux-panel-file-tree-tab.tsx: 3498 lines of code: src/components/layout/aux-panel-file-tree-tab.tsx has 3498 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b11d0aa8cd3fab6564eb6dc60154b9d695124230c7f96891605b53a61d567b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/forge/forge-issue-detail-sheet.tsx: 3214 lines of code: src/components/forge/forge-issue-detail-sheet.tsx has 3214 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-detail-sheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14df143ee684fd01b54a1972975140f5f910bbf828440f237820e0751272436"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/conversation-detail-panel.tsx: 3168 lines of code: src/components/conversations/conversation-detail-panel.tsx has 3168 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c92b11c9ef72634e1956e87496f1b81ccb6f8a0a92a2db925bab1305068d53"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/forge/forge-page.tsx: 2876 lines of code: src/components/forge/forge-page.tsx has 2876 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9396adf4ea0ca58e1fb01a41678a6fd86d9856d54218335416b1dd186ff443"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/adapters/ai-elements-adapter.ts: 2737 lines of code: src/lib/adapters/ai-elements-adapter.ts has 2737 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a643692307a54b9bb41abc1534d06097fbaf90201e275bbfbd68aeacb15e198b"}},{"ruleId":"R3","level":"warning","message":{"text":"browser-agent/probe.mjs: 2702 lines of code: browser-agent/probe.mjs has 2702 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":"browser-agent/probe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979129ff3a430d59770afcee24960fb040cc99c3fceac612228ac6f62d05fcec"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/aux-panel-git-log-tab.tsx: 2652 lines of code: src/components/layout/aux-panel-git-log-tab.tsx has 2652 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f9b92d33c0ed44a6016a886b4aa9879c7404774382cb1b22c6716393620031"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/message-list-view.tsx: 2379 lines of code: src/components/message/message-list-view.tsx has 2379 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/message-list-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c1420f03eb44800602e909cf3d314ba1fa21abab95f4814fce2cb55489f3a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/canvas-view.tsx: 2321 lines of code: src/components/canvas/canvas-view.tsx has 2321 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919cbc7d32f90593ec6154fdb9ff1fa8e611b70007cf4e38000677fc3565f496"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/message-input.tsx: 2266 lines of code: src/components/chat/message-input.tsx has 2266 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/message-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb503e395103577e4d66bfcd1b639aeb14858d218d7c0f2f2a346bc1ae7f046"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/aux-panel-git-changes-tab.tsx: 2227 lines of code: src/components/layout/aux-panel-git-changes-tab.tsx has 2227 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fe576867afe86812705e06362ee9fd69cdb6a2508b7af3c74f49d9430ccbac"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/task-detail-sheet.tsx: 2066 lines of code: src/components/tasks/task-detail-sheet.tsx has 2066 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-detail-sheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c830f655c828e2ee5d5afdc6deb76080c2acfe05893ccffdb13580b64d7d37"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/files/file-workspace-panel.tsx: 1977 lines of code: src/components/files/file-workspace-panel.tsx has 1977 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa12752c08e57a3f14689f06a1d139af0b8b83d3546254fa297ab5fd243e48a1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/mcp-settings.tsx: 1787 lines of code: src/components/settings/mcp-settings.tsx has 1787 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d170a4dbaa35d1eb6b4a3b8a4690c4a3d386225cc77914ef920dc23d69eec84e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/sidebar-conversation-grouping.ts: 1672 lines of code: src/components/conversations/sidebar-conversation-grouping.ts has 1672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-grouping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8887ea288fe26eb5c6779ad53418a131544150c1aee8b10bfaa51a1dfe8c5752"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/delegation-card.ts: 1640 lines of code: src/lib/delegation-card.ts has 1640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-card.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44925cd212c4379ae339bf4a3fd65b4ea51d0d51c4ee9ffa0995a8f4b45c3782"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/pi-config-panel.tsx: 1606 lines of code: src/components/settings/pi-config-panel.tsx has 1606 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7623c8c5a637a31127d371b6fc9007978e4fa07c6c5f184dcb66589a58cc2728"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/token-usage/token-usage-page.tsx: 1535 lines of code: src/components/token-usage/token-usage-page.tsx has 1535 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a738f0981ec93865c0285a673f0f353d16ae5e887c2f239e4a0593e4b350561"}},{"ruleId":"R3","level":"warning","message":{"text":"src/app/activity-gallery/page.gallery.tsx: 1523 lines of code: src/app/activity-gallery/page.gallery.tsx has 1523 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/activity-gallery/page.gallery.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8710ab26f30063f3c77f0f19cd6dab3ff34c06faf7c39af80d4014688cd25c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/app/workspace/layout.tsx: 1503 lines of code: src/app/workspace/layout.tsx has 1503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/app/workspace/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b799054ef1be158db5e4aacdc11c9b08a9ca82c1833a42e845583249e9afff3b"}},{"ruleId":"R3","level":"warning","message":{"text":"browser-agent/src/act.ts: 1467 lines of code: browser-agent/src/act.ts has 1467 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":"browser-agent/src/act.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3449a040a62ea4c356b3be8e3ab918636d8c7cc84818903d9727318bfc66e752"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/automations/automations-page.tsx: 1434 lines of code: src/components/automations/automations-page.tsx has 1434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automations-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58045cad22cb79f67887c892e0d24d2ec8d246be5678d5782ae98d5c55e76e26"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/composer/use-composer-attachments.ts: 1402 lines of code: src/components/chat/composer/use-composer-attachments.ts has 1402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-composer-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f2fe5cb6d0701b0e05a5ee5c2430a6554fc920d29b62745ffb3c93b1d104f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/commit-dialog.tsx: 1380 lines of code: src/components/layout/commit-dialog.tsx has 1380 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac99b411f425e73a75c0b96860b78ee1771026c907df4735621ced77c5ad4cdc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/browser-injected/picker.js: 1288 lines of code: src/browser-injected/picker.js has 1288 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77541a4942982cdfa82f41529d102358fd2117ba99415d55cea6f06660d05437"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/kimi-code-config-panel.tsx: 1282 lines of code: src/components/settings/kimi-code-config-panel.tsx has 1282 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be668e84e69856a690bd49d86af4a8c8f93880e1b57d90fb768407e66e3f77c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/antigravity-config-panel.tsx: 1275 lines of code: src/components/settings/antigravity-config-panel.tsx has 1275 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/antigravity-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f996e1e1c6d269ed77121c27ac76e3aceca90f5442f571b600cc7884cedab46"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/config-sync-settings.tsx: 1264 lines of code: src/components/settings/config-sync-settings.tsx has 1264 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/config-sync-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e8d2a4c8a0c83b8ce8a48ea2d6cc25f0b22991099d6c6a9fc82f2efe74d085"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/skills-settings.tsx: 1256 lines of code: src/components/settings/skills-settings.tsx has 1256 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skills-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a5516b5482c0d23abac03dd23836b1b49f84331d13e82f528c9f237a269435"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/conversation-message-nav.tsx: 1177 lines of code: src/components/message/conversation-message-nav.tsx has 1177 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/conversation-message-nav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7157046a2eef76122589de3679532a544b0ece0ea9d67ccee003dec8d8f76274"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/tauri.ts: 1170 lines of code: src/lib/tauri.ts has 1170 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7451f6c5d4070485df1833e175a7c54697a0014e782966069c610b5572c81205"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/conversation-manage-dialog.tsx: 1157 lines of code: src/components/conversations/conversation-manage-dialog.tsx has 1157 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a866f35222e99cd52d362d491ed1ce6ccec8009b782118064520619c7633640e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/appearance-provider.tsx: 1154 lines of code: src/components/appearance-provider.tsx has 1154 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/appearance-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf4b4224d666219c571b36a025132a21952e16a72ffdb30bc345517e097d24"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/codex-model-list-editor.tsx: 1151 lines of code: src/components/settings/codex-model-list-editor.tsx has 1151 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-model-list-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503daaca723c68e04f394f8c0150fab080dd9f05c01b121ba333cc614e4a88c8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/diff/unified-diff-preview.tsx: 1142 lines of code: src/components/diff/unified-diff-preview.tsx has 1142 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6ec8af3f1502fe4400bd44a742641e2ab876042f084733a18409b037c399df"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/cursor-config-panel.tsx: 1116 lines of code: src/components/settings/cursor-config-panel.tsx has 1116 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c4efc9d507e7f69d2a9b72bc196c7865e232a395be36b40e062cc2c6f14ad"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/canvas-model.ts: 1107 lines of code: src/components/canvas/canvas-model.ts has 1107 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9b5617fbe175521b03836cee4e774c356e3a702eee0e56207149edeea5191b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/tool-call-normalization.ts: 1071 lines of code: src/lib/tool-call-normalization.ts has 1071 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tool-call-normalization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"399aa6b962a9d336af4aae622ddb4f30da703746524e1761c1077c6435d3aad5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/browser-settings.tsx: 1051 lines of code: src/components/settings/browser-settings.tsx has 1051 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/browser-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24b84af67e7e68c8fdaddc4d94cc1cae57d7e80586d2ba3787701d7eefe1898"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/workspace-upload-dialog.tsx: 1038 lines of code: src/components/layout/workspace-upload-dialog.tsx has 1038 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-upload-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a60145fb03f732f863d7760d24e96203bbe87439c5b0cebc33c10fed2a0537"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/backup-settings.tsx: 1031 lines of code: src/components/settings/backup-settings.tsx has 1031 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/backup-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b31fccdb3d856502039781b2bbdfd63234196f70f11b7fb66d588d1f4837cd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/skill-agent-matrix.tsx: 1026 lines of code: src/components/settings/skill-agent-matrix.tsx has 1026 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/skill-agent-matrix.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbdf25b035e02c754d7640487774b16db484bfdc91195b76334afdcb8c60eb7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/permission-request.ts: 1018 lines of code: src/lib/permission-request.ts has 1018 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/permission-request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"424fb2ea34cdb61db54aa764d4eadcc2da7e980da9b37f362056141d85308458"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/custom-skills-settings.tsx: 1002 lines of code: src/components/settings/custom-skills-settings.tsx has 1002 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"947920bc438fcb1fb88f41280ed93d417ac40bd90cdea8f4a3a38c76911c2e21"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/computer-settings.tsx: 993 lines of code: src/components/settings/computer-settings.tsx has 993 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/computer-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40ced4a547a25e477014e21743911db5809072055c68b9e46038188e4c57251"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/session-files.ts: 986 lines of code: src/lib/session-files.ts has 986 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"012a8d48532409bcee8de57dfd6d132604a76e951f7e75c9f608eac63239fc8f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/providers/update-provider.tsx: 935 lines of code: src/components/providers/update-provider.tsx has 935 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/providers/update-provider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185d918470bf58731536f04b8c0d49c9a3636d37fe8699809f73825fa72216d7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/canvas-conversation-surface.tsx: 909 lines of code: src/components/canvas/canvas-conversation-surface.tsx has 909 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305e743cf5da769c23ef6e2c738051f0a54c2e84df48987ecc63e6ee0079f38"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/terminal/terminal-view.tsx: 900 lines of code: src/components/terminal/terminal-view.tsx has 900 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf9fbace14a2bff608b8b0ad99b616bb59b894b50cb426181f1995d84f52b0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/logs-settings.tsx: 899 lines of code: src/components/settings/logs-settings.tsx has 899 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/logs-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6432a20e2e4fb173571338b56f15dfe5983b178f3ec25d6e00ca4d11f123ba29"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ai-elements/mermaid-block.tsx: 893 lines of code: src/components/ai-elements/mermaid-block.tsx has 893 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/mermaid-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a44bd65e651770b963cab1040a0f8f294b35a5980643ed885a08309f174bf56"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/workspace-folder-dialog.tsx: 891 lines of code: src/components/layout/workspace-folder-dialog.tsx has 891 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2442ebcdf20400493bacee1ec9ee4bb9f5b3d5f4249cbf89cf9bdfa994c3b4a3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/add-custom-agent-dialog.tsx: 883 lines of code: src/components/settings/add-custom-agent-dialog.tsx has 883 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f62db9d0e3480df8e271b0bef5e47c71bf35b1a7f9350fe0a98c173d5da5ca"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/tasks-page.tsx: 877 lines of code: src/components/tasks/tasks-page.tsx has 877 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/tasks-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ec3f18303b4beaaaa6300c2f867229e28e80fe2b506a47ee2097b25d60f7f3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/sidebar-conversation-card.tsx: 875 lines of code: src/components/conversations/sidebar-conversation-card.tsx has 875 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a1de52689df4d4afdaf0a4da592c3dc0890a27846a0f25e7787f0f201e0585"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/app-workspace-store.ts: 868 lines of code: src/stores/app-workspace-store.ts has 868 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/app-workspace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74683a6547f9a03c942a3b7778c9f90756669e37cd00d0ac60afea1848c8f6af"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/provider-models.tsx: 848 lines of code: src/components/settings/provider-models.tsx has 848 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e980416361d173758ab8d93b7c3b47abb49ed6306ffa7c4b1dbc25de610f78"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/push-workspace.tsx: 847 lines of code: src/components/layout/push-workspace.tsx has 847 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/push-workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"758dae9949552e1ccde09066f7ea55b288352e00b111e636fc6d0cda8df524ab"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/computer/computer-window-picker.tsx: 838 lines of code: src/components/computer/computer-window-picker.tsx has 838 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/computer/computer-window-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c840245e5190eaeeddf60b52e0d569532e40f81a5f433063e95c1fc7864e0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/opencode-permissions.ts: 836 lines of code: src/lib/opencode-permissions.ts has 836 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-permissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c19f73bb39b318e8403ec6e2ea8875007e936897f4d681440e1d24c29c72eb8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/branch-selector-list.tsx: 824 lines of code: src/components/layout/branch-selector-list.tsx has 824 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e1473f78a87de695905ac89db8585cab03b29a957fb1ac2cb842be552bc76d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/branch-dropdown.tsx: 823 lines of code: src/components/layout/branch-dropdown.tsx has 823 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/branch-dropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ecd74c7959951139be17294af1b229fcde62017936127bb563b4f038219588"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/system-network-settings.tsx: 823 lines of code: src/components/settings/system-network-settings.tsx has 823 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/system-network-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61772d78a00959b3d1f1f400c705e988cecaa6fa10de03509292e18f7f84e5e6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/canvas-dock.tsx: 816 lines of code: src/components/canvas/canvas-dock.tsx has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-dock.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafdd95f0b11400454a19196b6f0613ac9f229b50e772533b74292320688a59c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/html-preview-inline.ts: 804 lines of code: src/lib/html-preview-inline.ts has 804 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/html-preview-inline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83ccc8d0567246996f00a66c7433b7c06c98c4653b85b9514e87ea4af4ec51"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/deepseek-model-list-editor.tsx: 802 lines of code: src/components/settings/deepseek-model-list-editor.tsx has 802 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/deepseek-model-list-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8f714cb6cfc61f65b9159ad64839d4207ccb627121b3b97359b842865cb09"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/task-settings-dialog.tsx: 793 lines of code: src/components/tasks/task-settings-dialog.tsx has 793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade0d2c742c6570568c35d928933681d9fc4c2bd6eccd537a0ea80c30a88f0e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/token-usage/share-card.tsx: 789 lines of code: src/components/token-usage/share-card.tsx has 789 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/share-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d7b75a818c3543360b96cd6d27849da3dd8f0a846eadda3474895ec276c55"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/command-manage-dialog.tsx: 788 lines of code: src/components/layout/command-manage-dialog.tsx has 788 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d429a74da85527a25b79bb574ad1030f1bae1be9285cc09f2a684832c8bcfb35"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/monaco-themes.ts: 765 lines of code: src/lib/monaco-themes.ts has 765 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/monaco-themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1517cae2c6f9bdaed1317f3cb25bcb650c02a39fb3a74e464b0d24f01fe643ca"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/version-control-settings.tsx: 757 lines of code: src/components/settings/version-control-settings.tsx has 757 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/version-control-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0426b19cdea76cd0ddab033eadf8361ce3ed4768b0b6f2f77c95c737c46fe0fa"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/composer/rich-composer.tsx: 756 lines of code: src/components/chat/composer/rich-composer.tsx has 756 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/rich-composer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9599124fa0c52476bf89eb36041dbd6efe44da226cc254a800d878ef8fc8699"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/agent-icon.tsx: 753 lines of code: src/components/agent-icon.tsx has 753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agent-icon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f73438406154657806309e83e4428035b7209431b27d8f1b3b6a8ccf2976fe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/background-task.ts: 748 lines of code: src/lib/background-task.ts 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":"src/lib/background-task.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072124f4e35cb4fde9d9e372f04b71eb4bdaa2ba105e490983756e565e3640c1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/activity/describe-tool-call.ts: 743 lines of code: src/lib/activity/describe-tool-call.ts has 743 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/describe-tool-call.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a961b0048740d2b1e44ea1514f910691a45f27598c79a807f27f84b437065365"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/import-sessions/import-sessions-window.tsx: 740 lines of code: src/components/import-sessions/import-sessions-window.tsx has 740 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/import-sessions/import-sessions-window.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a109f7082ba2eafb2fc8d062ba5cf3c067a44f59ad80163a084d7cdcda0743da"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/session-details-content.tsx: 739 lines of code: src/components/conversations/session-details-content.tsx has 739 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/session-details-content.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38136a08d2dd61c656e537e1646f93a0c760b7d613e3e7c50c0e07615189aead"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/codex-catalog-source.tsx: 738 lines of code: src/components/settings/codex-catalog-source.tsx has 738 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68259f281b3a502242bf831647661b5f89dccca0fb046a059f70987e7d27d511"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/forge/forge-auto-settings.tsx: 735 lines of code: src/components/forge/forge-auto-settings.tsx has 735 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-auto-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"416e53867c5f866f734f313c7d6607678e96867e7274db40fd0ca3f0aef05268"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/shared/directory-browser.tsx: 734 lines of code: src/components/shared/directory-browser.tsx has 734 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/directory-browser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed415a9ee1d1026edae70072c085fffb79432e1578ff91d8e72f7928bca1d2c7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/opencode-connect-dialog.tsx: 727 lines of code: src/components/settings/opencode-connect-dialog.tsx has 727 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-connect-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e268ab665971521596d3c0684f19793ddd0e241ce9b0247cd0068652ac52241b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/delegation-status.ts: 725 lines of code: src/lib/delegation-status.ts has 725 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec3e324d45648f5b581cf79f014dee403668b4d1c78e0a80aae87d7b32b831"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/rows/command-rows.tsx: 715 lines of code: src/components/message/activity/rows/command-rows.tsx has 715 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9c3e46251f5e670b1ef5a176007fa17f11078fbfbc5648ba4a60550cad9f08"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/activity/edit.ts: 714 lines of code: src/lib/activity/edit.ts has 714 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/edit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1facee10b71e6b2aef78bb1f029ebd5c08c084755614b4c962b02e56a4755474"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/token-usage/charts.tsx: 713 lines of code: src/components/token-usage/charts.tsx has 713 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/charts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09c4f2a5a28b74efbdbf64c8cd1a0605103e4d8e410d288a0c3655868b66f83"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/opencode-permissions-section.tsx: 710 lines of code: src/components/settings/opencode-permissions-section.tsx has 710 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-permissions-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71c842c45c081d1409b95da60d3d72ab2a6c878c14c0884e46d18c592b1189"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/opencode-connect.ts: 710 lines of code: src/lib/opencode-connect.ts has 710 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/opencode-connect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5cfc4f298964ca0b05f3cbc02cb2a9e4439a5c9e217f51566af2359eb93042"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/composer/suggestion/suggestion-popup.tsx: 706 lines of code: src/components/chat/composer/suggestion/suggestion-popup.tsx has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/suggestion-popup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aff6adbf552a3e8058dd3c7750be1e14811c5f2e48a929e34a42f77ed4b5cd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/merge/three-pane-merge-editor.tsx: 706 lines of code: src/components/merge/three-pane-merge-editor.tsx has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f964c3de2dbd6c0b7c71ed89044d6cc2ed2feca1e5175842632ecc22f75764f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/remote-workspace-manage-dialog.tsx: 701 lines of code: src/components/layout/remote-workspace-manage-dialog.tsx has 701 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/remote-workspace-manage-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ff441251e370a19f4fb0865f6925ed11c37949163f6856b4783cdc4b1d283"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/assistants-panel.tsx: 691 lines of code: src/components/settings/assistants-panel.tsx has 691 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a10a86720f022eb2c503e109c9916f1867e17eafb00e7b8033d1e56b363bd85"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/agent-options-editor.tsx: 684 lines of code: src/components/settings/agent-options-editor.tsx has 684 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/agent-options-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0780545fa6aa39d93451f7fccca9d33ddcbb1bc45c6e0c70c92aa46231e8dde4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/use-workspace-state-store.ts: 677 lines of code: src/hooks/use-workspace-state-store.ts has 677 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-workspace-state-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc4c31fccd6175aa111e744f187bbbf522bf339fdb79a3b358d01691c221e55"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/codex-visualize-card.tsx: 675 lines of code: src/components/message/codex-visualize-card.tsx has 675 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0067d2c49b9765a50151ffbfc5e2f4a06d37c6c0bd3d2e11e505bb08875beac"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/sidebar.tsx: 671 lines of code: src/components/layout/sidebar.tsx has 671 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94b3d3747d60d5de53e255102747a1f3135e215461cb08f037f521c9ddfab46"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/browser/browser-surface-host.tsx: 658 lines of code: src/components/browser/browser-surface-host.tsx has 658 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-surface-host.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"126917e52612e040250882cca85d38c72c4a040e04b7c8a032a852e5e4c3cd2b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/forge/forge-issue-row.tsx: 654 lines of code: src/components/forge/forge-issue-row.tsx has 654 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-issue-row.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a0945f608b8c930b53f28e76ccbb0c3dd1346316037b48400d56b495ee793"}},{"ruleId":"R3","level":"warning","message":{"text":"browser-agent/src/index.ts: 653 lines of code: browser-agent/src/index.ts has 653 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":"browser-agent/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84942902041db97af35a52dfb99bd46f22e1266a4e0c125ee1175bc710ac8f51"}},{"ruleId":"R3","level":"warning","message":{"text":"src/contexts/terminal-context.tsx: 652 lines of code: src/contexts/terminal-context.tsx has 652 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/terminal-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"729f75aae8010270cc0419787406012c44655fe152f8c91093952fe5e0af7f36"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/task-editor-dialog.tsx: 645 lines of code: src/components/tasks/task-editor-dialog.tsx has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-editor-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db99d69d08ce0faa79cd460029f81ab4f918ea8d342de9bb8d0f3271a9bd0f1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/transport/web-transport.ts: 643 lines of code: src/lib/transport/web-transport.ts has 643 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/web-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa3f5cdb787e15cace4da38c09d1591e94b2141742b2f7ffe9f5bf145ce4402"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/automations/automation-editor.tsx: 640 lines of code: src/components/automations/automation-editor.tsx has 640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b6387158e1880048a3e0324c8be3039859f974cf1fdaba5d87fc5f55e202e1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/web-service-settings.tsx: 640 lines of code: src/components/settings/web-service-settings.tsx has 640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/web-service-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e47b60a2b9c654fdcd0370f7c250e21434378e1a72dcf2b1dad355d5bf55b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/task-card.tsx: 635 lines of code: src/components/tasks/task-card.tsx has 635 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d39141523e670e305680a35ebf5be8d034143d6fc733c0c052c29d4530e98e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/quick-actions.tsx: 620 lines of code: src/components/chat/quick-actions.tsx has 620 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/quick-actions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6120938261bbac85856c3dd4c0dffe0bf04fc81d0bc8bb4ffeb32f7ecdbdc55f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ai-elements/message.tsx: 617 lines of code: src/components/ai-elements/message.tsx has 617 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"889187ecb3787ddfae97fcae293daf2bfe01caa8ad38051f7dfe8aa5bd3afa84"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/files/file-workspace-tab-bar.tsx: 616 lines of code: src/components/files/file-workspace-tab-bar.tsx has 616 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe0e6da88b46a180905ecdf8cc8da47b91be816dc1fbe34f86f3abb79f92b1a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/use-connection-lifecycle.ts: 612 lines of code: src/hooks/use-connection-lifecycle.ts has 612 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9689c216effd7c02a806c3312893c1198a1955c0b7201ddeb7554fac412a63"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/virtualized-message-thread.tsx: 610 lines of code: src/components/message/virtualized-message-thread.tsx has 610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/virtualized-message-thread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fd2d6c6ccdea64e132da4f53b2a05c6271be87bce9fee4f8d9b49dc4f062b3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/ask-question.ts: 605 lines of code: src/lib/ask-question.ts has 605 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0415ade665874c45f36a147416baac25ba680ddb90a01a6c26c6e293ae5e274"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/ask-question-card.tsx: 603 lines of code: src/components/chat/ask-question-card.tsx has 603 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/ask-question-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"120f06b1db2cf1253177f64a4bc95704fac69f13bafdea74baf31fc8d3e4d432"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/session-settings-picker.tsx: 594 lines of code: src/components/chat/session-settings-picker.tsx has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/session-settings-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2bd882dcc1863d2a11af87a3983ba21dd6b6b859c2a7d864a7284dcc268ff2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/commit-message-settings-dialog.tsx: 594 lines of code: src/components/layout/commit-message-settings-dialog.tsx has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/commit-message-settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e034876e1bcfea353dd2d6f87cb8ede9134db2c732755ea03581ae6915b86aec"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/activity-timeline.tsx: 594 lines of code: src/components/message/activity/activity-timeline.tsx has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-timeline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf051bc8e9295138a82c8193bb64ea43e872f5678c99283fba926e719d8c3bd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/keyboard-shortcuts.ts: 585 lines of code: src/lib/keyboard-shortcuts.ts has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/keyboard-shortcuts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdabe00ff2eafdfaa8d830b8ca3aec742907d2e48ad8a50dc648b357b442221d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/browser/browser-tab-store.ts: 577 lines of code: src/lib/browser/browser-tab-store.ts has 577 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-tab-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa75ca647a79d664fd52941c1dac7adf594c91c21c440ba10037c54c1f21a8e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/channel-events-tab.tsx: 571 lines of code: src/components/settings/channel-events-tab.tsx has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b2223b9e81fea5c8cdd1ded17f5d8fd3507e289bc3905dfccea12657e905ce"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/conversation-context-bar.tsx: 570 lines of code: src/components/chat/conversation-context-bar.tsx has 570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/conversation-context-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a06d80c05b117fb19024fac8ed179a78349ac8a8dc803153b9678ed645d986"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/pet-marketplace-dialog.tsx: 569 lines of code: src/components/settings/pet-marketplace-dialog.tsx has 569 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2fee027ce69c7bdb794a6fe41bd89b3ebb9aa86b6a41beeb0b3d383976f1b0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/files/pdf-viewer.tsx: 568 lines of code: src/components/files/pdf-viewer.tsx has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/pdf-viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e1af5d0f4d8799a4c96b93eeb9204d7303dbdb164e4e37e61030b2a68222e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/assistant-editor-dialog.tsx: 568 lines of code: src/components/settings/assistant-editor-dialog.tsx has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"220154e3386b2ca1e3585f0d5f15cc7021ae028642f22a2fd66f0855577b45f9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/git-log-branch-filter-list.tsx: 563 lines of code: src/components/layout/git-log-branch-filter-list.tsx has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/git-log-branch-filter-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c68600ed4cd011243e0aae828b87692b17cf266f23e9222c2740b2ac0799cf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/use-timeline-window.ts: 558 lines of code: src/components/message/activity/use-timeline-window.ts has 558 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/use-timeline-window.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b158152cf3e8a71136d0358659e43717dcbc646dc65f2bc34289acbb32f2f08f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/transport/remote-desktop-transport.ts: 557 lines of code: src/lib/transport/remote-desktop-transport.ts has 557 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport/remote-desktop-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72365e2eb93ebd18a86e725344b22ca52ea939c6932db191632b754648423ce"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/rows/delegation-rows.tsx: 549 lines of code: src/components/message/activity/rows/delegation-rows.tsx has 549 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/delegation-rows.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c750b7d56bafb10b09268058358a17095d30b9bde755ece1d3bffdbbb6765b74"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/unstash-dialog.tsx: 548 lines of code: src/components/layout/unstash-dialog.tsx has 548 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/unstash-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a1957837d3edc7a0b78f820b89a701c2c0cb6bf9ed23f635826501908617f9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/quick-messages-settings.tsx: 547 lines of code: src/components/settings/quick-messages-settings.tsx has 547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e89bce4185547fcfca23010ad45306a92ea878a130913a2deb38bab8e324c21"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/use-session-feedback.ts: 543 lines of code: src/hooks/use-session-feedback.ts has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-session-feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4493d8417d9f97dba93fc238252b79b9f5e2ce0cfa6a033d95f5408a053595c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/contexts/git-credential-context.tsx: 542 lines of code: src/contexts/git-credential-context.tsx has 542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/contexts/git-credential-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b270d3b0852e50bf0774e79382a74394e316c1e9616f32e425420ab9b587c092"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/browser/browser-status-layer.tsx: 536 lines of code: src/components/browser/browser-status-layer.tsx has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aaa358c87cb00c7147a61c8802647a1aa39c2c6e085e7ad68188ce3b469de5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/forge/forge-settings-dialog.tsx: 529 lines of code: src/components/forge/forge-settings-dialog.tsx has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/forge/forge-settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9871bb51e0edc3bfec244adf9e0ac81f6d72b459e8294447518806631b0c5a9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/status-bar-computer.tsx: 522 lines of code: src/components/layout/status-bar-computer.tsx has 522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/status-bar-computer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"219eb3a3f2095666b1972045ff1054304db71b6391403424077a93cf9dd2af68"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/updater.ts: 522 lines of code: src/lib/updater.ts has 522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/updater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"457bde9ace0293131ae7d65beaf2144ad523f491dcf793435b64cb58025a55f2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/custom-style-section.tsx: 521 lines of code: src/components/settings/custom-style-section.tsx has 521 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/custom-style-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa5d900cf50a7d2f34755b9a34510dc5b09898db343641275b4853259eca01b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/conversation-tag-picker.tsx: 519 lines of code: src/components/conversations/conversation-tag-picker.tsx has 519 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-tag-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"642be24430a78331ccc4bbe6e09d85224073af8c73aaab58103029c938c8cbb1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/browser/browser-prefs.ts: 518 lines of code: src/lib/browser/browser-prefs.ts has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-prefs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fae2522a650914eab078fecb763f8c4f417e8dc2dd453d107e3c3aba83d0c7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ui/drawer.tsx: 517 lines of code: src/components/ui/drawer.tsx has 517 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/drawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12a4627f9b78fccdb6019e159aa27557fa0c3303d65c04de01620ae577dce6b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/token-usage.ts: 515 lines of code: src/lib/token-usage.ts has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/token-usage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245eff8fcd4d1ead9d58f1b6a7d9c9687d8e253f3515441c9dd181703fb5f02c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/agent-selector.tsx: 513 lines of code: src/components/chat/agent-selector.tsx has 513 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/agent-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad0bd09c9121729778790c91551d5f9f3e62e296409034d2a3889ca53c773f4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/sidebar-tag-filter.tsx: 509 lines of code: src/components/conversations/sidebar-tag-filter.tsx has 509 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-tag-filter.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26fd1834a6ba0888cc4ce5773fd63740ae962f3b67eaee82e566e95b7a4261"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ai-elements/file-tree.tsx: 507 lines of code: src/components/ai-elements/file-tree.tsx has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/file-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73f533c4b06e5dff04ec5b372eb2fdc16ef407893454578a2ff2fefce10111b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/custom-style.ts: 505 lines of code: src/lib/custom-style.ts has 505 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/custom-style.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae4afd839bae0fe9377d184f0841bd12dc893e2c88e4cbbda01429aba8405f4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/browser/browser-api.ts: 503 lines of code: src/lib/browser/browser-api.ts has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0355f365145168705d4a4186dfea123a2efdcd05d2f01d7095ff36f7332a333b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/office-tools-settings.tsx: 502 lines of code: src/components/settings/office-tools-settings.tsx has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/office-tools-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ad2f2f2379186e394de6ff3aa3cc59fb6ebf0eb12ca17c1168146c309400c1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/selection-action-bubble.tsx: 501 lines of code: src/components/message/selection-action-bubble.tsx has 501 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/selection-action-bubble.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33618303d5d4adf01f128337018015b73ad78b313166932916dc46c7897b010"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/general-settings.tsx: 500 lines of code: src/components/settings/general-settings.tsx has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/general-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01d41b6452ebb564bc52d9bbbcea01d4bbf828a46d32cfa9d4d3031490ab4f0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/pet-manager-section.tsx: 500 lines of code: src/components/settings/pet-manager-section.tsx has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30979e9acc7872a700e7c949718287b9241b9262aa1fcd527e5df6a1858efe0e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/export-conversation.ts: 500 lines of code: src/lib/export-conversation.ts has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/export-conversation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0cdc55d0bf184695c7a49c597ecebee5c015003e9ac31cd0946041f994bcbc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/rows/edit-row.tsx: 494 lines of code: src/components/message/activity/rows/edit-row.tsx has 494 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b165b2fd31101015adf5196e02231ba3912d60830d17fa788057167ed0e3b9e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tasks/task-deliver-pr-dialog.tsx: 492 lines of code: src/components/tasks/task-deliver-pr-dialog.tsx has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tasks/task-deliver-pr-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60f90487d12e7b44d523a4129d89404e7e3187c82e18ec1d2279ee65fc8399c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/branch-selector-rows.ts: 492 lines of code: src/lib/branch-selector-rows.ts has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/branch-selector-rows.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"458eb20d2d612ef23c42a8de560d6d250a58bc9143679f429abebebc6359835b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/browser-injected/helper.js: 491 lines of code: src/browser-injected/helper.js has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6294eaf2d0022d77dea2cc4ae1fe3f0ed81221c0ff618d5062253f93a14e42bf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/browser/browser-toolbar.tsx: 490 lines of code: src/components/browser/browser-toolbar.tsx has 490 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8068f18f96c975a87b2f0c92a704db6e66a29a3c7b9cf258b28d29846477ec7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/use-agent-call-model.ts: 490 lines of code: src/components/message/use-agent-call-model.ts has 490 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0496aa66f22c185d4a0e8138cad4f7ee43675f0fbc9bb1e0ac357f923aec44e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/add-node-menu.tsx: 489 lines of code: src/components/canvas/add-node-menu.tsx 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":"src/components/canvas/add-node-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8017d0bb4a42fbb2786527045f559c9260298a72e3054d7a7eb556d776cc7e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/agent-tools-settings.tsx: 489 lines of code: src/components/settings/agent-tools-settings.tsx 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":"src/components/settings/agent-tools-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a94ced94273f734b601cd7bd75a3ada9f53c347912b5ed677f588625770462"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/use-connection.ts: 483 lines of code: src/hooks/use-connection.ts has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-connection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9359f8e9b905356ec286fd541cc84a39b6f666f053b37f7be3d990c7c55da388"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/json-render-charts.tsx: 477 lines of code: src/components/message/json-render-charts.tsx has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/json-render-charts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6e2b7bb78694ae83f561ac87ecb2780221070fc8a35f10938b1d69fd36dea"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/use-open-file-tabs-watch.ts: 476 lines of code: src/hooks/use-open-file-tabs-watch.ts has 476 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-open-file-tabs-watch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447786c045ad7cae59476f813b7e1e59ac8bab849643db9d40d9f13d840e956"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/activity/exit-meaning.ts: 475 lines of code: src/lib/activity/exit-meaning.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/exit-meaning.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36474240fdbb67bf69f8f8bebf139da337103ce03b5b9a2fbd38969411cd6d0f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/browser/browser-screenshot-markup.tsx: 472 lines of code: src/components/browser/browser-screenshot-markup.tsx has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-screenshot-markup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634ef58e7b09fe6f2988c038753ace79f727a23557c4c911d6211710d4ba67c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/activity/build-activity.ts: 471 lines of code: src/lib/activity/build-activity.ts has 471 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/build-activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dce8a319af5f6d8e2b9f6dfeecb5d49c1a000037a0f3f7f437ad44c621300ac"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tabs/tab-bar.tsx: 470 lines of code: src/components/tabs/tab-bar.tsx has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c35d70a04376777e91383d54ec3a98b7d70f65d5f68821021b720e6514a9b0b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/browser/browser-agent-access.tsx: 468 lines of code: src/components/browser/browser-agent-access.tsx has 468 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/browser/browser-agent-access.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ed9a23c13222040f22cbe9b9b60ab3447a4ee6f586622f2f20d104bf02787"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/automations/agent-config-section.tsx: 464 lines of code: src/components/automations/agent-config-section.tsx has 464 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/agent-config-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ec7976dab697d0dcdbd60e9f8967a3f0ade3627ded64484f18bf8f23dff38"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/qoder-config-panel.tsx: 459 lines of code: src/components/settings/qoder-config-panel.tsx has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6cc7b89627cc11bbeff60bd44050031017ee48682028c1dd88c116a56cf49c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/sidebar-view-mode-storage.ts: 457 lines of code: src/lib/sidebar-view-mode-storage.ts has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e9940e982e07032c5ce9808dc7af86e37cf50051ca14b9955eb929af48a2c0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/activity/command.ts: 454 lines of code: src/lib/activity/command.ts 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":"src/lib/activity/command.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3bcf5f3e57ecde36d35d3cf9ff9f3513f1baba68b188b566f830fe97290c79"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/activity-row.tsx: 453 lines of code: src/components/message/activity/activity-row.tsx has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329482d0d35fa06b0a0edb5cbaad23b6ad1d1d8cdec66b377c42ba1b872ee1f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/browser-injected/console.js: 452 lines of code: src/browser-injected/console.js 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":"src/browser-injected/console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff14ba6faabbd7bee8bdff33ec7eb7fd007752b19a46edfb637b5f7ebe0862c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/automations/composer-invocations.tsx: 451 lines of code: src/components/automations/composer-invocations.tsx has 451 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42434fe1d253fa4df63d61fcdb6fb0f8b1dc151112b2b832c320026706945761"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/tabs/tab-item.tsx: 445 lines of code: src/components/tabs/tab-item.tsx has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/tabs/tab-item.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f3b7ae0a120a20551c70063438136bb36809672dd011a9d2162c8c5a585890"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/live-runs-chip.tsx: 442 lines of code: src/components/message/live-runs-chip.tsx has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/live-runs-chip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a46087f3bac00a4ef30c7ebbfc4e5348e7954f20fc393dc54c868b31e16dbdd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/codeg-mcp-tool.ts: 438 lines of code: src/lib/codeg-mcp-tool.ts has 438 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9edd9f6c63ad0ee52753ce9dcd198cf3eb21b29bebb09932531bf87a36a005c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/goal-tool-call.tsx: 436 lines of code: src/components/message/goal-tool-call.tsx has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeab0d33318295ffbdfe0c094047c78153f261434d9c5e240243cc23d3481904"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/chat/composer/use-reference-search.ts: 430 lines of code: src/components/chat/composer/use-reference-search.ts has 430 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/use-reference-search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4222aa9d4efb87e5404a1df44ce63a1d55d8bee00a1d46d042148e4653369c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ai-elements/code-block.tsx: 428 lines of code: src/components/ai-elements/code-block.tsx has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"163dbf195591b22d794851013e4964f65ff43223fad1b7df1c83663e29b5c5c9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/conversation-tags-store.ts: 425 lines of code: src/stores/conversation-tags-store.ts has 425 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/conversation-tags-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4769bd43ad062ed23b2d074e6b55351c9c273f9510eea3fd817e9a0d47fc3f99"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/activity/rows/explore-rows.tsx: 424 lines of code: src/components/message/activity/rows/explore-rows.tsx has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/activity/rows/explore-rows.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8aff878c2a7c719fdb49dee2c7a3af45f4a2b782034712d6c06d338eadc073"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/token-usage/token-usage-filters.tsx: 424 lines of code: src/components/token-usage/token-usage-filters.tsx has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/token-usage/token-usage-filters.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4106af0d2f03a165b6014cae764d146a276051619fa51f11293cc464ea93e6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/files/doc-guest-preview.tsx: 423 lines of code: src/components/files/doc-guest-preview.tsx has 423 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/doc-guest-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6009a476f7dc969924612a8438a9dc4d96652041d548365690d76d2a8bff68fb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx: 421 lines of code: src/components/project-boot/hyperframes/hyperframes-launcher.tsx has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7a5cca56c865952f13d043a6972ca8d01cfcaa45a927a38b0926fc6146d61f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/conversation-detail-header.tsx: 420 lines of code: src/components/conversations/conversation-detail-header.tsx has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/conversation-detail-header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0660b02826a9f364c921d719cd025815e22f57bfe078bd3f9ed725eaa51c9a07"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/conversations/sidebar-folder-group-header.tsx: 418 lines of code: src/components/conversations/sidebar-folder-group-header.tsx has 418 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/conversations/sidebar-folder-group-header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52af762db3af36d3ce56cd558681a92037b0c0cd59fc7ec557508b8addc6010"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/files/file-viewer-drawer.tsx: 418 lines of code: src/components/files/file-viewer-drawer.tsx has 418 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/files/file-viewer-drawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce98b6cf06b837536bc992916df8afef464f932c7372e3ab8b8823f7a6c291"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/canvas/canvas-board-list.tsx: 415 lines of code: src/components/canvas/canvas-board-list.tsx has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/canvas/canvas-board-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83994086d4d156ee742dc06f562009baa2aafe0f6528c5f24287e42594ca372b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/layout/workspace-chrome-controller.tsx: 415 lines of code: src/components/layout/workspace-chrome-controller.tsx has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/workspace-chrome-controller.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1932b74e553848556591b749d275cb49db2d27db0300c67d8576874529bc682"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/delegation-settings.tsx: 405 lines of code: src/components/settings/delegation-settings.tsx has 405 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/delegation-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9fb864e4f7bda9db031cc02066ef7445b2b09915419cac9bb0efa4c32bcda"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/settings/opencode-behavior-section.tsx: 404 lines of code: src/components/settings/opencode-behavior-section.tsx has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/opencode-behavior-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8e253faccb53f899ae14ddcc3610309628ca511ad44b1bfadbc173db0be378"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/message/completed-turn-content.tsx: 402 lines of code: src/components/message/completed-turn-content.tsx has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/completed-turn-content.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8840af77828f40b0dfef1579647a94bb3317085b45988a2fe98baf9dae7053ba"}},{"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":"browser-agent/probe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ea61e3d24929b325870bbfa71894ad0b00b3b5b82f1b4bbc7ecebd99727ba5"}},{"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":"src/app/activity-gallery/page.gallery.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d74282cbe96a8b6519697fe3b58ec46d13fed66c4fb946a66ee8a8300a1d88"}},{"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":"src/browser-injected/picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6432a822451e86ba71945ad38bcdca49030855e03bb813b54d5e3563ec47086"}},{"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":"src/components/merge/three-pane-merge-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f60e998328eb6b1a86427fab2cdbaaa6e3d28672417a55bb97c99543307d31"}},{"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":"src/components/settings/pet-marketplace-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"300172aae674c8c1c6d846e38b1769654b99f2b1b642d47e7447b908b4d7e1c9"}},{"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":"src/components/settings/quick-messages-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"485185fc8c0791b302ff1409ea13854dfdc133ef46e952f6e4dc7d0b36f445b1"}},{"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":"src/components/settings/pet-manager-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696347903e587dab774994d28278b1221ff2d92bdaf65bbebd91325390a74a4"}},{"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":"src/browser-injected/helper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a902f62bcb524b4be54f468cf5bfa45cd3612903c510662e4d154e2aa80bdb37"}},{"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":"src/browser-injected/console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4038ad02e783e471dff68b3da64710ebce532375cff9981e6fef97258b985202"}},{"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":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404b923266e05b1afb0b591f24eff5e2d4e5c83b5f63f5a8c4e6bc8816b5b677"}},{"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":"src/components/settings/channel-list-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd9b19e2566e5c5a6b03615745762024d6916966ce7480007b3e1b2eb12adf1"}},{"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":"src/components/settings/appearance-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d84a29eb79341b24193b9acb2ef182a1002c388dfcc5e63e42f28ec83c97949"}},{"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":"src/components/project-boot/shadcn/create-project-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a126e1b7eabd8f0cca2641bf7f095958982a6a7302359d8f71755d4aec36167"}},{"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":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"909e683c85358ca527377ec92a994b6d744124136d6c17f7f77c50435204a135"}},{"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":"src/components/settings/font-settings-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d3358ab9ed6ab5e9a95a668e1bc5546e8d3c10fcbb53351b488ee4ac0f639"}},{"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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64119cf4cc5f34db92fddfd7e487bff5879c7147ec571b920c69390c850bc695"}},{"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":"src/components/settings/workspace-background-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190b808ddedae5ad34423c32a38287d4572b5313253384abded1b877725d4c0e"}},{"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":"src/components/settings/add-chat-channel-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b683ef62b7bbb4ffed24688316ebff21fd43faf8e870472cb4acc4f6c0c28aa7"}},{"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":"src/components/project-boot/shadcn/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a1ce5121bb39435a001dcb48221e56a63d3db1af99abfcb3a719d581eaf289"}},{"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":"src/app/pet/_hooks/usePetDrag.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5459c40732f3363dbfe31509e342daadb33ed96a98605638bff2bec4579c9"}},{"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":"src/components/settings/edit-chat-channel-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d71adfa244d420545774659a65039222fdcc8ed14d3e952ed5c2a9e200a7ff"}},{"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":"src/components/settings/pet-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ef3ec169245a51264a3ec75c5172dc21c6f0417f768d48c4aa39bb3d438ad"}},{"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":"src/components/ui/field.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f7c177f9367b38263ead918acbb9eef5267443c177425e1ea784bca01af124"}},{"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":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9605371a2135a8f6b9b83a82d07176042b7154dd2690088e487dbb4d38bf69"}},{"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":"src/components/settings/weixin-qrcode-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c37e83d44674c419450f988e74167054c2d9b61cdd2086a12271c2d3f2f6e9"}},{"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":"src/components/settings/pet-importer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc3a340f8cb778c7edf6d1adcabf4ae41e8422a882939377468112ba017234"}},{"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":"src-tauri/scripts/prepare-sidecars.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8085aa72de8579e046d8216ece3894ecd78269d92d21e2278bb8befab202a"}},{"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":"src/components/settings/pet-action-preview-grid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f943b5cc2d7c5d7879325e89f1596dbc333ba0c5cf2a07a3a131b5edb9b773"}},{"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":"src/components/layout/window-resize-grips.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803f62027772e5a58c65a43571b4d64e15a5cc38babcf22058166ab42392c656"}},{"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":"src/components/settings/shortcut-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf278ed3e48182c4fca85773d07f6b9df18ac64cc9241a98e0ae58c97e0d353f"}},{"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":"src/components/project-boot/shadcn/shadcn-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6524da653f654571f95cb3c188ca3a165a3346177066a2a2baf6f4d036be5c6"}},{"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":"src/app/commit/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d15bdedb942c4d7e77dd465dd156fbc3ba47f07c27f921d6466925faa45373"}},{"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":"src/app/merge/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50929aa9a24b9a5eb10869d48181df5201a27915dcfd2d86b2d8e214feb0a835"}},{"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":"src/app/push/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8fefeb861074742009995d8c4ccaf15c0949db56ba9a5da69f60b4e9778803"}},{"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":"src/browser-injected/eval-render.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f1c938a9bfca73d3d2ab7013cc45f6205dca9bb1eebd3e6f2530bd556d341e"}},{"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":"src/components/settings/channel-commands-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf61681ef2020f4d92ac2028a13cf72bda064a016d10cf0b82b8297ab6afc5b"}},{"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":"src/app/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db85a84d40e7848aa66de954f939975d07c3dfa2f6ded4c55d15995758d691"}},{"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":"src/app/pet/_components/PetMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fff029b5c4a88317842db1f0352a719440e38a3ec35a5fe768a5ab29128550"}},{"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":"src/app/stash/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7119d4ca641065bb12e91b3c5377923063dbe88a7d97ae85d907942b0829918"}},{"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":"src/components/project-boot/shadcn/shadcn-launcher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e056d92c0059ac9dd3654d615e29939f48c4fc43f770c1061a019b2c9d9148f"}},{"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":"src/app/pet/_hooks/usePetAnimator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e393120e6a6d16d645f5a44219ec5ab2d112ddef960f114cf51dc149ea77f1f"}},{"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":"src/app/pet/_hooks/usePetOneShot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0db9db03bbcc98e55858c8a23653bda2268c5fcb054aece098cdb98c8c4ac4"}},{"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":"src/app/pet/_hooks/usePetState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8649ec338e62fa9f3d448967ff14389e3afeb158b66b5e9c9756ee33cf38817b"}},{"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":"src/components/ui/card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9867d43e1660c9e5faab7994acb22cec901f8ddd2b6645665b6437d0a2be6c"}},{"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":"src/components/settings/channel-other-tab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acaf34b38bcc1303634b1c15e7fca0d57cb8c914b449ea5f0ff38d55769d66c"}},{"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":"src/app/pet/_components/PetBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfee5dcb2d828ce8c3fc41264511ccd22779569c48d3fcf7513cdb6cbe00a74"}},{"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":"src/components/chat/experts-command-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3da214751e381d60e11c041676e2dee88fc66d3a244d01b836fbc78ac8e4a0a"}},{"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":"src/app/import-sessions/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5ac375b24eb8f0e535ebd72072fe32886cf5557d3a9783991000d0d51cb50a"}},{"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":"src/hooks/use-branch-tree-expansion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b931cd764b938b8cacbbe14b546e773f9723360250890e82921a7b4f3a84b9a5"}},{"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":"src/lib/pet/use-image-natural-size.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"509fbb40c26438c2896dd8abd317d4d663c9322fa725a9c78c587cb2aa5252a9"}},{"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":"src/components/layout/new-folder-dropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ea6230deb6678d0354793494867312ec3c143d6bb70cc157c5789eb12bf63c"}},{"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":"src/components/app-icon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca54d6e332a259636bbde3a748e6e60c7ff1295c907e71ee4e77dad97b962aed"}},{"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":"src/app/pet/_components/PetSprite.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b7a33d82d3e822a7a47fb78ca1ae7d3125b0fcea120dce1bb7b47bc1ab1940"}},{"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":"src/i18n/resolve-request-locale.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5594fbc109fe65248355d75a3519863045172f06a13704dacc9f50b702b90d4c"}},{"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":"src/components/settings/chat-channel-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ead45cdd88bb05649623badcf9cc72f6f61231e1c6e24d08fc50ceda539e340"}},{"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":"src/components/merge/use-sync-scroll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3579ac5e29b0f0e009e7e18e4c58d82e666081ffee8b679bc6c864ea92e9cbe"}},{"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":"src/app/project-boot/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be63998ab9d04cc2fa2854afd70943fa8dc66b9e87dfed1ed6672e3c23a0493"}},{"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":"src/components/chat/connection-status.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca742d80d6c2ac1dfdbf7c1f235fc494c28ba259ee32e5699239543dfb3540"}},{"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":"src/app/pet/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9071f0c96482e0cd91b7b97d3b0a13ff24055eb5ddea02851e8d303a1e8f313d"}},{"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":"src/components/ui/folder-badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6371f54b93c9fcdc384a381692ed1e60645b02470b2b74ee402da2281d6b324b"}},{"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":"src/lib/folder-badge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9702f9e1b2a57762365ad1e602414d3e96259fb6618089933dd7d2f88c7cec"}},{"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":"src/components/project-boot/project-boot-workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0bafdb29608238b1e2b892c4d4caf11a1c4f6057c919027decebf3fea9aa40"}},{"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":"src/app/settings/agents/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85b5ad413e28f84097c4e79e5aed47bb48e179ec806226041f6d0d66fef09ef"}},{"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":"src/app/settings/skill-packs/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3744a715e1a00950c0c4ea01622a89588c8bf6d2fc4d4b847385aa74c658e30"}},{"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":"src/app/settings/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da23f04412d5963ead8f6898cd2ad560c13688004617325f19a60ada766359d7"}},{"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":"src/app/settings/experts/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c341c58a9bb4d311e7def0267ffcf0c4f9ea943ef58803a30ffc16a5b0cfd87b"}},{"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":"src/app/settings/office-tools/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc1a1fc81a456ffde0db3ac6f114daffcc4fe912cc850a5f29214d92dceb269"}},{"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":"src/app/settings/science/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ac663acc832a65a974104ea7427b1b6143ad60015a3583156fc33215904bd"}},{"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":"src/components/clipboard-fallback-init.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b55f9f83634131cf4163228ded6796227bc0e1310a86c459a39967d5033e9c3"}},{"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":"src/components/service-worker-init.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6673000f9e4d88c1ba4ce0277f0d5d84631815b0ee3ffa8548ccf51ae29222d"}},{"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":"src/app/project-boot/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be93993a851a2521332f2e2ea7eb47d1bca29af76156d64e4d0694a698994d8"}},{"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":"src/app/settings/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b300510567a94dd113ffbddbb36ed649cfdd6d35e904bc0caf5a50efcfd899ca"}},{"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":"src/i18n/request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1042d5e7022c812f5d0be897823e5912372824ba7aacf558caf5f1d173902"}},{"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":"src/app/pet-panel/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5fc66a6bc07c978880b013fb823682f95507e010ff2c75d3df27da80036f8"}},{"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":"src/app/computer-indicator/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcc9ce9ce31ce49332cdcac2905bcc6ee8b50e2f14ce631c02dff4c1debb2a8"}},{"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":"src/app/computer-marker/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d86ec4f27c9bb48e81358d98b3ed5b51e5e9c22f2283cf727bdb27252c851b"}},{"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":"src/app/push/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f312989b28f754c8dd8b2d2b57d8011018c3989bf848f94ef6cc2568416c0f8"}},{"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":"src/app/workspace/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bff69fef4a3002908418e194e705284864bd7dd342d5561cddca3ef858f7fc4"}},{"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":"src/lib/agent-modes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c9170ebc166bd9c901b8cdf2c9cda7d3415e2b5ff569e28b187558095b4cb"}},{"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":"src/app/settings/appearance/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8f6bd6ef9a77128339500aa4b9df37750c3e260f8e9c69ce21f959c11ac262"}},{"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":"src/app/settings/browser/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b1f09f6730ccea355c183bd802e203e32727e1f1543023b0f00af61b8e4719"}},{"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":"src/app/settings/chat-channels/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676969dbe8d77864f718b6ffffafdc4298231ad8221de529be3245649189c57b"}},{"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":"src/app/settings/collaboration/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8abec5a08414736f20cd1c022ca49d8d557f98ce9f292c56518d29aefc5457"}},{"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":"src/app/settings/computer-use/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49d0c9a9a8803315daf5fb6169354ea0c5cbf40e042d1620d7c4c8ed295292"}},{"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":"src/app/settings/general/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46501d90b3f25738bd2d703c15c90e0f522cc2e15a7f5635487a0059bf1c70"}},{"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":"src/app/settings/logs/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9e9f73bcee4e834f382b378f39d829d84a4ddf481d6744f212afcdb3819d37"}},{"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":"src/app/settings/mcp/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23422c80e18297250f122709505aba4dd6725e847ff8a1c50a3a087b824a3f4c"}},{"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":"src/app/settings/model-providers/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c30b8114a5edec36d735e7e1cfcfb08fc8787c097d1604afbea6b9560a1a90"}},{"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":"src/app/settings/quick-messages/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102e64b401a09b05e77fde7420ca60fe71394f673cbf4af8e7c2a931e4e33adb"}},{"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":"src/app/settings/shortcuts/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2d4995999dbb6113ff2563d840e48f102bdf09d0ba75f3769914277ecaa5c2"}},{"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":"src/app/settings/skills/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a970cece1ccbfbb9a0e7fbddfce68bfe009e66467177359d1e7b6027eb568f7"}},{"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":"src/app/settings/system/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a4f81044725f65bc5c9c66d56f8aa4d3e0be2c76d1cd8521d48f2d05884aff"}},{"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":"src/app/settings/version-control/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979764f12beb5aa5795b6822f899a62997d69aecef5340d0d1fe5d4c7234745"}},{"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":"src/app/settings/web-service/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71d369d6617557bac6114c3c4c89d6f4dfe169323ad4ed86cc6499b891dfae"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~69 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/components/chat/experts-command-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec552095556c0b036fb9dae070a94f1cfdd8fa960a92c02f1d71f2d7dbdc19a2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~67 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/hooks/use-branch-tree-expansion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"012404f77e8b6604b875b2ed69660bda03f3461903dfc4bd34f2e4fff8d723a0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/components/layout/new-folder-dropdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bf062a03751523c783da9314cb72c812f963360d85ee5c1a4028c74dd6b712"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/components/chat/connection-status.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80504ec146c0bb5e432e3ad99f0a997bb0bdf28d0bc760590b1ff7b82ac5356a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/components/ui/folder-badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c99ea249b9f68c52b2de960fc885a9aa109cfa921bbc70ead588bb03cedd507"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (111 application, 9 tooling, 846 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/components/ui/folder-badge.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/folder-badge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f980a9b3336c2f089ced171aacd1b9a8ba387363bd0aef9f5180d38129033"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (111 application, 9 tooling, 846 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":"src/lib/agent-modes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77846d2d0790dedb102d9903a27501521696cc7ec31f40504648d3709ac27bb5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockHeader\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eff087d8f991c622484570614b9e4187424f22b8df554bec85f0c4f9bd1383"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockTitle\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc38c2c2449706acafef2fee0258597741c72623320527c89b9f4c790adc4074"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockFilename\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6870fc1abc0838f21e760bab603e9435f0e5ca3f527c359774bace0ce4aeaf2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockActions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"940bd76a2750ec6afc28b9920969bf2d14e0416e883ba1ce1b6ce4c23b5d469b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockCopyButton\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"696acb6af958b136dafc8700f265d9aaf1cbb7c6ab2b1965772ddb1e33f28d7d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockLanguageSelector\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a66848f6c715ff922a776d14a2a7c61bd4090e0c9ba88d4ed51dc8fe5ab2466"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockLanguageSelectorTrigger\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c9aac2bd6e6d6db41f144d70a03d7b4cd625cba66606dc3d3476c7b424bf2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockLanguageSelectorValue\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792b2780606f05a2ad068e4c55b27433cff905311d775e85b6c90dffd66d342"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockLanguageSelectorContent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a24d567012251321b41a4a3d447f9fa4cef983dc4e240f878f0ef8a2190b55"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodeBlockLanguageSelectorItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/code-block.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1963b014f97db06941c1be9529f49f34e7d7503261eafd6324a422ae7f14cc87"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommitSeparator\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5c4da5efa24c544ffb8cd8a62b99b3a15ba373c594287e3c8945b453e2829"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommitAuthor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"190ce6061a0936c2db51733560fb895115e55664b8006fa0821802a977182913"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommitAuthorAvatar\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad5c513335372a5135af96f6c33468c5d5621f4de36afef827d1f15963b59d7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommitActions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e58c0e1e254c9c0e40e36ac77acd71762a7e389f82903908d196f29d26aaccf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommitFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/commit.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"03764b0906760495e4ffb76dbae538a16aad4a32eaec9c4bd707ef25ecf88917"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageThreadEmptyState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b06068aea287adcafff1e29400f3ba840fd28ad53d9e5f3f4bb7816a298b833"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageThreadDownload\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message-thread.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a9b399e4779e5876d0d03e05f24f16a9df37077ad767330d18015e81332c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageActions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d7028075eb267b49552ed099c81e678d76959b92c3c95d0d82211942547954"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranch\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d449b6091fc484dc2d912d3d7676140e56c1e672cd3792c0aab9ff93c0f5b3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranchContent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f824d3f9762824b6d67ac170798a9591407b0ced14ce8859cbc0d6eda7e69935"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranchSelector\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"618ca27ab0a0c3998bcf583d79ed288a2dc5d16b8214686dfe30582569c5c943"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranchPrevious\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea99a7f10a3d228a9deba03a53e15a8b4b726dd614b963dd1db6488248315e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranchNext\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692840c142305442bdde65b17285277e81d87147aeccb93a117b6b91e9aa9c3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageBranchPage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a0120d32699700996aacffec27d81283f848a6ef89ad94fb01850bb289f15"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MessageToolbar\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0787b341080401ef59acc826db8109ffa3f27ec11bf7233935afbd9bf8aed7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SuggestionState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/composer/suggestion/types.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca0d33882381e587893f5909b3b82b2cb09e992591b176445504fbd5f0438e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027HunkStatus\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dae8f2d1d1792fb58427eea542c4f702e41d447a03abb8dbc32ee08b51cede1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AppliedHunkInfo\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/merge/merge-diff.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc2d4b1cca02ce65995033140ea161324b95503fbe61e0a1e1eb8804f4ce14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentCallModel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8bf6954369938817f2d559a8c5ec9d225e290967ca25d622bf7d39e9be6892"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MAX_ICON_BYTES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/add-custom-agent-dialog.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc9a014fb52a54a6c0efd0ba81d870580c8d3f58166b8725657f19fa284e022"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DESCRIPTION_MAX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/assistant-editor-dialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52a01fcc19300153f1c77e8578c365ea0f599a8c336f3fcb057f82206eb76b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PI_RESERVED_ENV_KEYS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/pi-config-panel.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac074ccaa805e8795b8a1ced6704ea3fc2f9bf6531118730dc83267b21fa8aaa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027decodeJsonEscapedString\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/json.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d9886d3ef5c4924645cfcc8fc4a8525a4e7cda8c9d886ad6253f104e124ae2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserDocState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33c680591c7d5d2497676dee0d813131a7d83e1dec2d11ecf8c196d5598a7d0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserGetState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91d53e135779fca426cfe1c741396695862c23b029559332fa321dc0772181b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserAgentSnapshot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a9a47b1cbc59d7cd2db6a12014c468957872a8544deb3f6cf817b19b49629"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserAgentAct\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75f6dc31070b028a26f141cf28e1393d60e1b46856ab2a37fbe7530ff7c3a0d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserAgentConsole\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c90c9a04a8ab3f4b93afb98c563f9c3e7251121860e4d9dc6c3c6a0de67da"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserAgentCapture\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528ef18b70103afb9101d8be902d4be9eda712c82dcbb4b26ad112769e14286"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027browserClearDownloads\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-api.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"be98e619ef61cebabf6db27c066f893bfb5b5d0a033915571ebc0e0d426e76c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BrowserTelemetryPayload\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/types.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2ecd967de9f499737447eb66339da8f8c2bfbea0d482d237faa1e82f2d0d46"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BROWSER_TELEMETRY_EVENT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/types.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f51fc7e0d1e5b0b2d18f342c4a3ba0021b11aafed8b32fc0a1ba9fc86ca23"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ComputerGrantPayload\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/computer/types.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77fa2194cfd7c04863da58c1a27a6a6d38f90ce0254a52f2bb25a0b16447f9a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027COMPUTER_GRANT_EVENT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/computer/types.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"506e613e4c37613c5c7858c3e8606b436e4c2c8fba25d5a876a4e0c9ebd5ca8d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FileTabIdKind\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/file-tab-id.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd4d630a505dbc8271c302de56093987a338d0e6bad5270d585a7daf905ef30"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isRejectionActionable\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/folder-links.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6665f4f6a75b638b4e4cd5a7acc0efa7136da62d744defabbf938e92a1e5b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isCombinedSource\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/forge-source-items.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b7f776440cee5c8d18c2c0a457f3413e7b860bf8e0e8075cb3ee67c5986be7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_LANGUAGE_SETTINGS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/i18n.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba4a007dcda67fe1b086059332bc2993ad3240bc8a76116ac947ad4711289c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MODEL_LIST_VIRTUALIZE_THRESHOLD\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/model-config-groups.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cae3bc4beeb13431e37155f47779df80b3146a7a19ff272da3fa573a271977"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MONACO_DARK_THEME\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/monaco-themes.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8ecd64832aac9057d28a45e2797452754ec5ed4956a26fa4c9c6f2fd71c3e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildUserMessageTextPartsFromDraft\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/prompt-draft.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29f3e56a7fae8eb9466e8615cd87f26aee106f4d35b9d2fb6531dc2e73950e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027testRemoteWorkspaceConnection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/remote-workspace.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b72a1fac3d7fb258f5676976b982826b6f3a03db695d3f419e2513e3d363d6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027emitAppendTextToSession\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/session-attachment-events.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9621653bb27aadcb8df524383b5890f985523fd1ffcbaa09a3b17303fe2f27c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RANGE_PRESETS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/token-usage.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba85f5fee9cb46558a8aa8cb522894d348a899cdd532dad92a9374a1790be12"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@tauri-apps/plugin-window-state\u0027: Declared in the root 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":"package.json"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3889fccf2736ef47c332063e235a334f4546c2e0e559b13d6080a8d29ece856d"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027ai\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/message.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb9a2f2575722d5549c9b7caa65d96b098f8778fa5300caa70df569bf0a54bd"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): src/components/chat/sub-agent-overlay.tsx \u2192 src/components/message/session-viewer-host.tsx \u2192 src/components/message/sub-agent-session-dialog.tsx \u2192 src/components/message/live-transcript-view.tsx \u2192 src/components/message/message-list-view.tsx \u2192 src/components/chat/sub-agent-overlay.tsx (one verified cycle inside a mutually-dependent group of 14 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/chat/sub-agent-overlay.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"175a254ad7db8e25d50cff04b83a72ed6357a3a2abe6b238db9cbfd18d63861b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aadb8c00478fc80e148bcc3bb79859c0d53bfd0fd436cd655f6949cf6d76afe"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"87482bacecd20396ab0c69a128c5e719fed890e3078c32ced7f57f7a67943d6e"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode_context_window.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7a4fc4e7dce4712a9f5dfcbcff0a722d42da8e8387fc94fe5532fcd9ab1cde"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Referrer-Policy, X-Content-Type-Options, X-DNS-Prefetch-Control, X-Frame-Options. Missing: Strict-Transport-Security \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22120.5 on this card.) The server: \u0060axum::serve(\u0060 (src-tauri/src/web/browser_bridge.rs:819)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 Promise executor: The function passed to \u0060new Promise(\u2026)\u0060 is \u0060async\u0060. The constructor ignores what its executor returns, so anything this executor throws \u2014 every throw inside an \u0060async\u0060 function, including after an \u0060await\u0060 \u2014 rejects a Promise nobody holds instead of the one being constructed: the outer Promise never settles, whoever awaits it hangs, and the error is reported nowhere. If the body needs \u0060await\u0060, it does not need \u0060new Promise\u0060 at all: make the enclosing function \u0060async\u0060 and \u0060return\u0060 the value (or \u0060throw\u0060) directly. If it wraps a callback API, keep the executor synchronous \u2014 call the API and \u0060resolve\u0060/\u0060reject\u0060 from its callback \u2014 and do the awaiting outside it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"browser-agent/probe.mjs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad307e9724a3ebdecc39e0bc8f98fcfe8a1560e4b4cc18f30970d24978ba1ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!event.isTrusted || globalThis.__codegAcceptUntrusted === true\u0060 appears character-identically in 2 files \u2014 src/browser-injected/helper.js, src/browser-injected/picker.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/helper.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba07b5119954456e6fb33275bdecde5b4434411373454eece905a65f9716585"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length\u0060 appears character-identically in 2 files \u2014 src/lib/jsonc-edit.ts, src/stores/conversation-runtime-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":"src/lib/jsonc-edit.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8095ad404f17ddda36649742ee352adb68818b1dd3351cade35a0e97b390448"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!activeTab || activeTab.kind !== \u0022conversation\u0022\u0060 appears character-identically in 2 files \u2014 src/components/conversations/sidebar-conversation-card.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/conversations/sidebar-conversation-card.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"908538e7ebb55d6aa9da00940fd47ede7804fe0fa052d640544abf862baa1679"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!aliveRef.current || seq !== seqRef.current\u0060 appears character-identically in 2 files \u2014 src/components/layout/status-bar-mcp.tsx, src/lib/computer/use-computer-status.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":"src/components/layout/status-bar-mcp.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce0702609d75e90cd4aac9302bec7a7c838eaf5617fbcbc42e14c952175d808"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!folder?.path || !directoryGitActionType\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"de68046cf1d1bd4b87502608150f21c9a91e7b5d11491708208e0d16151dabe8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isDesktop() || getActiveRemoteConnectionId() !== null\u0060 appears character-identically in 3 files \u2014 src/lib/api.ts, src/lib/link-open.ts, src/lib/platform.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":"src/lib/api.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2745477a045e3d2c1ad331f98e7f4f567d77db956a094caee2e57022f371b71c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isHomeRelativePath(path) \u0026\u0026 !isAbsoluteFilePath(path)\u0060 appears character-identically in 2 files \u2014 src/components/message/codex-visualize-card.tsx, src/components/message/read-image-preview.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":"src/components/message/codex-visualize-card.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c93a33819f1d8d16ca636156e5e09c31fa0dacca8dce2b4b6d9bd1523d1cea8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!meta || typeof meta !== \u0022object\u0022 || Array.isArray(meta)\u0060 appears character-identically in 3 files \u2014 src/lib/activity/code-mode.ts, src/lib/activity/command.ts, src/lib/codex-code-mode.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":"src/lib/activity/code-mode.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"391d91b76ceafbf9670e6784c6b86fe0d93ea5b8d05bc50bb291cef0e06ffc29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!order || !start || sameOrder(order, start)\u0060 appears character-identically in 2 files \u2014 src/components/settings/assistants-panel.tsx, src/components/settings/mention-panel-settings.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":"src/components/settings/assistants-panel.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9b9616b9ab0a50ec55845888cd5587da8cde803aaa6bcc84b10c3cd948f478"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0022object\u0022 || Array.isArray(parsed)\u0060 appears character-identically in 16 files \u2014 src/components/layout/aux-panel-git-log-tab.tsx, src/components/message/goal-tool-call.tsx, src/components/message/use-agent-call-model.ts, src/components/settings/acp-agent-settings.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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"93879398b2799751812e4fc2560f9ca6d94903fa83d6c0eb5520f8d448bffdcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 5 files \u2014 src/components/message/use-agent-call-model.ts, src/components/settings/acp-agent-settings.tsx, src/lib/activity/progress.ts, src/lib/model-label-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":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"652ce4771f80b4aadb5c8e8c154395f777d584dc52af3f18d03d3d3d347bb50e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!styles.animationName || styles.animationName === \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/activity-row.tsx, src/components/message/slide-slot.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":"src/components/message/activity/activity-row.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d373367ecd1706ca2f923415f213d02cb2ce1db9518f9ea263d3f8d61d9bee2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tab || tab.kind !== \u0022file\u0022 || !tab.path\u0060 appears character-identically in 2 files \u2014 src/contexts/workspace-context.tsx, src/hooks/use-open-file-tabs-watch.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":"src/contexts/workspace-context.tsx"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3be64e087d1700641ffa30c2801001102bb81df00f4da554b759691011d753"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!trimmed.startsWith(\u0022{\u0022) \u0026\u0026 !trimmed.startsWith(\u0022[\u0022)\u0060 appears character-identically in 3 files \u2014 src/components/ai-elements/json-tree.tsx, src/lib/activity/mcp.ts, src/lib/permission-request.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":"src/components/ai-elements/json-tree.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d7cc9fd32a5d689c2f503f3599c4c2c62293d9f1db2f31e0ee976099801a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 10 files \u2014 src/components/message/goal-tool-call.tsx, src/components/message/live-turn-stats.tsx, src/components/settings/acp-agent-settings.tsx, src/contexts/acp-connections-context.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":"src/components/message/goal-tool-call.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c508566e0e930a667d7a4fc18faeb8f2c0ab78aa6d06404943d749e9380c9616"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!wasPrompting || connStatus === \u0022prompting\u0022\u0060 appears character-identically in 3 files \u2014 src/components/canvas/canvas-conversation-surface.tsx, src/components/conversations/conversation-detail-panel.tsx, src/components/message/live-transcript-view.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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb44fb31bd4d3db1944f906ebd10b33474168c34d81ac624b3cb7c9fe0afc3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(failed \u0026\u0026 !recoveredKeys.has(step.key)) || tool.status === \u0022awaiting\u0022\u0060 appears character-identically in 4 files \u2014 src/components/message/activity/rows/edit-row.tsx, src/components/message/activity/rows/explore-rows.tsx, src/components/message/activity/rows/generic-row.tsx, src/components/message/activity/rows/mcp-row.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":"src/components/message/activity/rows/edit-row.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"128ce557b8623f525b191fad372415c4a06212ff312cd69210b7fc00d8d5f63c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(path.startsWith(\u0022/\u0022) \u0026\u0026 !path.startsWith(\u0022//\u0022)) || path.startsWith(\u0022\\\\\\\\\u0022) || path.startsWith(\u0022./\u0022) || path.startsWith(\u0022../\u0022) || path.start\u2026\u0060 appears character-identically in 2 files \u2014 src/lib/link-classify.ts, src/lib/resource-kind.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":"src/lib/link-classify.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d4087d8a00ffc2a0d83b04ecda00b2ed9e7e5fe3db849da09c7f5599bb2b5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 src/components/settings/mcp-settings.tsx, src/lib/jsonc-edit.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":"src/components/settings/mcp-settings.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e371d6c9615e247b87db1dda289959a8f816467616941186a141b02b08b18c1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Intl.DateTimeFormat().resolvedOptions().timeZone || \u0022UTC\u0022\u0060 appears character-identically in 2 files \u2014 src/components/automations/automation-editor.tsx, src/components/automations/automation-templates.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":"src/components/automations/automation-editor.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e843b438d05b1919912a7ce1630606035efc19aca423f639e86c3385d1e1144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.sort_order - b.sort_order || a.id - b.id\u0060 appears character-identically in 2 files \u2014 src/lib/conversation-tags.ts, src/stores/assistants-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":"src/lib/conversation-tags.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"808f5e1f00a1eb3d0d41ccb6388b7e3fe95b9eb801e628c02c046a13352ecddc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.sort_order - b.sort_order || a.name.localeCompare(b.name)\u0060 appears character-identically in 3 files \u2014 src/components/settings/acp-agent-settings.tsx, src/components/settings/skills-settings.tsx, src/hooks/use-acp-agents.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":"src/components/settings/acp-agent-settings.tsx"},"region":{"startLine":5137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24fb7ee5dce351bdb54e501fbdda76f3258f1293a07ef1155078bd19e478cf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active instanceof HTMLElement \u0026\u0026 (active.tagName === \u0022INPUT\u0022 || active.tagName === \u0022TEXTAREA\u0022 || active.isContentEditable)\u0060 appears character-identically in 2 files \u2014 src/components/layout/branch-selector-list.tsx, src/components/layout/git-log-branch-filter-list.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0811378017827c0f8c7e9db6107f2aad00943f4a66222b8c085989203498626f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.skills_capable \u0026\u0026 !piUsesCustomAgentDir(agent)\u0060 appears character-identically in 5 files \u2014 src/components/settings/custom-skills-settings.tsx, src/components/settings/experts-settings.tsx, src/components/settings/generative-ui-settings.tsx, src/components/settings/office-tools-settings.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":"src/components/settings/custom-skills-settings.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a759656d92d8ab968e98a886fc511cb0d8ca1a006315f4396ef52ccf64850dd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aliveRef.current \u0026\u0026 seq === seqRef.current\u0060 appears character-identically in 2 files \u2014 src/lib/computer/use-computer-status.ts, src/lib/web-service/use-local-web-server-status.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":"src/lib/computer/use-computer-status.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"36247e0c7b4b6ddc6cb254bf32409429eba5e894d4ba0f6090739e314640390e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authState === \u0022loading\u0022 \u0026\u0026 \u0022bg-muted-foreground/40 animate-pulse\u0022\u0060 appears character-identically in 2 files \u2014 src/components/settings/cursor-config-panel.tsx, src/components/settings/qoder-config-panel.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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdf9ec9781ac321246384ca6d646c7199f636754b83528b550d6720917c91c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authState === \u0022missing\u0022 \u0026\u0026 \u0022bg-muted-foreground/40\u0022\u0060 appears character-identically in 2 files \u2014 src/components/settings/cursor-config-panel.tsx, src/components/settings/qoder-config-panel.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":"src/components/settings/cursor-config-panel.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"007feeff68de2c4335d9af74019249b20519e42fe3c38804cfb9132d0f864de1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.type !== \u0022tool_use\u0022 || !block.tool_use_id\u0060 appears character-identically in 2 files \u2014 src/components/message/message-nav-entries.ts, src/stores/conversation-runtime-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":"src/components/message/message-nav-entries.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b117b50bffeec47fc3dd4817def1497822c1de733005172d1de9154719235c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.type === \u0022text\u0022 || block.type === \u0022thinking\u0022\u0060 appears character-identically in 2 files \u2014 src/contexts/acp-connections-context.tsx, src/stores/conversation-runtime-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":"src/contexts/acp-connections-context.tsx"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd3b6772f97e94e11a0b646438c05edec81ff6b7f43d64e64dff8553744fa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.type === \u0022tool_result\u0022 \u0026\u0026 block.tool_use_id\u0060 appears character-identically in 2 files \u2014 src/lib/adapters/ai-elements-adapter.ts, src/stores/conversation-runtime-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":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccde0941c8e739b990e0aada728306438eeb0a8abd83a6e96eb783cb7a2950ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clipped \u0026\u0026 isOverflowing \u0026\u0026 \u0022collapsed-content-fade\u0022\u0060 appears character-identically in 5 files \u2014 src/components/layout/git-log-commit-message.tsx, src/components/message/collapsible-system-message.tsx, src/components/message/collapsible-user-message.tsx, src/components/message/context-compaction-card.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":"src/components/layout/git-log-commit-message.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1d5fd9b826bc9b641ed3ddf038083bdca833de77b10c0a22b8737492abee47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code.includes(\u0022M\u0022) || code.includes(\u0022T\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee3a35264cef1244d5e50a9b23c3099c26d9659b43ab068d1bebc18127165ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code.includes(\u0022R\u0022) || code.includes(\u0022C\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2387619f275727b4d5164214cfee6b769fad00bfdf5ad3bddbfb4df2ed61ae9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conn.connectionId !== null \u0026\u0026 !conn.isViewer\u0060 appears character-identically in 2 files \u2014 src/components/canvas/canvas-conversation-surface.tsx, src/components/conversations/conversation-detail-panel.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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1a3e7fafdce794753dfa2b87ef75a6885b91ab7b2971934e6ac6d3b838137f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth \u003E 4 || value === null || value === undefined\u0060 appears character-identically in 3 files \u2014 src/lib/codeg-mcp-tool.ts, src/lib/delegation-status.ts, src/lib/permission-request.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":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84cb9ca79ee29f88e77d704fd68516e52b0679e306bbea1e2165b09dcafa20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directoryGitActionType \u0026\u0026 directoryGitActionTarget\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad13ff7ec3100f7b1d77bdb1cf82aacd22fb4d83c8893ff7f63e669681c1990e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directoryGitLoading || directoryGitSubmitting\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e239c7aad69e11d6ce83c7e2392bd98724481dd6accbe04a0c0d033a3d3b98a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directoryGitLoading || directoryGitSubmitting || directoryGitSelectedPaths.size === 0\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfc8fb292e2492aab4d67769ec305bd06b3f533dea079d94681ba9f2b9fddab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0022Escape\u0022 \u0026\u0026 searchInput !== \u0022\u0022\u0060 appears character-identically in 3 files \u2014 src/components/forge/forge-page.tsx, src/components/layout/aux-panel-tasks-tab.tsx, src/components/tasks/tasks-page.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":"src/components/forge/forge-page.tsx"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e73455c9e0aa1f86bd262b8ef39bcb2b1faf7cac089778a27132dcd65650a2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060editor.isActive(\u0022code\u0022) || editor.isActive(\u0022codeBlock\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/automations/composer-invocations.tsx, src/components/chat/message-input.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":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"325049815d1a4a3d22627593c9838ea8d0bde7a77c4f451cf5c1e4aa169f909d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elapsed !== null \u0026\u0026 elapsed \u003E= LIVE_CLOCK_AFTER_MS\u0060 appears character-identically in 3 files \u2014 src/components/message/activity/rows/agent-row.tsx, src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/delegation-rows.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":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60293ac6e0bf6a5f6e64bace5336035ff1171dcf81ebb704fa2fb35253f105f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err \u0026\u0026 typeof err === \u0022object\u0022 \u0026\u0026 \u0022message\u0022 in err\u0060 appears character-identically in 5 files \u2014 src/app/pet/_components/PetWindow.tsx, src/components/settings/pet-editor.tsx, src/components/settings/pet-importer.tsx, src/components/settings/pet-manager-section.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":"src/app/pet/_components/PetWindow.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c356b91367dfa41625336b59aecb4fbfb19f81e7b46168d9cf8cac01a9b137c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof DOMException \u0026\u0026 err.name === \u0022AbortError\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/api.ts, src/lib/transport/web-transport.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":"src/lib/api.ts"},"region":{"startLine":4945}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b39d81abf4f9cc7c6435f290d46e8d9a435afdd183c32c58ea95bd6456d8453"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0022ArrowUp\u0022 \u0026\u0026 event.key !== \u0022ArrowDown\u0022\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-tab-rail.tsx, src/components/layout/sidebar-section-order-control.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":"src/components/layout/aux-panel-tab-rail.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac6e90e798cc3261b79beff4a40e84e5e366bbda978cb0bb47789f9084eb800"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0022Enter\u0022 \u0026\u0026 event.key !== \u0022 \u0022\u0060 appears character-identically in 5 files \u2014 src/browser-injected/helper.js, src/components/layout/command-manage-dialog.tsx, src/components/layout/remote-workspace-manage-dialog.tsx, src/components/settings/acp-agent-settings.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":"src/browser-injected/helper.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"487e7b6a7590a36dc964db5ce7222d92b7da2936ec62140423d74318546f57ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 || event.key === \u0022Tab\u0022\u0060 appears character-identically in 2 files \u2014 src/components/automations/composer-invocations.tsx, src/components/chat/message-input.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":"src/components/automations/composer-invocations.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9addd405a4e1ceea9d89d0ead87812c3eb86a6e7a0c4056456bed779e8b149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key.length === 1 \u0026\u0026 !event.metaKey \u0026\u0026 !event.ctrlKey \u0026\u0026 !event.altKey\u0060 appears character-identically in 2 files \u2014 src/components/layout/branch-selector-list.tsx, src/components/layout/git-log-branch-filter-list.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba86534e6dd98d573a2b95d672666815e0adee3a43f07fa70990f82a5fd30c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.parent_id == null \u0026\u0026 f.kind === \u0022regular\u0022\u0060 appears character-identically in 8 files \u2014 src/components/automations/automation-editor.tsx, src/components/automations/automations-page.tsx, src/components/forge/forge-page.tsx, src/components/forge/forge-settings-dialog.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":"src/components/automations/automation-editor.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d55d90fc467c0185042b74a329440c37e2fc838415ef610ef3b2a583a14ed6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060formatConversationTitle(conv.title) || t(\u0022untitledConversation\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/conversations/conversation-manage-dialog.tsx, src/components/conversations/search-command-dialog.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":"src/components/conversations/conversation-manage-dialog.tsx"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5644e91550b852570f650bcd7d504a637dc94938e52a3d706c777313d3fea3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasValidFolderId \u0026\u0026 state.loadedId !== normalizedFolderId\u0060 appears character-identically in 4 files \u2014 src/app/commit/page.tsx, src/app/merge/page.tsx, src/app/push/page.tsx, src/app/stash/page.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":"src/app/commit/page.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e294c5e0242058b873dacaac2fff7f175c58aeebd5e28f6551dd243aeba5e4a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ime.isComposing(event) || event.key !== \u0022Enter\u0022\u0060 appears character-identically in 3 files \u2014 src/components/layout/aux-panel-git-log-tab.tsx, src/components/settings/kimi-code-config-panel.tsx, src/components/settings/mcp-settings.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":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2ebfed6009e0a44bc89301ce2867b263a97b6aa85a35b3e0138d704403e4ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info != null \u0026\u0026 info.enabled \u0026\u0026 info.available \u0026\u0026 !info.installed_version\u0060 appears character-identically in 2 files \u2014 src/components/canvas/canvas-conversation-surface.tsx, src/components/conversations/conversation-detail-panel.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":"src/components/canvas/canvas-conversation-surface.tsx"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"187af59f51b3360389eaefbf1e1247da4ee087e1611e67ec5d90e5b0c2e17e53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialPath || (await getHomeDirectory())\u0060 appears character-identically in 2 files \u2014 src/components/shared/directory-browser.tsx, src/components/shared/server-file-browser-dialog.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":"src/components/shared/directory-browser.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7683e3840b54f625df58a5038df74227c06511f15f3ebb97c54e90b28e35c4f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isDesktop() \u0026\u0026 getActiveRemoteConnectionId() !== null\u0060 appears character-identically in 2 files \u2014 src/components/settings/backup-settings.tsx, src/lib/platform.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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"510f52510dfcd5860bcfbea5148ca97aa30054bf4fb5adaf94f3b25866bcbd75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isDesktop() \u0026\u0026 getActiveRemoteConnectionId() === null\u0060 appears character-identically in 8 files \u2014 src/components/layout/workspace-folder-dialog.tsx, src/components/settings/acp-agent-settings.tsx, src/components/settings/backup-settings.tsx, src/components/settings/close-behavior-settings.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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a5cd71f392581858ba886533f795f37c2e5e7234a27f66b855d14d5a6685dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isTouchSorting \u0026\u0026 \u0022z-50 opacity-90 shadow-md ring-1 ring-primary/25\u0022\u0060 appears character-identically in 2 files \u2014 src/components/files/file-workspace-tab-bar.tsx, src/components/tabs/tab-item.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":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a0a8184afbe9e2086da34b45a3948ac95206c2d739ceab9423181be8c16c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isWindowedDetail(detail) \u0026\u0026 detail.turns_offset \u003E 0\u0060 appears character-identically in 2 files \u2014 src/components/conversations/conversation-detail-panel.tsx, src/components/message/message-list-view.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":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c499ba298bffdc2a11b341ff579734cf18ff354a30c3846ff3323be311feb81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060last !== undefined \u0026\u0026 now - last \u003C PER_EVENT_COOLDOWN_MS\u0060 appears character-identically in 3 files \u2014 src/lib/desktop-notification.ts, src/lib/notification-sound.ts, src/lib/window-attention.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":"src/lib/desktop-notification.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f15aeed519ca35b3a4356840b4bf502a990b0c6c8b272def227a007aca90819"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startsWith(\u0022\u002B\u0022) \u0026\u0026 !line.startsWith(\u0022\u002B\u002B\u002B\u0022)\u0060 appears character-identically in 5 files \u2014 src/components/diff/unified-diff-preview.tsx, src/components/files/file-workspace-panel.tsx, src/components/message/live-turn-stats.tsx, src/lib/activity/edit.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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eb7394228775170996692ae9c46c2bfd74890a1647ae1e1a7f14ff6a026152"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startsWith(\u0022-\u0022) \u0026\u0026 !line.startsWith(\u0022---\u0022)\u0060 appears character-identically in 5 files \u2014 src/components/diff/unified-diff-preview.tsx, src/components/files/file-workspace-panel.tsx, src/components/message/live-turn-stats.tsx, src/lib/activity/edit.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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a744ba87bc3ef8fa6a9838766f8812f3fd87f7e64ffd24fd790d5e3c865b4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines.length \u003E 0 \u0026\u0026 lines[lines.length - 1] === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/line-change-stats.ts, src/lib/unified-diff-generator.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":"src/lib/line-change-stats.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fb36552496c5d96ae69bdd908ddb4e9d2b75fb5aca95db6b512d3eba698bd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022conversation\u0022 || conversationMaximized\u0060 appears character-identically in 2 files \u2014 src/app/workspace/layout.tsx, src/components/conversations/conversation-detail-panel.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":"src/app/workspace/layout.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c7868e9bcfbc8d3c55ef33ce764b2520f93dbf3315b7b09694fca75842b021"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextNode.children.length === 1 \u0026\u0026 nextNode.children[0].kind === \u0022dir\u0022\u0060 appears character-identically in 3 files \u2014 src/components/layout/aux-panel-git-changes-tab.tsx, src/components/layout/aux-panel-git-log-tab.tsx, src/components/layout/push-workspace.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":"src/components/layout/aux-panel-git-changes-tab.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b28e3f9cf61bc60434381032148736049dfede0284a971d3b04b9cb5db23f0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node === document.body || node === document.documentElement\u0060 appears character-identically in 2 files \u2014 browser-agent/src/act.ts, src/components/message/activity/use-timeline-window.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":"browser-agent/src/act.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"41be63a2e6fde3a48f37acfe67bffe2951317d96baa4a524e418a08f20f6f40e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type.name === \u0022reference\u0022 \u0026\u0026 typeof node.attrs?.uri === \u0022string\u0022 \u0026\u0026 isEmbeddedReferenceUri(node.attrs.uri)\u0060 appears character-identically in 2 files \u2014 src/components/chat/message-input.tsx, src/components/tasks/task-message-composer.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":"src/components/chat/message-input.tsx"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bec9bef04fdf1e0af24d66bb256b9eca2cc1f432c0e9e7ee9a8aae6a05ecdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.includes(\u0022*** Begin Patch\u0022) || normalized.includes(\u0022*** Update File:\u0022) || /^diff --git /m.test(normalized) || (/^--- .\u002B/m.test(no\u2026\u0060 appears character-identically in 3 files \u2014 src/components/message/live-turn-stats.tsx, src/lib/activity/edit.ts, src/lib/permission-request.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":"src/components/message/live-turn-stats.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"451d181286efdb8058b58f7b7bc4ffeeda39cd55fbb3751370631ef7e5e5e6d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notice.kind === \u0022navigation-blocked\u0022 \u0026\u0026 notice.reason === \u0022scheme\u0022 \u0026\u0026 getAllowedExternalProtocol(notice.url)\u0060 appears character-identically in 2 files \u2014 src/components/browser/browser-status-layer.tsx, src/components/files/doc-guest-preview.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":"src/components/browser/browser-status-layer.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbffe84376be8e8fd12b750366a8e2e620f5d7ae76449a35876428917279f018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol === \u0022http:\u0022 || parsed.protocol === \u0022https:\u0022\u0060 appears character-identically in 2 files \u2014 src/components/settings/channel-events-tab.tsx, src/lib/browser/browser-tab-persistence.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":"src/components/settings/channel-events-tab.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8640a1fe62be47afcc3f56675447ee84107878d2d7a92583dbfb3b40115317"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.state === \u0022input-available\u0022 || part.state === \u0022input-streaming\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/use-agent-call-model.ts, src/lib/background-task.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":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd076080e187c9c6c55da1c084d36c3b96d8d3e839e8feb5f04487335de9a6a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.state === \u0022input-streaming\u0022 || part.state === \u0022input-available\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/rows/collab-agent-row.tsx, src/lib/adapters/ai-elements-adapter.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":"src/components/message/activity/rows/collab-agent-row.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff205de9e47c5ed198b3bf8a0370075ce047efe24c0779a40fe485670a7d0d2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pickLocalized(item.metadata.display_name, locale) || item.metadata.id\u0060 appears character-identically in 2 files \u2014 src/components/chat/composer/use-composer-shortcuts.ts, src/components/chat/quick-actions.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":"src/components/chat/composer/use-composer-shortcuts.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8745ed7a523bbc208c1d24d9e1522793d20151d46b8e652d5aa1ed635f446d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060platform.includes(\u0022win\u0022) || userAgent.includes(\u0022windows\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/settings/settings-shell.tsx, src/hooks/use-platform.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":"src/components/settings/settings-shell.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad94d68357d79f69fc1e5729b1b70fcbbb19a460640654cc540861ba563a31dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefix \u003C oldLines.length \u0026\u0026 prefix \u003C newLines.length \u0026\u0026 oldLines[prefix] === newLines[prefix]\u0060 appears character-identically in 4 files \u2014 src/lib/activity/edit.ts, src/lib/line-change-stats.ts, src/lib/permission-request.ts, src/lib/unified-diff-generator.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":"src/lib/activity/edit.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fadf642d18b51e7d6e6f2701f7edfea9be80368ef0dcfc30f4fcaa601918e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prev != null \u0026\u0026 Math.abs(prev - next) \u003C 1\u0060 appears character-identically in 2 files \u2014 src/components/layout/branch-selector-list.tsx, src/components/layout/git-log-branch-filter-list.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"56510e1ba7424a9d6052febac72b1b263ea717900b8fade76b00c31921e31d2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectName.trim().length \u003E 0 \u0026\u0026 saveDirectory.trim().length \u003E 0 \u0026\u0026 pmInstalled === true\u0060 appears character-identically in 2 files \u2014 src/components/project-boot/hyperframes/hyperframes-launcher.tsx, src/components/project-boot/shadcn/create-project-dialog.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":"src/components/project-boot/hyperframes/hyperframes-launcher.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cbe544f36722863b3e0407e3f6af7291f7f8df1a11380850c448ff7bdc86c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider === \u0022gitlab\u0022 || provider === \u0022cnb\u0022\u0060 appears character-identically in 2 files \u2014 src/components/forge/forge-start-dialog.tsx, src/components/tasks/task-acceptance.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":"src/components/forge/forge-start-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"95341784b66b27ff6b30e13d333999b15a9b28024c36f45e22a3447e67d3d826"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw \u0026\u0026 typeof raw === \u0022object\u0022 \u0026\u0026 !Array.isArray(raw)\u0060 appears character-identically in 2 files \u2014 src/components/message/use-agent-call-model.ts, src/lib/codex-catalog-error.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":"src/components/message/use-agent-call-model.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8c15537ea5db0db44e0103d86469e1fca37f71dc0e1826851ba7b21b8beb36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result?.scope === scope \u0026\u0026 result?.path === path\u0060 appears character-identically in 2 files \u2014 src/components/ai-elements/markdown-local-image.tsx, src/components/forge/forge-markdown.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":"src/components/ai-elements/markdown-local-image.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dd1a21535c043c0cc445bf436cd7f59c09f922ebc7aaf590c4f029d8f9ee72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.kind === \u0022section\u0022 || row.kind === \u0022group\u0022\u0060 appears character-identically in 2 files \u2014 src/components/layout/branch-selector-list.tsx, src/components/layout/git-log-branch-filter-list.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":"src/components/layout/branch-selector-list.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"0592c4e1c455152810591a66a95e837fc22170464f4a16f626a86b042c92c30e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.tool.status === \u0022failed\u0022 || s.tool.status === \u0022rejected\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/explore-rows.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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1673eef72f563d70f6e546bc8e866cd810beda8a30f064021db9cae5f8aac061"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060safeStyleRequested || customStyleSuspended\u0060 appears character-identically in 2 files \u2014 src/components/appearance-provider.tsx, src/hooks/use-appearance.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":"src/components/appearance-provider.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab4fd551a2506b43b84b929fd75041f3f35de994ce2605b9986bb28bd1cf86f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected \u0026\u0026 \u0022border-primary ring-2 ring-primary/25\u0022\u0060 appears character-identically in 3 files \u2014 src/components/canvas/nodes/conversation-card-node.tsx, src/components/canvas/nodes/note-node.tsx, src/components/canvas/nodes/region-node.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":"src/components/canvas/nodes/conversation-card-node.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"70afaed85b3164b0533e910032f453b2540c65ac604477186c59adfd7aab85ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected \u0026\u0026 \u0022border-primary/60 bg-primary/5\u0022\u0060 appears character-identically in 4 files \u2014 src/components/layout/command-manage-dialog.tsx, src/components/layout/remote-workspace-manage-dialog.tsx, src/components/settings/acp-agent-settings.tsx, src/components/settings/quick-messages-settings.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":"src/components/layout/command-manage-dialog.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"63962f23206350f6ff76d2731ed850c568ce6c1a841db4bd6ccb15add1cf036c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state === \u0022input-available\u0022 || state === \u0022input-streaming\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/ask-question-result-card.tsx, src/lib/delegation-status.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":"src/components/message/ask-question-result-card.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d1ecfe9f0d6e377cde293fff0e224b8f2f20bd5a0afab56c6f18901c54665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state?.url || state?.requestedUrl || tab.browser.initialUrl\u0060 appears character-identically in 3 files \u2014 src/components/browser/browser-tab-view.tsx, src/components/browser/browser-toolbar.tsx, src/contexts/workspace-context.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":"src/components/browser/browser-tab-view.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa2ea5260cb9079f24bedf7ea3e7d1efbdc87c513981610dcc631f11bb36244"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022in_progress\u0022 \u0026\u0026 \u0022motion-safe:animate-pulse\u0022\u0060 appears character-identically in 2 files \u2014 src/components/canvas/canvas-conversation-drawer.tsx, src/components/canvas/nodes/conversation-detail-node.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":"src/components/canvas/canvas-conversation-drawer.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba3cf876ddf8f6c6d71f432c70531f8f55090a8c1ec40d4ecd1f25f0fa656a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022running\u0022 || status === \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/explore-rows.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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae839cba1440a050d20360cd9e5192d86f185325a51e5218f4e69c8249cc5ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step.tool.status === \u0022running\u0022 || step.tool.status === \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/explore-rows.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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8858936c6d850ec40e2545980c21ecf3222b789a2272ce924e3e9ebad64f5176"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060suffix \u003C oldLines.length - prefix \u0026\u0026 suffix \u003C newLines.length - prefix \u0026\u0026 oldLines[oldLines.length - 1 - suffix] === newLines[newLines.lengt\u2026\u0060 appears character-identically in 4 files \u2014 src/lib/activity/edit.ts, src/lib/line-change-stats.ts, src/lib/permission-request.ts, src/lib/unified-diff-generator.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":"src/lib/activity/edit.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f789ca1920db328e21d9ccf227d690e7cb7bcecd241be07dc3facc6f72bc0822"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.id === activeTabId \u0026\u0026 tab.conversationId != null\u0060 appears character-identically in 2 files \u2014 src/components/conversations/conversation-detail-panel.tsx, src/components/layout/aux-panel-session-details-tab.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":"src/components/conversations/conversation-detail-panel.tsx"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bef3eba623e3cf80803c3cb741a13ff7d717792a947ad8fb1e8d1a171a307e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.kind === \u0022file\u0022 \u0026\u0026 Boolean(tab.isDirty)\u0060 appears character-identically in 2 files \u2014 src/components/files/file-workspace-tab-bar.tsx, src/contexts/workspace-context.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":"src/components/files/file-workspace-tab-bar.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"456060df9686904d306da3fcfd5626a0b8b3a1d8fe0941a4ac3783316c5f077e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab?.kind === \u0022file\u0022 \u0026\u0026 (tab.language === \u0022markdown\u0022 || isHtmlPreviewable(tab.path))\u0060 appears character-identically in 2 files \u2014 src/components/canvas/nodes/file-node.tsx, src/components/files/file-viewer-drawer.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":"src/components/canvas/nodes/file-node.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c765485b961cc48a9ef7da6a3375925f3532b67deb91b6ce1aa48cd935a6ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.files_changed != null \u0026\u0026 task.files_changed \u003E 0\u0060 appears character-identically in 3 files \u2014 src/components/tasks/task-card.tsx, src/components/tasks/task-detail-sheet.tsx, src/components/tasks/task-row.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":"src/components/tasks/task-card.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7a939f41acbbc754b68d112ab8fa5cdd9e3cb1ff5e32c5f845dc566af23ee5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.last_error \u0026\u0026 (task.status === \u0022failed\u0022 || task.status === \u0022review\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/tasks/task-card.tsx, src/components/tasks/task-row.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":"src/components/tasks/task-card.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddac13ac41e9aaa47fc50d5cb09ef3816b40d00374f3a44f2255a6ac3d654ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.status === \u0022preparing\u0022 || task.status === \u0022running\u0022 || task.status === \u0022awaiting_input\u0022 || task.status === \u0022merging\u0022\u0060 appears character-identically in 2 files \u2014 src/components/tasks/task-card.tsx, src/components/tasks/task-transcript-dialog.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":"src/components/tasks/task-card.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d2c0ea8b558077c95dd8ca191fd9a98f43f0606ebfd2e61442bf07081df73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060to \u003C 0 || to \u003E= order.length || to === from\u0060 appears character-identically in 2 files \u2014 src/lib/aux-panel-tab-order.ts, src/lib/sidebar-view-mode-storage.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":"src/lib/aux-panel-tab-order.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96821307ab2a842196a989f0b3ecc50c843171028daed7c3e654ee25975fab4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool.status === \u0022failed\u0022 || tool.status === \u0022rejected\u0022\u0060 appears character-identically in 6 files \u2014 src/components/message/activity/rows/agent-row.tsx, src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/edit-row.tsx, src/components/message/activity/rows/explore-rows.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":"src/components/message/activity/rows/agent-row.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd55254b8adc7a2d30547a98bddcb4fa5dffd25db615f5630171151e94e329c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool.status === \u0022running\u0022 || tool.status === \u0022pending\u0022\u0060 appears character-identically in 3 files \u2014 src/components/message/activity/rows/command-rows.tsx, src/components/message/activity/rows/edit-row.tsx, src/components/message/activity/rows/explore-rows.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":"src/components/message/activity/rows/command-rows.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf882742ac6247876c432723628a2eb44c8b4663dd7fdfc86fdd1372de41b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022a/\u0022) || trimmed.startsWith(\u0022b/\u0022)\u0060 appears character-identically in 3 files \u2014 src/components/diff/unified-diff-preview.tsx, src/components/files/file-workspace-panel.tsx, src/lib/session-files.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":"src/components/diff/unified-diff-preview.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa0cd8d075805d2b23a99f11f2f64813c57a9f9843e4bf378a3f6ee182fa817"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022{\u0022) || trimmed.startsWith(\u0022[\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/message/activity/result-body.tsx, src/lib/activity/command.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":"src/components/message/activity/result-body.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c59267265ea04705ee44b238ecb2518a6a016e3d7b7acde26bb7d2bc033162"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof ClipboardItem !== \u0022undefined\u0022 \u0026\u0026 typeof navigator !== \u0022undefined\u0022 \u0026\u0026 typeof navigator.clipboard?.write === \u0022function\u0022\u0060 appears character-identically in 2 files \u2014 src/components/token-usage/token-usage-page.tsx, src/lib/copy-image.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":"src/components/token-usage/token-usage-page.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ee192cf258b3cdde454473d99d3ead50f7586e77362fccbfbcb57372fbed3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof direct === \u0022string\u0022 \u0026\u0026 direct.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 src/lib/activity/json.ts, src/lib/plan-parse.ts, src/lib/session-files.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":"src/lib/activity/json.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e51588012b0945fad0b4ac71e89c4186e9d8280853a8bd67ca186f93f90153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof document === \u0022undefined\u0022 || typeof Image === \u0022undefined\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/copy-image.ts, src/lib/mermaid-export.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":"src/lib/copy-image.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a152aeff0971d95748362490eeeb203c354708bd5e9b688d70b414e625b7b66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0022object\u0022 \u0026\u0026 parsed !== null \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 src/lib/export-conversation.ts, src/lib/session-files.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":"src/lib/export-conversation.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4259585b2b50b8086429a17603ba6f3340e4dcac7b0d0e4e71e28626d9319d60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw === \u0022number\u0022 \u0026\u0026 Number.isFinite(raw)\u0060 appears character-identically in 2 files \u2014 src/lib/codeg-mcp-tool.ts, src/lib/opencode-behavior.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":"src/lib/codeg-mcp-tool.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac46b195f8d28b80c0f1621e403c5fb8d00a312e520858f9126544b2780b1fd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof start !== \u0022number\u0022 || typeof end !== \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 src/components/ai-elements/remark-local-images.ts, src/components/ai-elements/remark-windows-paths.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":"src/components/ai-elements/remark-local-images.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"390494a86ac9ff85b4cf641fc199b806a58ddb03bab563db1b0fc6291bfe393f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022number\u0022 \u0026\u0026 Number.isFinite(v)\u0060 appears character-identically in 5 files \u2014 src/components/message/message-list-view.tsx, src/components/message/use-agent-call-model.ts, src/lib/canvas-view-storage.ts, src/lib/delegation-status.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":"src/components/message/message-list-view.tsx"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e508295b85b2de61d6cdcb9ff8799cd90cb9289fe5ddc0f4c949594c24a2d29b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || value === null\u0060 appears character-identically in 3 files \u2014 src/lib/codex-visualize.ts, src/lib/tab-group-layout.ts, src/stores/tab-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":"src/lib/codex-visualize.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c14d2a140d2cb3007ab5808c27ad7a247bc54d8f8d7d2eb7549afaef98a5f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 5 files \u2014 src/components/message/context-compaction-card.tsx, src/components/message/goal-tool-call.tsx, src/contexts/acp-connections-context.tsx, src/lib/activity/mcp.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":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6989ee49b296cc4e77abe28a0adc449f2cd6c55512cde45c127743b3ddcd5c97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 4 files \u2014 src/lib/activity/approval.ts, src/lib/app-error.ts, src/lib/delegation-card.ts, src/lib/image-tool-label.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":"src/lib/activity/approval.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c04170d6d238990ec95912b42d2585f8172638be76ba295ff1d853d81b1c736"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 6 files \u2014 src/components/message/context-compaction-card.tsx, src/components/message/goal-tool-call.tsx, src/contexts/acp-connections-context.tsx, src/lib/activity/describe-tool-call.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":"src/components/message/context-compaction-card.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c8fefebe7114c4db540dcd3e2d59e47ea2eab35065a0dc9c7d743ad56892d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 \u0022__TAURI_INTERNALS__\u0022 in window\u0060 appears character-identically in 3 files \u2014 src/components/layout/app-title-bar.tsx, src/components/settings/appearance-settings.tsx, src/lib/transport/detect.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":"src/components/layout/app-title-bar.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002d8af5c03a02b9d6c5df8e6c5230d79cd5944e4de6154baeaf31ecb40b90e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022http:\u0022 \u0026\u0026 url.protocol !== \u0022https:\u0022\u0060 appears character-identically in 3 files \u2014 src/components/settings/codex-catalog-source.tsx, src/components/settings/deepseek-config-panel.tsx, src/lib/adapters/ai-elements-adapter.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":"src/components/settings/codex-catalog-source.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8605a876d11a3c59fe61fd32bf2555bab83b7bf573fb5c5ecfe0f23e619f8f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0022http:\u0022 || url.protocol === \u0022https:\u0022\u0060 appears character-identically in 2 files \u2014 src/components/settings/codebuddy-config-panel.tsx, src/lib/adapters/ai-elements-adapter.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":"src/components/settings/codebuddy-config-panel.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fe141a65a3195cad250bbc12c1a0a70254433975ecac578acf122bb5879031"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage != null \u0026\u0026 usage.input_tokens \u002B usage.output_tokens \u002B usage.cache_creation_input_tokens \u002B usage.cache_read_input_tokens \u003E 0\u0060 appears character-identically in 2 files \u2014 src/components/chat/composer-context-usage.tsx, src/components/message/turn-stats.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":"src/components/chat/composer-context-usage.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb62dd846cbd7e621785ef3f1f134de367d11173956d5cb88f227d579522ef0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v \u0026\u0026 typeof v === \u0022object\u0022 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 3 files \u2014 src/lib/delegation-card.ts, src/lib/delegation-status.ts, src/lib/embedded-json.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":"src/lib/delegation-card.ts"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30246c64da4bb14d233f08e9f22c1d5b0b258c6b4cb0964f6a86cd58b852027"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 src/lib/activity/json.ts, src/lib/background-task.ts, src/lib/codeg-mcp-tool.ts, src/lib/feedback-check.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":"src/lib/activity/json.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf23ea4abbfc8e15b502588988bce6ad6cdc560d06b352e8714f2b92a4900c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060windowBound || typeof window === \u0022undefined\u0022\u0060 appears character-identically in 6 files \u2014 src/lib/advertised-commands-store.ts, src/lib/aux-panel-tab-order.ts, src/lib/desktop-notification-prefs.ts, src/lib/mention-panel-prefs.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":"src/lib/advertised-commands-store.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caaf277980ea2c3498b8ea3a35f371de594b5ea9ca93b4d8c950f89f43ed85c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceState.health === \u0022resyncing\u0022 \u0026\u0026 workspaceState.seq === 0\u0060 appears character-identically in 2 files \u2014 src/components/layout/aux-panel-file-tree-tab.tsx, src/components/layout/aux-panel-git-changes-tab.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":"src/components/layout/aux-panel-file-tree-tab.tsx"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f26926854d809dc67996506856ed74918fa8e6e7a565d4a66dbaf100bf146d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not np.isfinite(alpha) or not 0 \u003C alpha \u003C 1\u0060 appears character-identically in 2 files \u2014 src-tauri/science/skills/statistical-analysis/scripts/assumption_checks.py, src-tauri/science/skills/statistical-power/scripts/simulate_power.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":"src-tauri/science/skills/statistical-analysis/scripts/assumption_checks.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a64b32fbe6d955735045c46299287d3f7a8d1409df3ee82ab8223f4a3c2815"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not parent.exists() or not parent.is_dir()\u0060 appears character-identically in 2 files \u2014 src-tauri/science/skills/scientific-visualization/scripts/_common.py, src-tauri/science/skills/scientific-visualization/scripts/figure_export.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":"src-tauri/science/skills/scientific-visualization/scripts/_common.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ebc04133af19e38fd0c7a1e2306fd505839c42479735b4b855695b3afe8f52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060temporary_name and Path(temporary_name).exists()\u0060 appears character-identically in 2 files \u2014 src-tauri/science/skills/hypothesis-generation/scripts/_common.py, src-tauri/science/skills/peer-review/scripts/_common.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":"src-tauri/science/skills/hypothesis-generation/scripts/_common.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35e593fa63ff855a0f7c67d59a5b8841028b65634cd9b98085f21ba526d8906"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata.is_file() || metadata.len() \u003E 32 * 1024\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/qoder.rs, src-tauri/src/acp/zcode.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/qoder.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3a6b3bf8f187358fd4ab756c5f033c420ecc9683ef42686501e87a0cfa1d4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!url.username().is_empty() || url.password().is_some()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/backgrounds/marketplace.rs, src-tauri/src/browser/handoff.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backgrounds/marketplace.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b573dee9672e1e9ca61eafaf1113c6877c2a890a9467149869dfe768003d703f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.display_text.trim().is_empty() \u0026\u0026 cfg.prompt_blocks.is_empty()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/db/service/automation_service.rs, src-tauri/src/db/service/work_task_service.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/automation_service.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f3c9f5e3dced2db49ab9e1c1c481582a0b1f0af017211b12f5cf11531a178e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data == \u0022QUJD\u0022 \u0026\u0026 mime_type == \u0022image/png\u0022 \u0026\u0026 uri.is_none()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/parsers/gemini.rs, src-tauri/src/parsers/hermes.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/gemini.rs"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17a673023c9d1bfbea84e92693e32bd1a207ebdff8305b66665c09f2204f93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expect.is_empty() || expect.len() \u003E MAX_VERIFY_PREDICATES\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/delegation/companion.rs, src-tauri/src/computer/helper/ops.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"add177e98f2a2f59694f4c864948aa6b1cadeaa890d9da1670dc7cb251803196"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failure.subtype == Subtype::ErrorRuntimeUnavailable \u0026\u0026 failure.code == \u0022runtime_unavailable\u0022\u0060 appears character-identically in 2 files \u2014 src-tauri/src/cli/follow.rs, src-tauri/src/cli/run.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/follow.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbe35ce9c9887bb0cfdcbc62c19658f692e3872705faa136ec752a6d2496517"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022localhost\u0022 || host.ends_with(\u0022.localhost\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/web/browser_bridge.rs, src-tauri/src/web/browser_tunnel/policy.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83611efa84fd31ed4ac73b096d7f75b974cdd4eb5b915270aa2ef540304b294"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003C messages.len() \u0026\u0026 matches!(messages[i].role, MessageRole::Tool)\u0060 appears character-identically in 6 files \u2014 src-tauri/src/parsers/codebuddy.rs, src-tauri/src/parsers/gemini.rs, src-tauri/src/parsers/hermes.rs, src-tauri/src/parsers/kimi_code.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5f4266c7cd6bb9066223ca8bf85559fdfd87eb09ee2a6e086ebbbeee62703"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060id.is_empty() || !seen.insert(id.to_string())\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/codex_endpoint_catalog.rs, src-tauri/src/acp/connection.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef845e2a2ed937b5e0f829f550398f95cce4df4d8b0f86c0528f27fbbfe687ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input == 0 \u0026\u0026 output == 0 \u0026\u0026 cache_create == 0 \u0026\u0026 cache_read == 0\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/token_usage.rs, src-tauri/src/parsers/acp_native.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/token_usage.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3048ea5e75be6942c9c956244e87906ea4664b8fad4f03e0e24bde615017c96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input == 0 \u0026\u0026 output == 0 \u0026\u0026 cache_read == 0 \u0026\u0026 cache_write == 0\u0060 appears character-identically in 2 files \u2014 src-tauri/src/parsers/deepseek.rs, src-tauri/src/parsers/pi.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"f311f9f4fbc84409e308a47f3a7f7d4fee8537324cdd832556a18f120d93576f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manifest_entry.hash.is_empty() || on_disk_hash != manifest_entry.hash\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/experts.rs, src-tauri/src/commands/science.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"6787f05045861d47dcdbbfb076f7402abcad459d07d1dc118d685289a3a46c59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.contains(\u0022database or disk is full\u0022) || message.contains(\u0022(code: 13)\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/acp.rs, src-tauri/src/db/service/agent_setting_service.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14998}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccb26dfe7969c1d3171c3cadd40e24c1a18dec234eea61c597809829960c7b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name == \u0022localhost\u0022 || name.ends_with(\u0022.localhost\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/browser/egress.rs, src-tauri/src/browser/listener.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48fe36d1d366acfd5d668c7ab8328125972710d960359420705b770e81e9d90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060now.pid() == self.token.pid() \u0026\u0026 now.pid_version() == self.token.pid_version()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/computer/helper/mod.rs, src-tauri/src/computer/local.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3507205db05e157ceb37be392428070a206c306875ba75080919ecc80b34b720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sp.first_user_text.is_none() \u0026\u0026 !text.trim().is_empty()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/parsers/deepseek.rs, src-tauri/src/parsers/pi.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"5235274aaa0677e64ef76b0134dce71dbacbac1f1a492887b1a56ad85df211dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003C output.len() \u0026\u0026 !output.is_char_boundary(start)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/agent_process.rs, src-tauri/src/acp/terminal_runtime.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_process.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03fe0c03808286081659249a1b384060445dd8ccad0d8742afd3e55df3780ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.contains(\u0022@@\\n\u0022) || text.contains(\u0022@@\\r\\n\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/connection.rs, src-tauri/src/parsers/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b36cb12e117c5dd3dd5411ce3251ee6ab85ad9afa5a9ac60b9c560e3e78435d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.trim().is_empty() \u0026\u0026 images.is_empty()\u0060 appears character-identically in 2 files \u2014 src-tauri/src/parsers/deepseek.rs, src-tauri/src/parsers/pi.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e21fd82c17afb28bf71fe5222732c33a835730827e74ae07eb86dc2ef0c23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed_end == \u0022---\u0022 || trimmed_end == \u0022...\u0022\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/acp.rs, src-tauri/src/commands/custom_skills.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fbdcf2066302c0c21619be7f9a3f0493c3980aa7c8a33d3fdcc69cb84c1bc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == \u00221\u0022 || value.eq_ignore_ascii_case(\u0022true\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/acp/connection.rs, src-tauri/src/acp/opencode_skills.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eda8d38baa713a331e1ebcc550afb54eba0f78f9f66b6a601e5ff40b4fbd6c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060cap_json_to_budget\u0060 is public, takes a document from its caller (line 1419) and hands it to \u0060cap_json_string_values\u0060, which calls itself at line 1471 with a piece of the document (and at line 1476) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060cap_json_string_values\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f5e79bd4db8308b1f3868b27d09542e84cf36f85621f00aa0fe259f345a630"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extract_tool_call_paths\u0060 is public, takes a document from its caller (line 65) and hands it to \u0060walk_input\u0060, which calls itself at line 147 with a piece of the document (and at line 152) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060walk_input\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/agent_turn_files/extract.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ad8f693b09427ac3380601fb3c80ff2baf8e263e87d0b4b30f9af7808837cd"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060json_value_size\u0060 is public and takes \u0060value: \u0026serde_json::Value\u0060 from its caller, and it calls itself at line 275 with a piece of the document (and at line 282) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060json_value_size\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/event_stream.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec74b167ef20ccec0b39f014fc6b548b863c283116c730d7f4693b9aea3bfc0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060cst_value\u0060 is public and takes \u0060value: \u0026Value\u0060 from its caller, and it calls itself at line 114 with a piece of the document (and at line 117) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. When a Rust thread runs out of stack it is not unwound: the runtime reports the overflow and aborts the process, so \u0060catch_unwind\u0060 does not stop it and every other request the process serves dies with it (spawned threads, a Tokio worker included, get 2 MiB by default). serde_json and serde_yaml stop parsing at 128 levels only on their default path; a value from \u0060disable_recursion_limit\u0060, from another format or parser, or built in code carries whatever nesting it was given. Thread a depth argument through \u0060cst_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/opencode_config.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c13fb19afabb5c0e6f7f5c184eb3e9b977f3f04cf42fcaa476eec2c64c792e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060element_text\u0060 is public, takes a document from its caller (line 99) and hands it to \u0060walk\u0060, which calls itself at line 115 (\u0060walk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/science/skills/paper-lookup/scripts/jats_to_text.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"289611557c012b4673e81ca737a14b1d403d32f4306bf863d3ddf45bd8c7244f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060leafIds\u0060 is exported and takes \u0060tree: LayoutNode\u0060 from its caller, and it calls itself at line 55 (\u0060leafIds\u0060) with a piece of \u0060tree\u0060 \u2014 and nowhere in \u0060leafIds\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060leafIds\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e007956ab502180b3a11978b78a03d85bf4f2dce1f7a4e3c494e52579e6f8f9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060firstLeafId\u0060 is exported and takes \u0060tree: LayoutNode\u0060 from its caller, and it calls itself at line 59 (\u0060firstLeafId\u0060) with a piece of \u0060tree\u0060 \u2014 and nowhere in \u0060firstLeafId\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060firstLeafId\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"815173961d1e64972988f3c289d7bc72b7db9463b9ab9c1a5ad4cffaba1b5e44"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parentSplitOf\u0060 is exported and takes \u0060tree: LayoutNode\u0060 from its caller, and it calls itself at line 72 (\u0060parentSplitOf\u0060) with a piece of \u0060tree\u0060 \u2014 and nowhere in \u0060parentSplitOf\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060parentSplitOf\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f32a709ce07c2ef71cc7a67ec127d5fc00fdbab9771feb15a1c8cce187993c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060splitGroup\u0060 is exported, takes a document from its caller (line 129) and hands it to \u0060collapse\u0060, which calls itself at line 107 (\u0060collapse\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060collapse\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060collapse\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"33700116118349f8aa8915481f48f6237ba64dd3819213f1aef17350ac6b20a6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060splitGroup\u0060 is exported, takes a document from its caller (line 129) and hands it to \u0060walk\u0060, which calls itself at line 165 (\u0060walk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d234ce80d36d9ca5839a8e63c9a80854a7ef64ad9478d56ee1de8652113fc1df"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060removeGroup\u0060 is exported, takes a document from its caller (line 178) and hands it to \u0060prune\u0060, which calls itself at line 184 (\u0060prune\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060prune\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060prune\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5039af7bd6649f13aebe28f09d68901897d55be983544a61b436f50fd695dc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060removeGroup\u0060 is exported, takes a document from its caller (line 178) and hands it to \u0060prune\u0060, which calls itself at line 215 (\u0060prune\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060prune\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060prune\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ede86669818440fdaea58b514f75919ed8f69948155218231687f7338254772"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalizeTree\u0060 is exported, takes a document from its caller (line 206) and hands it to \u0060sameTree\u0060, which calls itself at line 242 (\u0060sameTree\u0060) with a piece of \u0060a\u0060 \u2014 and nowhere in \u0060sameTree\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060sameTree\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"155ad5e5188c75b7f7e16d31281a7660a05bc11e7358cada936321c03086ddb1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060toggleOrientation\u0060 is exported, takes a document from its caller (line 249) and hands it to \u0060flipWalk\u0060, which calls itself at line 266 (\u0060flipWalk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060flipWalk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060flipWalk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3ccd57e3895cf84bfb6969aedb16c46c0f6896460f1ad3bd969e7467e8b4db"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060splitGroup\u0060 is exported, takes a document from its caller (line 129) and hands it to \u0060walk\u0060, which calls itself at line 313 (\u0060walk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c75d8fd3ca616cd2ece2a82edd5d66aa487b221de60a68676b90a07e8cb8f3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060splitGroup\u0060 is exported, takes a document from its caller (line 129) and hands it to \u0060walk\u0060, which calls itself at line 387 (\u0060walk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"746b4970ecee38dcd3caf1dcf90f3297ff85e082a888e2ae99f5ab8c6b6d9cca"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isLayoutNode\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 421 (\u0060isLayoutNode\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060isLayoutNode\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060isLayoutNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tab-group-layout.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f411a17eeb2cac5d7455d1861ed10715c1d7d04b5bd27a2d75c308ef9fdaf2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060commandFromUnknownValue\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 121 (\u0060commandFromUnknownValue\u0060) with a piece of \u0060value\u0060 (and at line 127) \u2014 and nowhere in \u0060commandFromUnknownValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060commandFromUnknownValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activity/command.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c669ff19a1e520414517fc01cd66d9bc8d65b026ef4ef0d499048a99beb1c1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060countJsonNodes\u0060 is exported, takes a document from its caller (line 57) and hands it to \u0060walk\u0060, which calls itself at line 65 (\u0060walk\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ai-elements/json-tree.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe266331a7a7f86f4e5526460dde5edeae62781b4f7d55d859e8e6a24c03cc22"}},{"ruleId":"X18","level":"warning","message":{"text":"Explicit release owed and not made on every path: \u0060txn\u0060 (line 1202) is a transaction released by \u0060commit()\u0060 (or a deliberate \u0060rollback()\u0060) only on the path that reaches line 1303; the \u0060return\u0060 on line 1238 leaves before that with a success value, and on that path a transaction that is dropped rolls back, so every write made through it is silently undone. Release it before that \u0060return\u0060 too (or return an error there, if the early exit is a failure)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f6463981a41436c9d1c754b26c36af70b24a0dae7e0ca19b0b9efd14c531cc"}},{"ruleId":"X18","level":"warning","message":{"text":"Explicit release owed and not made on every path: \u0060admitted\u0060 (line 1394) is a transaction this function owns and never releases: no \u0060commit()\u0060 (or a deliberate \u0060rollback()\u0060) on any path, and it is not handed on. Rust drops it at the end of the scope, and a transaction that is dropped rolls back, so every write made through it is silently undone. Release it where the work ends."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"800e130c64b95e7110b33dba1137de282c3c9998e1b8b282c4fa4b702796c698"}},{"ruleId":"X18","level":"warning","message":{"text":"Explicit release owed and not made on every path: \u0060admitted\u0060 (line 1531) is a transaction this function owns and never releases: no \u0060commit()\u0060 (or a deliberate \u0060rollback()\u0060) on any path, and it is not handed on. Rust drops it at the end of the scope, and a transaction that is dropped rolls back, so every write made through it is silently undone. Release it where the work ends."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d55ba70817f9c0832108b429905edc8f428e4be81ee261d735d2d48ff544ffb"}},{"ruleId":"X18","level":"warning","message":{"text":"Explicit release owed and not made on every path: \u0060admitted\u0060 (line 1616) is a transaction this function owns and never releases: no \u0060commit()\u0060 (or a deliberate \u0060rollback()\u0060) on any path, and it is not handed on. Rust drops it at the end of the scope, and a transaction that is dropped rolls back, so every write made through it is silently undone. Release it where the work ends."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"408e5767fce5c6bee6f8a7e5f82a2e80f2333f6d6ac7284b2d1b81ddaf98aae8"}},{"ruleId":"X18","level":"warning","message":{"text":"Raw handle taken from an owned value and never reclaimed: \u0060decoded.into_raw()\u0060 (line 2012) gives up ownership in exchange for a raw handle \u2014 the value\u0027s \u0060Drop\u0060 will no longer run \u2014 and nothing in the crate\u0027s code ever reclaims a \u0060image\u0060 from a raw pointer (\u0060image::from_raw\u0060). The memory or descriptor stays allocated until the process ends, once per call. Pair the hand-out with its reclaim (a \u0060free\u0060 function that rebuilds the owner with \u0060from_raw\u0060 and drops it), or keep the owning value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"28be2b1a32044e0584c2b0ce401568232dc4f083ec30b81ae499dc893fc3fa06"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 4/8 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) 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":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadAttachment: \u0060uploadAttachment\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":"src/lib/api.ts"},"region":{"startLine":4577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f782b647724a32dc44374a67a510342a3e51b1a795d03646a36a689317c0a3f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: workspaceFileFetch: \u0060workspaceFileFetch\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":"src/lib/api.ts"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ece93bbfb9884e43157afab970f0b6d132ad1c72453b0e10110a52d7b284f2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: seedRelease: \u0060seedRelease\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":"public/sw.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd23b843dc740031522d3567c6784d9138debf16596a4260d2114aabb8cf5f0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchBootDocument: \u0060fetchBootDocument\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":"public/sw.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580dd7a46e8fc747b9bd1b25893261a93f38c6224cbc58a79a95ab314521554"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060tracing::debug!\u0060 at line 1875 is called with an argument built by \u0060initiator_text.chars().take(60).collect::\u003CString\u003E()\u0060 (line 1877), whose cost grows with the collection it walks. Rust evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because tracing::debug! is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060log_enabled!\u0060/\u0060tracing::enabled!\u0060 test, no debug flag, no \u0060cfg(debug_assertions)\u0060, and the work is in the argument itself, not deferred into a field the subscriber formats or a closure the formatter calls."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd10dd6d12b2ef6d0a03dbb353391055bcca3308dc6e185f5004303c9d904f37"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060tracing::debug!\u0060 at line 1881 is called with an argument built by \u0060initiator_text.chars().take(60).collect::\u003CString\u003E()\u0060 (line 1883), whose cost grows with the collection it walks. Rust evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because tracing::debug! is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060log_enabled!\u0060/\u0060tracing::enabled!\u0060 test, no debug flag, no \u0060cfg(debug_assertions)\u0060, and the work is in the argument itself, not deferred into a field the subscriber formats or a closure the formatter calls."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66e51fcf356e0a686fd759064cad46be8e1344ad21fa4ebad2cf80b6a93b0c6"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060CatalogMeta.pending_format\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8be8e651097ec3cec88e0c3c179b51fc05590090e76c49502a46e4ab4db3a2b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060CatalogCounts.listed\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ba23486e665e55b18b87591c4b51ee5e6d3f3604c7d7dc8f1601a4f977297a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060JsonRpcRequest.jsonrpc\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be2d74d7001201fca35485231c8e031b0cd4c24221428a02214ce9515c42689"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RegistryAgentItem.website\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/remote_registry.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d206f84021a0b002319d425cef5e41e1625edc9668662049b773159d8f6aee2e"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RegistryAgentItem.license\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/remote_registry.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b543ce894449d1ba08338b1a804a9da6afbde5738b77c0d1c48b41a8c72bde0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SessionInfo.found\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_info.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50bbe54306fafaac7a6aefb3bede50ce70c3fdbb0000bc9cd9320e2b4872286"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SessionInfo.workspace_name\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_info.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"da952500b4f4d0914c2d0b3dbecc34ac5918c697049a38ffad867e89c58758d1"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SessionInfo.is_delegation_child\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_info.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88488105644907e01096ad3c62ce7636f494d333a57b4add151a2462dacc708"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SessionInfo.stats\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_info.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"12670edc1a1694444a90f8876f4fd6a3b2b755b7ff0a16c12c4b8247d30e4455"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentOptionsSnapshot.unapplied_config_ids\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/types.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b6a8eb970167e3ec06b207d1af18eb44a602797de2ca804875b87c15b6e4bb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060CodexSandboxSettings.has_permissions_table\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/types.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"4817d68ba74926c118001d5b01bc714daff17458aa3dec81c0227c06722457e2"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ListenerIdentity.workdir\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/agent.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce8cdbbe978b1883d35e49154646cb7203e079f3e06c58ccaff60eb0b06692"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060GlobalArgs.no_color\u0060 is offered as a command-line argument option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/args.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5bb6ed94ab28fa81adf1f3b15da3b736234e14ebc863343693bd9a9f74c84d"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Launch.requested\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/wire.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b572e8ef1ebb2117da1f60270dd3be290a0b93af21dfa50f378b21b2311d17"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Launch.effective\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/wire.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb648a13c4303aa0051083f95733274204d0ed7f856f0b40820d836de8c5b712"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Launch.unconfirmed\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/wire.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b99f01d74b468c0002c01c7600bc42a9ce44c8508ca46fc43d5d5ceaf467202"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060DeviceCodeUserCodeResp.interval\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15352}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a61b4f1cac3530b765b4b2c50c0061d16cf79b86cca7ee6ec2920b844eb86"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060DeviceCodeTokenResp.code_challenge\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":15392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d4b775e417293347245138f9233f8ab4b00b545114f9a72e28e64a8ca3d30"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ApplyReport.appearance\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"990aaf28d481becbc179ca428cfb7f447df1f363fa9f49da300ea47a06d95a20"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ConfigSyncState.last_pulled_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d116910e08610b5bf3c50674a8fd889d6b7c6797746d3d5936a31e56b3c11a3"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Manifest.codeg_version\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"78398da1736b97d8a8ce36c1bf5f34afe59ff1b84eab71b4823fcd0981f45a77"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Manifest.installed_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1fe5187f535136750c13ef43eee29dd6072de7bcf9b9edc080660a53c18071"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ManifestEntry.installed_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c2f53960335770ab161d9ee40702eb6c58c3fe2b877179640815580b9973ad"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060OfficialIcon._mime_type\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5795}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3593e10406f83e312fac8e55508fab47fa290b99ea9d8bad95e0fc91fad37a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060OfficialIcon._sizes\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5797}}}],"partialFingerprints":{"codehealthFindingId/v1":"539dfbaac82d3eeae4ad969844397a11e48f85f23ccfadc40a2c9add7f8b53e4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060OfficialArgument._is_repeated\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5835}}}],"partialFingerprints":{"codehealthFindingId/v1":"d619561a0feda0acc9f85fe1f2436f77cd47450c339fa6402adf9b536b87ab23"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SmitheryServerSummary._id\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5971}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff6db62d6851a514c197f1e1526baa3a98a307b0c356e3f4deac13966306154"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Manifest.codeg_version\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cde6b65099f3f1be1a99f04bf059224117af718ad7ffb74563b901245d63dec"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Manifest.installed_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fde2d3cabeb79ee10746d89edc3c0afa27e7b9ee1e4659d655699d4eb319f3"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ManifestEntry.installed_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"768e099200ad544d2af76908cee151cb89e744c5437c4505679cce88b2268c29"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ScienceTomlEntry.featured\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9db3768833519166d7d53665464a24a201fe405a0089e03fd53fb393bacebb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ScienceTomlEntry.accent\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d28fb043bff63f9b8261ea8e279bd9ed44491a951180c14a212ce4b785eaa47"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ScienceTomlEntry.needs_key\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f8ea3caf05341e5d527ba54cb39364942c8efd20945fccd7049c18323795c8"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ScienceTomlEntry.needs_env\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e60e5b84059d9ea665f0b8f05ffa3021f459024c239ba77ef39a4898b63f29"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060CommitMessageSettings.auto_commit\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commit_message/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4375c4d7979c7e1c5387b1a8d14be73bc49b840722807b39e693f7f18a3ef89a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawItem.comment_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060comments\u0060, and nothing reads that either. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af364cfc953a4d3e1a48ee2b229f062cfa713ffe127187ddd7d5b12d9a46eb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawIssue.comments\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"777baa4f4cff4a8e34bf12504ef84ca15c432a496661a91cc7beae028b60c0db"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawPull.changed_files\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitea.rs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a4063c793fb30d4c277c925d80b58d8f0d728a531e0f62c990f654ef3cdabe"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawIssue.comments\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"de75f677d04dd9e4e2c9ea7741d18149e9f4101c898fbe0268a262896e74b923"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawPull.changed_files\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae35124f1f3469813c5f7ac85b5dfeaef0af1047048d340be4cc20eb113b42e4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawPull.commits\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/github.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6a074c9f05a79f722d58c447427065582ff8aaa25ca1ce6f132bb007b04710"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawItem.user_notes_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060comments\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitlab.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f49ca854d6cba66aa9248782b373f247413b7f12ecf23d3109b7845be5045"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RawJob.allow_failure\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/gitlab.rs"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f671620b956a5a6e5a833cf3d061702c72ef069b7a35db6da8745c0c08b57736"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060ForgePanelSettings.writeback_default\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/settings.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5465106edf817868a87258de2bb57ca33317532888b44bf37e0f0f1e4d76f726"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.total_tool_use_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3583c69ec3b7fcafc70c2b4df334bfcd62f834b264bfd23331281d4b237565a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.read_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6689d5e662e11feb46cd55f9c0f909af140d15100598967c32a55ed4cae5d28e"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.search_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6e47d8140ee497e6b96f47e601f6a75e8dced38c89514f3f77e22e8ef015fc"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.bash_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"97369f66e40890d670ded585e62dfd01a16eb9da90f05d927dd4788c6ff5773d"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.edit_file_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7581bac0827b72aca73bae7bb210aaa173e0577f569717722388e1f084a4f466"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.lines_added\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"500246bea6b354f7f41233276ad581470c79a2f3a7403384f6caf2829aba97fd"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.lines_removed\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c0a02d69c2fab2b7f4907148800ba9ae60b0aebc7ad17b1080cfe31062b09"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentExecutionStats.other_tool_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/message.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68b12f9edf90dd2b7cff289825ce15cc8708cd3f4f22bf28375d3d2bd019ed2"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageTotals.turn_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"66014afb7057f0e80c5460983f13b8d3f065bf8c5da23b16e4a607588675e84b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageTotals.active_days\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd64da61b9a858043588e6f570f4467fd1ce9012fd2dae93bca86ffff106a5"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageStreak.longest_days\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9704def4039702c738ae8b0d7bd9a535238476c5d06c2262a9ea063fe847bd5"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageStreak.current_days\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"341b27f169b436c72dd49d6f00fe241132f79aee0a0293b7ae1c1a8130d512b4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageStreak.current_ends_on\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee922c255055925039dd54d9f121a5ffbfe31bc37beed49bfc23b7ea8cd772c"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TokenUsageSyncResult.pruned_conversations\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/token_usage.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"960f65bb59088fcb868831f9f43d55ce30652836880220ddc0de18ac50403974"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060WorkTaskMergeState.auto_message\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/models/work_task.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa45b03d985532ab558fc78a58a15ed4fdbcd5e169d22a7a69d020ff03bb9ef8"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TaskHistoryEntry.tokens_in\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d15c983d01f9cde2fac669d86b609fd7159a9e1252ac230936f77881f7dcd41"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TaskHistoryEntry.tokens_out\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfcef97972aef39b4d2a8e5d170bac6ab5ec3fe94c742618b77695a832c29eb"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060TaskHistoryEntry.total_cost\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a965b8555ebaa799836966ff6d3ad503e74188d3ae07e723bab92a498242dd86"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SessionMeta.cache_write\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"79567aa452ef477228d422402fc7f0f25a15b481574632974fbe5f58a8606462"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamListResponse.total_pages\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"af84924e693dc8cc3693668d460fb7800da4ab1927e837a2b324be3184f6a215"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.owner_name\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa39f6bd2796f2a7ce47126b777a72d346d63a0c90af385382923d2972c3645"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.owner_handle\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"51818203616fe3c2755dd3b842b4f125e6f860525c9bc6a491ba85a2d06797cc"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.view_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eec0ca73a7ff16f7c0331bef13f7b88bdc4e3eaab66eb7c44b42c6c41c820e"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.download_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c4b2bde02117ad145663e6af842829999f5cc906b1068bd7c1fc523115fa93"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.like_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879ed5d030bf36b577868b00490ca86617910c1812279c9d415979bbfc8f5d8"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.uploaded_at\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1f0313a966601dc019fe4c4d616199e9c0caeef36d328e865ed993b472a88c"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.poster_url\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb6b7dc2184ad3f8d782af10c24e210bcaa7f67286a8a421753966c90e9ae6"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060UpstreamPet.preview_url\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/marketplace.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be63fd855841f5eb7f9cc4d87388aa7239263cd3f90a3a94b0b55c8d88e7a487"}},{"ruleId":"X29","level":"warning","message":{"text":"Per-element action decided by a fixed element: This loop runs once per element of \u0060rows\u0060, and the statement it guards acts on the element it is on \u2014 \u0060row\u0060. The test deciding whether that statement runs does not: \u0060label === null\u0060 reads \u0060rows[0]\u0060, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One \u0060if\u0060 names the same collection at two different subscripts \u2014 the fixed one at line 192, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The \u0060if\u0060 is in the wrong place under both readings. Give the test the loop variable, or hoist it out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/json-render/chart-data.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed192c0bd2bf72801d1ee655e2bc9c992c5b21248895b827b1f7327d65cc4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 540 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c90a409910da9e66ceac7080a1db32aaff88055c5355dfa1827aa16623aa9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 570 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f56e4c8ab49b7e9013af24561fc3292c82ebcbe4da2f66ad5e219a6da64846"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 577 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2dfc85890867b844fd4637a162ff16fb426903769a9371f8841cea38473b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 772 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bacf283772019541ef3003c892fdd4396ad78b8ad82b7d64a1beb6c05dbb1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 938 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa5769b0e570ece854dc1dfd02f6e4cdfb1e1ca1d3bcc6340ded8575f181e52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 955 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"8485d6eaa0f8ebec47269b80d2fb855c777a076ceabebc357a7ca8ecba480e44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 974 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"479af12d5db6abfcab8b78e721dfebbff1ee60d6a2c02a0ba8bf769651df3e57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1170 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b66791667b14efe2c0ef4df97b9076c6b7682356482bea7ba3ea9b9588308"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1220 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4272e446f5a25109a9081798ea0a13d7f9a4587a8cfc4b893611ad41b0687b0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/app_menu.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e067b108ccbe2bb39813ec0f3a24a6434b7c012c525c0d28cbe0488f493ea82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 266 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b8b283ff5798fef0a2d9409616b12e845415663e5a0779e10f3934b9a1bea6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8621a5297a97b1c2f96243a8cce9c5427b65165381785adcb94f317ee3f879"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 297 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"caed7c3e13e3613726d80a303d32e141a03b4b846476dc1159f6df55acf654e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 300 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48304d1cb02354bf155c3dd12094b4abaf2702ee53cc97987e16866479e6871"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba61902a937bce6168f1b49e357dfaef7c66235456098f24cff435064f0ed42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 337 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/deep_link.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b126aacab943ca1156952725ccadd562e40dcb8612b6685464560f16a14da7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2f2a8d0155108d0057fd0dbce631191f96fbe80e9eb7b7cf98aff72b318a3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 181 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccdb929011f4a09ec30685a96c2e7734d00c98d5f200ac49583a7329721be4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 542 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccba03fdde9ed765fb8c54ce1195068c15c9b01cd6c433cb70c58c514eb467b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f32e86cd59baedadbea3e304b7d1434b7fe29c7db397dffb995294efd77c17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 559 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c114a0dedea5fddc8b0e785d43d91b1e975f2b237deadf11b163a9f19a5f40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 576 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a782b2a13809101537d8e01b3b210b27fe64352c39e8853baa883ada670175"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 584 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4ba04acfefe43325c8890ad6c00c43bde615b25990251214780ce5c2d362d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 589 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0329b957e8b662662e9b4566757fd471858f1d6989979d0b7a81d2c7de2d8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 622 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df0a94566e99bd844531572a084d8f91841aed8acd5b50e06f49d88c8d5e5a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 630 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/git_credential.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4289ee36a42fc3285d9557606a7174e69135fd5fcbda535d0bde04cbf6a62795"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5616cf42b454d98295d8729294f5274d676b2e96e746fed90bc2eb44082e69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 296 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba509f8ccba3549a8bee2eb4c1330b97ec6b350ebd9cde58fd305852469f571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 604 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a171a77785b348b1cd04f9a6551a1bc04f68bf6c5e7746c5643f9015e9c05d9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 794 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795d50b8014085a744c295693ad2745e4900910945549dcc4847982e3ed0349"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 814 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e5a8e50f434b91dc7ff83f946f24bef620ab8bc9f10eb5533b92da373a8cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 839 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17321874a96d22e2b7c70adf07fcc4da7b37ad9856d8168e7ed4f32f2b95ae9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 876 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7fe03a07994d516a0aefc2fd565378f0805400f96aa1aabfaed7f3f0af7458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 913 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c10f159577e78c3a6de7982840ed2f349b01a2bd1a25d71b08fdceffde1748"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 941 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"697148e62c0f83c0ee24b07326c357626849e5698614dda579bef1c119960d96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 947 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b8c7f6c157fb1f33c1e8e4d6b2f33e7f5156d336e5e7f0ff4d37ec79c9fac8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 962 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dda7bc0399ac556db206aab7593234c032e67a12f4651bd676a7c25818935ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 968 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aece5817ad583dc4f8267f99b89e5b32a4bfd03659ebc83a2849f5f39a5c805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 991 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdcf84158ebd426948409e64560ca455e3a627b439bc2b608af9406bdc0c3e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 996 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11c523c5517d9e28ffcd84eb44bced978d8a2b87cc6ef524ee862b410c95187"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1084 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0c88ed1ec1aa2a5f2a3d51ab12cf83c0e5cdbd3da93018553bb9fa5279df0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1356 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34b69e380a497fc74b14c00afefa2194f983a2c7bdc56e94be351286ded09ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eb12e7fc46c3d917cf137aa66956f3ad521b5a8271b1dbe84fd6b70ef3a35d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"853bbab2affe9b3fac59bfeb5f940da93ea614b280047ca8fb276dd592d9054c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1529 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01aa0cf88aa5d350d634879d70044f007bfef51304eca07e4fb492dc51658f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1792 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14894db32adf82abf7aeb31df21f8422a045ae1d4aae9f0351a9f970a502a67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1799 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"6045790cf4e9cc6c9cf9e341cf281b97e88f23e94bbda8fda63eb87ef60cd68f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 65 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_sessions.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a84e49df299c984c24f24a411c489dcaedb417e488145937c4d3b0de175f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_sessions.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd59d330e982aadf8d617c8ba1cb999e751ea3fe562c6ca21c5690426cffa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0656a11bbd4abba0ece98b26a5c88ecd108920a732c7ca81248d35a43d39d005"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 460 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2542b16d074a127da3a40cb32058d93c1a0ec8c434eee6cbae1b66e1cbfd8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 517 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pet_state_mapper.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd4c4bd2e5804aa0e2799ce716d60e16562a5287b00ee309e9eca86d6bbda76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 38 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/preferences.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5693e0a3927b7412bcaf351bce342672017c7ab820d552d9a0d677da67279808"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 262 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4806c679a525f0fbee8b4f4d8363da0a6ec678e257e7c1257b189a21969c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 658 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d01432dfb01fc91c30568acc0f4e8f1425af9a06f72086191b806f1a120860"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 661 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ef15279c68a034b4287507678dbafb3cbff4ccb606c3d8ca15f6a1784c93d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 116 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/relaunch.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb739182d67ce0768c323cb3a2f19c03e2c8f27a5f1dbb21c10e910a1ed54990"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/runtime_lock.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a839ae4e42705c6a75753e1c569e0acdff1e60ce076cb2413500539a2224d2e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee44d5491ed04d1fab5bd9a6520a9bbff49c3c66e5993071c51114dd9ec627"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 46 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dad0a690fc9974b9bd5ce6a363435f7feed4cccf4d587c6eecb09be14ac04d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7035a279df9a5368bc6c653d953bd59d440e493c5faab18875d49a77f248c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49bf7c7fd76979c11468a0a9d4f37d5bd1f2b5550c4b36971273c5957fb4dba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"53de7e33de392365e16df8cd1d53576241022ff9a020a4631a575385d3ddef7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a19a26b295c59789b313c7a32af442f050976e066924ec948b21897b535e13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff2c1af2b07eb6554c00fcfa1290c390829d51256162970b88c948f12084d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 223 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c801c7d337eeca21ad6f755560585d687ad3566f1ade4f7ef4a937781f0d5d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4998aec375bfdb0185d4feb5bfb4529af43bd51d93209bdafb63f5adea3f525"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 242 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd9d3f37b805b72d04d979e2a965b4633db4240d5464165dad71d4677ff1fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 248 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e8a3dd9ec6a1ec8f0aff99156092bd6c07f59b1c6f6fb8ac05f9f2fc13cba1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 263 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"23443aa3b82d174d9547fa74b8934b56cbed9f21be691a270d5d1ed100dcffd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d31ae5a52ffcca567c4169ce6811274c9d042e1c38fb2a667b415af02279b04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 273 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de6562c7dbf536446ef9afc9cb9c30009779eef9db85574af3d70b60b977cc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84e9674713cef477540dcf443077bfb9465b6bdda0e1e2abdf1d8f1cfc3ab9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 309 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff6a54a36b832f06838b7c7cd45813fa6771822e44f01e210c02fdb2c9ec165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/supervise.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c5312652c25d5cf3337d813f15057366f4b3ba32fd6c2bd53dc2bded3b7e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 216 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/turn_timings.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"079521172f9aed70a4307e56850898eb669b2516d9b671c5a9bcb57bb2b6206c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 248 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/turn_timings.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294b3373ed3292b410cdf8a22d899124c33db42f7b38d9b0af2382e38719ce9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/turn_timings.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c818799488788647ce37bc5a7bffcf06e32679343d6aeca9362cbc5fd19cd12a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/turn_timings.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80842aa97de55ce968ffb3090132e004a698ce736a649cecb3db3bb0bbea15c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 977 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d1833f572a7e9425cc3ca4b1125372684084ea597111ba6079a6cd2b3aecf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 987 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0762ae992cb317a4f080d91902cfa0b4b56cb1a0e8d5ebbd47f6ec0167d96f43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e585ced259712dd31375cc6398e83ba4b19de64d6626ee9bfbbbf2f7ba4eec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1377 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b9525e76a609c4ec05fee5c68f42c2db53fbff37620704c2a7de466e16628d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1404 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"effcd409ef7ab1d3fe09efe5c13259908eed21862c410643573525145ec809b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1427 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a828e022849883dceccb2f396ac78e765842436cb03ae5d46bf63f1c83d9b21e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 350 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"39110f35a8ee2385b0361c60d50fe6386506976bb86f110d2b555123d3f74bf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 358 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e74ed0dc4ffbb4637cac57af1504000f21411043ef018c8726ad4905fc3aa61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 485 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1d6dfa774c048e7dc95e36c8a3ec964c5c0aa415d8d7549a5410bcebc9b004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 493 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5b215e3c093a2ca8c567e4c7a9a92b96af0038c405caefc97bc777a07014c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 524 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f141399382c67ae187901b7e65a4d240d7b929a449df7e83fcde6a4dc20528bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 528 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"321190edbc80abbffa0fdb106eddd9dd18d78edab6ffa70d753db74cc2165738"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 536 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ff8982688b6361deaf2f220154d97623e0b030c120e49c9106f28c76b95d77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 561 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a42f0095a21ad69b05cf16df41a1b4dbfd7c11b45040de733b1639670f9bed1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 848 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5187904f9d18cc96c254b0370c1c9c481158a74027da3adc1b6e0f9a97ec2c2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1085 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"716cefdff15c92bf83f9b59e11734e71574f5e438c39f06e395e19ddbe530643"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1094 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593f810813a61f52b717e8d9816bae35895c3a196c62f0e4c58ad99901e0f39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1cd213143c6e7c42902edab9f828f44b29b6098f2321bdde114ef3464e435f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a2c6ea2224f99950c86e47ddf55b9f41ea6a0926a022fe1122ddc627468099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1174 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b7123b28d51cad7a5c832e16c956cfbd0ee1ebb9777b49db4b100b0c597045"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"571b3c79d32e60a77cc24e91e105665ed3180a7bb8abba8c05ad31744ad95e83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf094b841b344560fbe62e6889d52a6f9af8cf33ec3a5e9b674ec7c47878f79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1505 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"50abf93fa3d07feaa115ec5d0c72817bf642fea4a07f9980f0250f6292bfe327"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1614 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ed525ae077bc5acb1bcde37d1e27c838ffbe599d89241532585d8b83142971"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2042 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cb6b2cd4ac3c2c62b060f79f0978be12e5aa906115820c8cef4618b016b7af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2055 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc99b2ea69f977ced451cdb5b38a658a8b6cefcba418895c17060a1db141ba71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2076 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"572dc94935977d2b37618e50bc440aa5ae4bcc1db791dc722ce0e4c1f20e84d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3244 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5011a8d720a4db03c976203de24f9d509fb994cff28f74e7fe186295c5690872"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9577d79bf955212752f597d2c5737b8d60303ce4e10945c674d2c34e38eb1d8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3363 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d49e6c5f1c8e44bdbabef18819f4243b45d9ea52d27b1da7898f584bd170ae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3916 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3916}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd52a43349453ab480d1cf940cd5e775f6c991d449a8dd5479019d676e9bb67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3926 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6e92256f95e7003b9a3715bf35957ef697dcfb71f73678bfec7a86ef94f04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4089 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":4089}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e09e6330b91faf961dfa4d55c7dd637020135883537fe972e0d679482f5c89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5505 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":5505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7569168528930f9d3afb7546e1f7ec49e287a18086345ad0f515c8bb4c430125"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5663 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":5663}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3d12b4f5ec462d8412fe5e86c9945262f9dd56d1a63a84ca1651b946dd09c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e014b8cd66adf68ce94a7c67b5f47dfab7b835cebb9c8f5f17b2a20c6946bd50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6342}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfea060d487d40b04cff43dc903c7540b5ffe20984911bcd0a32f3e89320c741"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 6793 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6793}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62b096008923d63991d58b66f4d11668adf18213f27d2bea5326edba64a4e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6800 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":6800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a87c30eb2346b765b9265876d344a26519f117996ca9bbdb6de703417dca5b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8065 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":8065}}}],"partialFingerprints":{"codehealthFindingId/v1":"4053d520527f131e98a81a43e470d66c04b9faaa01e913f5f191f47d25143445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8518 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":8518}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ce438a4154a6c4eb73ffcc8be6576ffa756d58f1efa4f873aa560109b3b83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8521 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":8521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aa543927f4f633e8d2be8cf3aa087166091d8f9c969fbef663e6f830f1b9f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8534 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":8534}}}],"partialFingerprints":{"codehealthFindingId/v1":"114fa501cd08b9d38d4b160b4e68503eb51b5ddb9bcc48e672d55b2cb4aaf3b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/git.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c78fb985d09caf20209c4a7b96e35a9993ac63912c3cabee8f65d176d4f37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/auth.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d05165e2bbc26484a75722742daba884d54cef4b8ab1d8bffb85718513fa96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 156 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/auth.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7713f1e1fc1592708b1298ecf42d4b5dab7ec90fb9986233b628eb8b1de1ab12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 675 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf8face665218ed8821d1213990b49fe4e56d19f36d7c054f7c877321fe8340"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 738 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd2cabe4cb09b8e6d2dd6e1f9a8e76148be9f7607670fb65ba99e41ac47e47d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 773 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"463af4dd2e73233f7e24d510419f0132f82aaa7e0ba43a641b63387f5485fc71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 806 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"797f3e552442a43c4ec615d39f024eb9bbcfc7da15391fcac9384a4558656e86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 823 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_bridge.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aafbb047019d70f568e8bf3009d3fcefe72d71d10d4526ccab8d45d9539911"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cbd1431ac53bd02378c03f0f4743b6ba9e351bd90049d969deaf5e2a2d5a94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0070186d8e5caa0255833df884b4cd5a39dd95a1f5724f0e9e367c78b3bbf063"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 418 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d98fe3317e0d9b553216e22f61cf2caf93902c2a5dcbb4db9bb155735ca07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 435 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761106158c4b6a1ad6f111fa7f937d349fa3adb5a315fbb6ddb05134c352521"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7481ad83abdffb058038d2d3a74703f9a21b2e452e619746ef41cc5fd73e3c23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 458 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7ef595c58a32ac321053e8b6dd8dc4b10256ea5c4e55a4e63bea4e873c73e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 469 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bea77545bca6d7340e37bd8caa38174cee73703b02d9cffca6cb41f60a62c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 660 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1991bf6a3c116c641ab2b8f234a001c55a2b8c8d360b58ce5f0f16361fb582d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 689 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"df619983ec9bd389e090df0a293aae1731f5ae23dd722626f50d85b0bc4a80d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 698 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cb5e190d140a35bc5c68373d96ee0cb1e01d7b9478c7f981b98b2a196a1e8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 727 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6e1502fdbb5fd537d3273f5991aedb81c139b3ffa48b1d03556286ff1a8cb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 893 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"c306e3a3ba3cff3ba679e7041b5c842491627ab2a758765d3b25bf7cee860940"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1042 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa8119f233c6d53eddb1e334d33e0f9790d6090d5a710b38a3ec8fde8a88364"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1051 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/mod.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e416deb83e3a351622fa660e33fd8be34cb9014fba339ed9ed1fac810c37fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 467 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/proxy_auth.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cda0c62b31708e0581355142bbd27f47875e88316e9778f7eb9ef460bea632e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 543 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/proxy_auth.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"95abb1bc58abc2edf02a2acc108c8148813efa9fee393c21f2812de66fec4099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 550 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/proxy_auth.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"32169eea8d2b03f54c5f8d516ca91279e36437586ada8f5c3599f20854755611"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/router.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0110855ffb42fdd7fcc9cbd0b9e2998c005deed3f023bf016ab8b24bec845030"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 118 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"af659b627f12f101ecaee8d2e48e1db488741e12beb50ebbcfa74a1451e864d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed838657d5a4548847ceeb8f8dd675499ed54b65b50dbb4a45f5b32a52bbdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 176 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde2fe87ad823bc2988a0047d2fc6961df48005c7f089b64b705f4bedd3ae500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 201 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4120ac5ec7332224c8a4d64e53764afaaf86a95b3e75fa474cc44a9ff550fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2038907cc91ee2af9ff6e381d91fd451ef828b5809277022c512f2bafbb2d278"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws_attach.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc207fe0bb82a22c6010630d9e2c7ba1a21503a18f23a060ab78a7633bb1f886"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d49f39c20c4dc2486a602e4d4e2bd1559b57e903df11ee86f32dacd617c387"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d8db83a2c2478e2bba379f3727c7da6727e01b993971ebdea058196ed20929"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 387 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c635638f3483a55dad77e02ef69002ead4b75e39e982a17eec9e88bed3b40028"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 504 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c33622c0279316b234fd6f0b2925fee32a3febcf521a45b7cc9fb8ac997880a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 516 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"714ef850c42315583dbcb4a932c847fb4b1c7bbda3645cae08641ffbf07f3f65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 746 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/files.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6a257dded609f5464264efb74b71835f3b1b7c6b92d94a412cbcf4a727de64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 472 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83af7c14601c1d47ef14b89e7e203f2eaf64644d56c806ba1f3796cb10705b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 792 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"965989d89e8daf36cf77c8e23be04d8ed35a95486e5ac5461a8d0b4d4060c212"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/handlers/workspace_files.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bde6ac58c4b7d490b6ef4214c552a71988c6bd0762ae5343004c3d9211f5b94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 92 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_tunnel/mod.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"85240af5d17a56a8fc749f8b1d63a3cda2d7bd21acee249fcfeb0fd15bb6e69f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 176 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_tunnel/mod.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5965a7ab259ee1fee33a199f996daab9623a15d58124164e5ed131921dfba0f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 180 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_tunnel/mod.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7652b99f45ca73984a33e7c1feeb9059336c60e8d310704b0320a3fbf23b8320"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/browser_tunnel/policy.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0206ad507aea8b97875b4f07d0b4a52dbda38abe1267573142b65a3ec75de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e188f37c16474a051607d919e0f5310ebc64f34a2d02b228bd8ba9cbe517f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1180 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dec85b637cf100e799afa2442da5e6d441caf35b8fa8f41accb4fb2cbacec0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1525 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8a09a77daa0743b448b1b08b46b5330fe4a7c417bfad01822409b4636d4070"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1534 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1301de71548c8e66d57ccd85930bdd32969261ff6a52c71c60619904f73852e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1623 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/install.rs"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8846aacfbebee8f2c312c445b7b3a565f2aa649c3f74ea6a1c95f31bf383db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/mod.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf5dfe8f0bca8b6c212dbd8e6386238a0a262742fbdec0f2624f38b0a7097b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/mod.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d250d624efb2c9720cfb63448c73dfeccfd423b5def944ab11cad75c676c9c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 71 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c49e14083eb611cee7cc29c8dabfb1beb694594dee4ccfebdec829f9e1b966b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 75 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16910a2e207a80cd554f13c5aaf571fe779ff24ca1ada00437aa1219b564446"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 819 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b576c1f8950aacf180e359e2ba195ee4867c43794b406986ecf737c5d175d044"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 978 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"629a3bf878d094b1995e7c833f7e051142b5c98dde2ba38dd6235cf2f03f1b50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/mod.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6acef8bd917da1c9dbe0f67e5bde1555e227afb996238295efe5a00c24a04d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/pets/mod.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae53ac56647b6033e5217f712b49586c996950761691e697459d169bb82f10a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 695 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/antigravity.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4881446913743a1f2db9c8d3096845c00f1b90742268af6eb563974f230458b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 495 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7ab8015581074f3e65eeedc7b48a5d972ffa0b9a3efe4b35dcc108f3e98c19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 521 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c0cdc99154977ad276ffdac321f3270e9b3e21fce601eea53cebb673baef75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1118 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b7f89f495dd076e142e4cc68645d6ae5556d7c78a82b8ec8911d0ce7ee24ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 301 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/proxy.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf7f2a2cc0dcea2cf215ea61602296c2d86944970490baf1df2df2193be718"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/proxy.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d525379c492cfb107641f85e33165690ac2953ffaa95b9c20acc3c718ca001"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 194 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/webdav.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a0f3e206fbbae0fa02cbc4fd03187e108d6e0956e6faf347fa1c81d1312b00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 308 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/webdav.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a504aec76a278c408581f59150034d40c7f759fa104d5e0b92397af82de4cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 606 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/init.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2c2ee71da80428971ea47b2df9604e590f17265c02872fa68412927065c43a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 244 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/logging/panic_hook.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aebf3a10c92d3ddead056d96cebb11211065a1c18d375940ad2d11535d9db7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 752 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb2da9d18e3ebdd42e56ea17a5d4dac955550b857fe37e23013795ac3bf1513"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 797 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/deliver.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b3a6b8e00ce19dd00084df6b1ad9e3fd89e00eb7c95b754bf9da88cdbe6b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea3858e49072b9c06ef1de15e9d6ac0d1b0ef259dd579312b139233ca1ad80b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509f4a8ebef7dd38bf6057f318fb17f666651c6f3a42a1dcf743bb43084f127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dae125b45213d5eb6a61ada09993170ace9188a0ad8dde7d1e37cc4021d0ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849937ad779736053a28097c8fad2bcaa65876b8a216479db8b7937855dc294"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 434 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7afd54020df78056c52194df4158da989204f865c3ac2adbcdbfc9523007db7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 725 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba51f22ee8ab2bc28d75a58a78033aa3623d8a166e47d7b9468a365b6424d50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 732 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/auto/mod.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8cbe2009bd68a42233807819266a8c03fab3057fb7336745bce1f7b6911862"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136775f16dc2429bc757a72146e7cde94abfddc7085de91904b32f42b89b474"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d8dd27c5335050edd635fdbb3e827db5812d069aa1148136f1d316f3e4206"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/mod.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aacfb08580c8e81b47d2893384f85ba323a910e52c5a300332b382beb4dbf2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 291 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3eb3b7ad9dedcc96458f830a4f0c7f9841bb001620026dcbce34820119d9f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74c41984d19e063482206016bfa347e5898aee5de1ecfc6f6c356cbd3c90ebd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 308 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c6950e88aa5280a49de89ee0ec6cfb7a2bc3a8189f5ec8b76fd4bc3b1976cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 315 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8815624baf4599df12d06274044d1c071dfed23193a301ead56b2c2ecbc493db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1443 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bfaafdef80d84e053371b0a906e46c6e9d3673ef1373b71647d7516fc8a5f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1651 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9968e4e15692728813a00eed5ee41c0d2a68aa313a221509ef691c3ee8a6187"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/custom_agent_service.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c8cc76a488a4c949e61b6caeeffc0da9b804dcd75902f1df974e7419378489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/custom_agent_service.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e70a08873839842b4e231ea5ae4af12ece7fc4feb1ee74c99e2bf6d94ed034"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 88 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8930bb82aa5d86c70f7d9e52b86efc3c6e89388aa5d56a3dc5c9048f6269ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6b1ab041b3df43a22e5603bd559384d1cf3b9d03fdc77bb307cc2d55212a3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f727fd0725064b4293f3a5a3857891128fa728b2b4e9ee8a25591d02f686e7c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 506 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/import_service.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a49392990b426cd39b00f31afa534e18e7f9baf5bda72227cfa367be827eb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/indicator.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bacabb268fcfa3e29fd4db1602ca730fc718bd37214bc46ff7e02faf389b7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 632 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/local.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdbd1d26f77884346219b39643615a7cac0ef3518c4c38fb667d08b8507006f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/local.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b6478419c2f3d26f2fe0bcc3be4ae8547033b0d3e0c4121795f47e4ffacc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1069 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/local.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8b571d845cb56e445a28a9b09deda3f7b93752bb39d8c88cbb5fccb40c5bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1301 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/local.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"707f8f55b1e2e0942aeb8a6fc513005c9fbc3632eceb7c3a99e7f160939c7d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/marker.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f307eaa27ceb2860a00f731db6b3fae7ee9d650e9d7b8d1d1f8a3b3a34c5379d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 69 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/stop_key.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f1308c156ece88e2aa45a47b226b0a8506cdd24d6f0b785d8f1fe359ee7fc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/stop_key.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61189ecedefbe06c252e20c8dba5aa4fc346c01bff0b501fc9c1c81157e380c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1737 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/act.rs"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5bcd551c3889c299e92c8ee09b99514e8a7544a57a85b07b80af2c9827ad8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 801 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/driver_proc.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b92ec95c7bd904b7239d21ca4b6dc65881e7985dab053e6d82d91877cfbf85c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 89 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596efd2abe95b134fd684025c80ff9ab5194cb2ce6be9083300035f569c6db1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8071f6c8f2a6435d0824a29f57b66e940c6eaa6a30e267382739a0f119596d32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a48ef03efc41f2b57235b3300cc567c93ad4589f3ab3a07b21f5fc5dfd73e4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c9b65afbc88e9a6de5b883ae518764cc3a6cf319470ea553fcd8f1d5962086"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 577 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3548c23d6c6b779e4111ba3596aa500005c5c38b49f404579ad1ce1c0080c561"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/mod.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"838bc568b2b869d735b3c310fe6ff10740a7bb63665e600d4772b63fe2854587"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commit_message/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9ac95098d22e2ed03f9140f39a661c1c501ed83aba76a2ef6e4dcc3af3a9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commit_message/mod.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3078086456169a9f874604eb222db8ca7e672a10d2322f0ac6fd01673aa4fca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 6886 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":6886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecaba1988c8429a1d3b8bd95f97e85056b59a92543bacb43ffe8a6bb275d8a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9325 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":9325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c88ec5b2c95d55eed13ff1620298563095c66f88e722dd7432574c6aac871b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 11974 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":11974}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5a2f87b1d566784b6eaa4965bded70acc26676a217306716bec83b76b557f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 14566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14566}}}],"partialFingerprints":{"codehealthFindingId/v1":"81db21497b997faff746ef0fd5950a676c0c0c5fd9957ccba187f48cce81ad61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 14570 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac28b0156f57b7a06c701f3aa4810065ec0aa1d44729533074845df17b1b769"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 14776 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":14776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b501fea21ad0448e8dc6f0b5b39c89b9e65edb8a40dc90933cfb7cd78732df3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 273 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/app_update.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a132440c390ace7a052bf9d0f81d4ad1586d3f76d544b3e8ce4f9742ef33af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 276 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/app_update.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"011af955d8fcdebdf7bfd3832755ce1c616a1dab6d6fcc460d90142162b6655d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 403 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"352b3b227f10cef2df3c4c6e656daed4bd870f568d82e4ff8beee719fbc5789d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c2ea6391df5b9d37ceba50a3cae88bac06223813914eaea653ad75df18e918"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bef0c62a1e40c967791a981ceb3bf60697b87e082f1b5cad7fbb9731571a9e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1057 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"468e019264d9c2640f1c04b6df82f96160859ca7122893d25cbfb623b200a78c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1068 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b86fc9b5672640c52cc0ba119cf13cb095e02d75b7d652c4d82553cc38b746a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1428 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bfc100f69792a5fd0aeb5bd34866de4841b5356ed8d74d27a455286c2faa63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2014 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1217a9d83a312c97f29ec4bb212750ba0e64c6824e06b7685168d0b4ef75d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2107 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"746d2479b56404bbf83ee83ff7fbc9043948e7d4346a5130d15f8fbbc414784c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2641 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"be89ce540a8e16598e91cda773881fd415b6efe0191bf63e848a08db5033479c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":3132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d28872e07bab5ff26d488b5ea79480aff64c37db7b02dbaaec8bfbff80ede5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04d8755944deabdc5ddb6426c6d2d749e7dded828cf33f94a8db64c0d1e3a55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3735 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/browser.rs"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82e7205cf4a4ac36986748c9cfa0e5887ea39c95378da51e97a2df089742e8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 675 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/canvas.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12a1e7bab740476922e631fffc4df800da4bdef126d84f1b2f9396aaa3898d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 117 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0490312188c2dc5e52c31d3d17793f570912ba3e40d8ef88e363702d651dd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7e9eb3e1951c8c842f62c8c95fb8f9e91059727314c419ea9a5c9359058b3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b54d8c32347144488da62b8f9f2014f01912000479b86dfc0e4400a28ab947e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce828063b4a4912340fc2e2396fd03cb0afc062805e6b28d5e9106e08161be01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 439 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb75b4e4376e4050a44b337ef0a29ea4f29db735a73b3c4771b8558f875bfaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 455 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d632dd9b37a3d6cf7be5efb7073326ae1d6e5c3d7a21f2313af3c45a616a7288"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 457 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65a03a56a98ef94e54b0ee248a3db4ef8d3db8327175541af5647ea8dde9f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 474 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/chat_channel.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"396560c4f80d873ad0076b1953b5a3532dba2e905baf43dbe361ba714910d3ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/codex_catalog.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b511f3218922a3e6d4a4a1301bd444b933ec76556da2a76acac876c981b8626f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/codex_catalog.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e97952024e4d8300f09d326221b4d3318d9c01a6dc8a020d73d6e6ddddc2e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 547 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/codex_catalog.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b08976a14cd1b49b5c55f36500459ee54b5ca1dea793d3398aa092abc8a50ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 902 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/computer.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c3aafdeb7301a71e7c20cedacc00fd1434bbb064679d4d543153aafed5a931"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 274 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbdfc4f0844a21a84b6544ac0f2480a74c82a8419c16745d964589635e297a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2095 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"015d1e2b8771a637baf5e21b0992bf09f305ac00614cad6cbf0b768130274bd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df52f0e18e2e2ecb32dbf1cf2256cfb85c88d96d4477dc604f4ff9e70048271"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2261 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c864c4ce4ec915b8b554adf2a25d27b40169fef62206d501d6c1bd42c8eee02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"606bb687ef3c275787d9746f348c35bc315ef28484d1f7cf3758ca614f78f71a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f50e220fe94ee34a69af21b920324513423ef990830b68dd149be54cf6b9557"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2627 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"066ad40db32aaf16972f2b60828299bbc286057cbcee9843cc52f326bf0b80df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2647 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"34132174d1fa16e14b38503a2db8f5a820abce9ec6548ea9dc589d4459e163cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2681 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2681}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f4f3e08446f4d06edb32cfb972d7a361d2a5ca13d0f4a6d85f7c0d43654ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2739 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8353198597a4cad44b29273fe94ad19f15c037f25c47521fa29b328741d3f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2942 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6e066ce28f7b81ae8f394ed09303317c140245256375c3b0ff40582c2fc992"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2948 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"1877c800c7ced61ddfcd9591dc1fc47418fa6fe35ef6810f3191e4e478f70a35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2955 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6c9f71fd23f2b673cbaf9924f9c64e99030be814824c628e690ef18a426809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab14a547f3e995ba543e034d4d6f0ea9072e8e878fa94d80a5066c001ad01ee9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/conversations.rs"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a1fe2f33741f658a7932a1e8b09a387f846eb61c6f85c9651b606df840ee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_agents.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c289826343500d909f26d3ab9068e8bf6ad73663f235dcc840a0913e6af58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 305 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/custom_agents.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"480d9176d681e3420eec4e51d3b85a828e16b08f88a5c481744360f5c750c37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ab2b90ffa4bc5cb0944135908c21fb58020cbb901b8131cb29d14768f63fe8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 446 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a754a94e06ce84c2a17087e560064170f8854e31c09bd82688ae0ccae930e127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb100aece511f70a8412e6581ff84b13849c23ced97c28bd5da53c52e9a9b15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 747 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cdbb63613fb232db09d2b5a8e5b4b5e2eb910b198560fe2aa2175bd3b5c201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 777 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"25705874a34bd2bf1afab4ce7426ddf7511705e1c25ff537db2bf38c5bcb2dd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 798 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a9028ba536e6d9b75d6d72f65db11fb77c27aad2620ddd56ea48c9c8f11105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2937 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":2937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c3b2c84687ca610125eb8e677916827df3095c8f410a7ee767c6567721745"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3008 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3008}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab56c12bb90acc58189684d6e10ce65d0a07d208f26171dd4b48978414c651"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3032 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c975fab2d33fef060d7d69a8336c38bef47707a2d23b8d08296e895f5693dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3619 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":3619}}}],"partialFingerprints":{"codehealthFindingId/v1":"30648012a6c978f263918278b397b31c31dd183d04d1fe09b36fcec456a33cbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"addfbf4df09a93454dcb119bfce9eb5fa7f424ac781d76838bf08334ef1bb9c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"841209ef1b8ffc50e8232323ed6a29fe565b796b2f518bef071e05a540936d43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0fe7cba12023fcd22d4ab199b2315e890295fac2dddba7dddf7660bb037092"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 417 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1495222580d19c72c060d47fe96a6c009faf7814e88ff8dd9121d57656f0839c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 468 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d707469b04cf91a35a9b87d14c1c4c0a2fed542f7df69dff63708ee8c076a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 496 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6140e5e2cb12755174e37b5bd025489749a374c30c238517afe82f0eb0c14e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"d692a5e69eb2610c39f5a3989c81527a2cabf61d3e9a93d212461593c234d519"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 595 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b28d0b09d38f8a805b21b89642401ea2c66710da436fdaaa11ecfffcc5b1965"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 670 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a6a2f40e86df437f67082029be0063b7c9daf2ed550803b3b5df17d07f98c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 688 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/generative_ui.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9efe9f69542702c26e1276974b3baf727426724d9610124ab7bf45767aebd68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 440 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3616d4b1537b92692c991e7ce4b38c1c743378171ed7ac3d7128fb5f7915b87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1754 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e20aa67d1c3253596a34b83c6aa5ba0f56121412e4e013bd3f7c8dc8b7caddd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2040 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a154a21ceb566c19d1d76a33771a97a07a6fdcc2d4337f80eef9d864b61eb7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2057 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c795a5e055d81284609503565f31e75d9a93572feef7d605ed60640bd9cbcd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce262fe2a2fbb63d1738aea9cc2fb22efe046161b58c441e8161592647d6fe66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2419d99754b7db27365f027d3926f525f036e110f9cfff482b299f666827e459"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d14bc82b49a2c25fbf894f3ca4eed15e74dbb82784181a2a1d008ddd7d371"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2644 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"9606554aef7cb18b21b6956e9e0499eacde24f7ac1097c507d5f768860ef5c9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2736 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f775c2bd3dcb8dea66aff36ba340bf3f180b604b533d0fa0ed87b624930ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3074 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":3074}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd12a7105bfa0eea0bea0a0a86616e5034f2cccf5d25381d9f5ad69546765fda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba725c4ae54e3c5bd4e3674de66f4e28bb67b58c8ec138db641856d22573ea4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c642983ab7b294dba0b387a9acfe8e415a8917dc3aed43561e55550bf2a046f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4361}}}],"partialFingerprints":{"codehealthFindingId/v1":"07301f2ae4148f80b0409f082d98b5d97821524bce99a224c228de814ccc0cba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe09632d773ec04dbde0703edaea41c4bb9169e54382e56dbe9a8304bf0c83d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4611 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":4611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdb6c20c320532759e3632dab6efc2a4b9d90777c3764f85dd56f252b49a640"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5233 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234df43128d508a634159cb680a5b9e75e46f9a60775ac17f0e2f6541ea3252"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5617 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6128497240fab1df42e6783cb4d4a0a8b0a86e8ba1994ae9e5a623718481ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5688 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5688}}}],"partialFingerprints":{"codehealthFindingId/v1":"649b09cbabe6df2c7cd860f307100d182f2385f4b36ed461bdee1a2cbd3b7e46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6196}}}],"partialFingerprints":{"codehealthFindingId/v1":"231a4ced18b44fcebecb6897f1eefcde409f6c9001d4f0634868b10a8a8c7d85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6599 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":6599}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a69d204f474ec05d8cbe959e4a3b903f9f8ed43832b3b4070bcb30c9d1f00d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd7f9a5302585ec22b6b2389e359378b229128d274b815fd390207b5e5203c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 427 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"679bae06e056a82d3e19ad2f6fb60c52dc1ae5131673421eb8da0667a155ec0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 760 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"043f659e2b8c20271fe64d8567823e039b6d05afb6f548623259d86d17f34e6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 776 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1fdb17775c2cde1386f8d3b171d146079a5e747494eed3e6d90252e4b91ff1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1021 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1dab7377c0609b99dee03c61287c09328e630ce74163307c382af27fbb8517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1036 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/office_tools.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13416a31dc036fcb280746bbf5cebbba6118e3d265f880339d80b916a503486"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 207 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cca68887c7329fdd012a98a92f3f7ea18f1f4a2d31c9709b577d51620d386a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"709978b016b0489df1bc1d3e8d92971f30819de83a005a8fddb0c073a7f74111"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f23f0ae285271ea438e3d3521fb41cf9bdea9650519b4109383ecdce2ea5b76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 233 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4e740e547ad214885482cebb9d8b351ab9a6fe2ae32212a0901255ffcd683e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"90efba740ec9edf7ece7dc64c0fe671844f71f3a23d4b51b7de924626b079e92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 423 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ba94a3b390b4009ab38744428009aa6286ad0b77d2be0de3652ca6d6bc9e5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7acc1fad6668d140c5d6f5661692670bd551e4d4efbceb90c6bd2b3590ba2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c88c066e2f3495b0020a0ae08ca5b60d5c9aa65c102b5b4be2ac026bc2f94de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 572 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd751d15cf9cf15df4c239f6dd0a2bfd121bb9f92b7a9b3cbb9ff92b994af181"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 575 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad320da8a728c62ba279a3909410d78bd7c3b3dc022862059dfe048c7a71806"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"059d08f66e9a383fb56ffc395709f533681d04e09c69c80a5a732bc4a8fd520c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 598 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534b9242ff28feb0edbe9f4c86910033bf7187601f0b7a146dfed700e31d9a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 601 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/project_boot.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd39afc1eda8010ea9e58ed74b1e46d5052a08218b3039082d1aa6dd4ec4fdb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1867 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e244bf0bbb29993a835956087bca4b7b766dc95356e3633e9cefb94f7465267"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1873 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b395e4853a1a776ae027dcbb99f8eea5a703c94a21a73e6863f89a6c66d1e519"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1935 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f659c93fb495c6fee71cb62de90f8b1e93738f369d1a82a77f52957472c420"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2074 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"11006b1db66d67042a8deb712754199bf4c535ffc10e858afb39c7428246b6b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2088 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a98847e971c40bf67fe4d520a667decea0415f804cfab8c160a27ccd1450478"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"822f93cdc33726c5afe46355529cbcd56393a6015251f9af0531ed6734797da6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e1eeb744459cfdde136138db0b0961cc302e9f11b801df82e1a7c9181c9861"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 468 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7705008e5b811bfde39d888e34589478c967dfe05c7f486e8a457f98fa158a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 476 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d384e3b8384a23e2f20ce11dc39db39b7e1a04f1fee24c9b7f91b3c9039f6376"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 581 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/system_settings.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa90d6678c9d2950e503a39f7c0044d3478f5adedc5e7be62c55b4b0e1f16133"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 30 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/terminal.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7badbb6309d411647cd072e9228f8a1b8253a09b36d23fedad434202f4178b9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/terminal.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f209cfc48639280005e8a40fba06ec26da33a2859362ca65380bceb99cb477d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2289 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"daebc870e42918b24ec140c70c6d50ee4fc5a056cf7a455d36375d17f5357048"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2639b69a43d2f47e12a86a72df08043d8bc5289b8f2ba7839f855eb5462db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2464 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/windows.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f89ae4d5abb81f0e4cfaa86d2a7db3e394acab5d7fe38cd9271a0f5c286a30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e635d33a9210c60d0657a81d14cea2a546ffe5099ca40ebf01fd9fe6e9362d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad9bbca52f6184af1cb5a427c9f8ff33424b6ff297afc8bcc9e7fa02f1eecdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 586 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9896f0617584f13a9632ec09e28d4a7ede979075da1d1276486122750c3bf2f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65f1e877085eb9f2f8626fba2fd2e01f95002d6cb0ba7ec72f2ec8f4d9ebb4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555960049b4a6ec215124f5c033cca84e5267e35d06a466b8208c05ba01300f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 498 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2af3e8600da0c2535a10492ca67f9f280672b57bd5ba4fe58f8ecaed0d47d0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 512 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34b35518d76465bdec05a440c6be7fdb7f2ae3646680850937498dc261fa348"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 580 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4132ffb132edfab907dfe108dbcb2231240b8d45aa38b2589b3dac1e098bd6ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 649 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_windows.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a728c6138fe4ab30e6a0b3b5a2a7a260ef4a11f9be62ed192d8d265f51a026"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/worktree_convergence.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"657b58d014c85f7f8e53c69b08b0fd323df51d67efbf36e07a8fd4e991ec5864"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/worktree_convergence.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feb55619dc7847dd83a0b1e0e81a922a19d854c3e38c8a6a32b3d68ec67f06f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 86 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/worktree_convergence.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f01af41d7e37732b58fb85d1ac1fdc2c67877a5f5b97fcdf71bd1a9a42df8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/auto_sync.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd38be0642fc60efdd7429c7a42aae2da94e72937012a47e99a57f3e8300418"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 706 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/domains.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"32076f12695d75827a37d067decf4ead3dbf3c7aa6f22fe2d0ffdaf08f2ebfb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 321 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5653c3a1943d84aefdb4f0f18260158ee91d1ceeefe22fba8a9ca44774d8b972"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/local_io.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1de26812bc1fa8b19d868287c73874e07714caa35a99157fad1d3bd33f56899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ed5b03063c688b15126e431cd3c25787faa67b4861651982e1488f8044489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8bd71b571cafd7803c943332da4d28fcb85713aa67c1b1379891c083d4e0d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 480 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ac56c2cb77574ef95929db2f9f7883c8eef64394574c9a0b35b16d8a243a8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 485 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d21497d98374377e90f75e05575b51ef93f8c5ef18797cc011b1188a32bfda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"22da464e10774525a75d7284a232731172f58560b91caf76252e2d72dc6ffee2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 369 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7654323e758cf061a3e7b7e2c4cb074d9002a88607528958facf52932a62330"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 406 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0b45c0db7c430b8aa1f7485a2900b1bb60bdb40fec264f3df48f836ddfe3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9fc180d4696ebc4d247ceb556e9e53af5d34f068a75888fa76c972ba0d8e67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 436 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f14630675a8461267f36e0abfbb96c3c5c6a2ee34468ffcac5079ebb4f5e28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 456 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"32899f7c6f0b9cd4d582a7f72b6aa121865893c804916dcea9b453db7a0ef9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 461 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ecdecb78583baf9cd6449b48928ffa63ae934e83995834dbbf77af72380a27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 671 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a65b19f0b34f00b7d72d705d53c9c013cf33eeba2502cc5e80be12d9f9a68b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 798 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ba96e39dc74a41037bf0875351483e8c0eb707e9bb319d4705d9bf63fe321"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 853 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"895c363b0b37094642e27485eef34d7a01c33e185dd954dc6ab191ad2c4ab5b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/webdav_sync.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fd2e07306f9e1ff0c718c9e2c29f3dbba135f2a4ef04860d1c6b43231fe278"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7accb710f66a82d11d735aefae171de9573c300a2176452dd3ddb8428bc02b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 308 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38fcba85746313d176e9aedd1704fa56d95391c250bd6f179f228debe86c0f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 425 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13c08d6b8da499ef1a228baddcf56af3c75196eebdcdc59d11409c7f78d24f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 436 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"968e97c3944074e909ed4adfead1d8b2096190a1ad7827b73e237d40d70c27d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 654 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f183bc24a8f3004f3a034b1f1dcaba10c921f86d2549c8dd6752aca78fc32ae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 658 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4ba03be40fdb9cf4111fe8ac224d16c0690815778b5e94f22d738f1f98d336"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 682 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bafca906940f9c26d9fa09ba8430b9de40e817cc5acc744e63a8ad38867d91c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 689 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8af52b5e5e35f9a122ad868c026bf1490c90ee78a7b02205527c8d110298d8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 706 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"311cbc588d941744784b2034f18b89defe1048391322b22fbeacc466e9f44112"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 716 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"336a0e0da58b1277df31490f46d1338e6909eda6452a66d7cafa6cb969721292"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 767 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12150780b63451e982282c5587df269ce69360672153bd7432ef464ea1e388e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 777 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d32f330261a3a74d78e64f74ffa21f0c560ff8954ea17844c2d15d1ef208caa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 818 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"0400f5d9a6f9e99bbab02296fdf29d0757d5cec4f2296eaaa29a7ee59a8ad53d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 875 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"232eea48466ea17e3bfe357e466b9bb90c1356867e4660be1e34d852d6f86f7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 897 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c97c8f32e4797a84562238e1b2373593091141b92f125667426c249755e794"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 908 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74ee2d1f3168228bca954ec08a8983b030daddba7fd70673ccd35739eab5351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 918 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf511053e5c3a778337bb29a652c018316d7b9fc6998e829ccb09f5c3ec920"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 925 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9bd171634297cf1e8d640101837372e06d86f2e58bc07652c9c8447c44eff9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 944 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/external.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e41036a152390cee0029cf23c0d577fa9e7194109ada0a3103f4186a486ad9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2516be16ebd04afaea23bc0880bcaff17337320fc56e3475b3f75c995644e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 436 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaca1c3b606d9a02cd37e3c7e2c79cc3dc69e0e857cb2b07c53502d532b77ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"542bd0554e8c2a2c02e6af04fd0ba723a0bba6e5ce0d6986d2d8c70be53ab099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 632 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff87770412f92cd9140a38cdc78d1f1f25034f44de7eb17ad2648ba83b6ff4eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d035500a9275a76d505484aabf8c4966076ebd5552e1e36102814e5a8a00db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 154 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/sections.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c0e2b9e3690b7ff51e9bdc6cf9ef86b9d39a1fe11783aa4be0ff5f4869327f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 223 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/source.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e0c75b64dfedcff006229a44c77c695a5a00c140407c78530f71647333fac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04cbf7ea289b485273c4be2713471f2aa08458038122dea7e1ac65fdbce55fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2446ff5832854bfa3f20ec9e6943127cd01beed89dc2416079a3795614cd54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab6772f731b5de0e16bb8fd77cd42bb4e1a0ac4a2c21bc3a707b6f438d3980"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 174 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/listener.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f64d4d39b983925f2ae269f994ba838e87e5bec32f61b0eaad4c99685a5b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 916 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"d251805ca126915a8071d798c83a08bd6672f8303afd98856b7e07ae977b40bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 927 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"b544d4289ac2421f479388e68bd1ec1ea360573a10e741a3b9ed0d7c43d5176f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d290e669e64865a1d082693aa980195dd406069b703683d9f984145a3731f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1808 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"0076a15418cdce519a46a7fe927426ac7832d8d65e4a4a578e0276e6af18bc93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e852f77e866318838265e772ff905f5869ab041d1a4c1d85b4d4a99bc1a9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 364 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/worktree.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3180714271132270ca876ac2a2fd817d912844d0de2513acc40d3fc8aace904"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"53161b5d7abab3cab13140153480793d945bcb6d4fa36c189178fb8bc9fa0e20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4020e96b139a929f0259a36eb3bc7fb25e1e757f2cbd41c6b722a235a45666c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 183 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_dispatcher.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e6f005bcdf469c9cbe0e263692c2faaf53f2892e3af960f2281809b49e8e46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/event_subscriber.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d996fda4dd37db47132fd4262abaac72dfdfaf1f98736a8b0d795b6a9ee71717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb64689f9f9fd0d76baf40ed247120d48b349da785c2b46c5a65b8b04f2c365c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a6912b489d64afe9c0b516e70199bd116967c94908a9cff23e9574700c3e0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b78ab69a67a5c531cd5b5401a1f7dde793a7fb4a4dbb5a4969b5f72c33155"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 420 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d26b9e6a8fa44135b804d204105ce97c7dbe860960351f38e378c684243106"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb779664a85c09a2e21c1ef3c6edef115034e26851caa2a65f52790e808d90c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 442 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7e91c0194952da726d4bde1dfe6f0155f48ab9cec77eae89140204f15b2e33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 454 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc9529b2b05c736661e13b72a0b7656f5b10d8deb139016df1919972135205e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38ff2a629729181c9b142de04f7946cdb04d1b20c2594afa9d294a26a54ac2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 471 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/manager.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e561d2630b63a6517c47fbd6f658fda27c2455c5c622d4e8840fc5f45f8138cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"699d2664b9b53e71699267b677d92db1dc6dffd001d2948cd267b390423c5f0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 46 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9497459239f60dfdaf315e70aa184989ac2d4cc9a457b46dd498beae1f46fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 55 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"07322d19873953fc0e7fcd7b5b3529deb7388d61be82cb3cc829289c494d57eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 66 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f4280f428cb4d5863048f597189bafc3b25645263fd8622d64141e61d381a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1ae938e0ab671e5c232151ce2f96dca9daa36316cd44d1566c2ff4c1813c39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 684 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/session_event_subscriber.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c6d522cebda82fc84214c668243845bf7ff95bb49659d536ad7432f14457cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/webhook.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43606000a41ad869fbff5b7a0152b253b8bd81de68bb7581c4cfd2016e4fd17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 284 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe31a54b1e9a5cbca9de46ae3565a251715ed8125e0858becc6657a9b33dc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c73ac00102b60c11c021b42d2a13c06f09113b843d1c3d3665cff000a146f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca7aae39b2d9af525e053f6d587a34c5c3c7da5a4c1ede4368a11ac4dc76f56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 413 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4bd2dba077c776db7dcb2398ba2510c4d4d1885715c7a93544ac04ce4c0bc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 507 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e872a52bde1b4eba3a5b657c73e3e150d1f2fad8e07fdd736809e519e5f6f28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 508 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5653e376953fe4560be03b8a92642eef5c2cb8c567571feef304b1c2ada51a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 588 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/lark.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc545e8bf86d1c83d016a4a2a3f78ab9968efe0a22b561fc9c09dfc09cb5d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"02035cec521c16252c464ab141de2e65bb126b4d23389640a2bb8b82a0315844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 190 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"213115baf40bb56207d85d61cf560c0f05f78c8985f503253e6e12d538417a41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c21d6470f72f905520925bc21c0c18f92a8b6023423fd310b42ba57e14b897f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 326 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8df6ea6f8966cf08c3b1af407e4308f3f9498fa9b71c3e4c94ae807ffe335de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 343 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"95892d10be150e8c5d94870f70ece99ad1b25153fccd8437143ab401ef9e1d4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 355 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e33a3f09380625d1a54f26d3ab4473ef54dc62b24525369afb35cf7e3d6351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 404 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca9ac256d6ad2ed29115d6ed18a242d9168c95fc0abeae52f7852ab2c36324"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a9b304a6283cc7b00a15015b6142e7bc8dba74759e5f6175ca533ed5e3734"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 433 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c38f230c54d84eff6fc18282d378c08c03fd8cfa0e575ca3df47904b155c62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 694 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/telegram.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"967cd02c5d1ac5e70c4d9edfaa563f64c9fe02f6efb42a9e5bbe5023f8ebe314"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 354 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"043b6e8573fd737abf15cab93e525aa11f659e800555d12c065645616787842a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 396 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ff341be33812f8b30249d37db32260dc6a820ad8aec11a34c0b3dc85d3960f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 409 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a36c12dfa14297eb1335cfc89e65b49ed5e8b214f2632c9dc5d473aedb6737"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 444 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc0571d3643eeb28cb08418bf9b26509161f4e331b98a75d4fed37ff9413e76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 456 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8ee98a6fbbf4486544832feb003badec308639ee1c1e6ff5542df8650bb166"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 473 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c57873cf5731b5d9c0caf407cdbc54f910d59330e04e301f3e95d9900471cba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 474 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0134b23a0dc5051f4959e75410389988bf4231091b11f0dd97a22d3ce6150a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 512 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69fc42544fc12b69a386f55cb7ff796c3aefc95a7960321fcf4c87aa80d85b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 583 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e549aec923493284257a7a825a7992321b249750bf041da7e31eca34f43b615e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 597 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"44027d57f5fdd3824d643fb3b45b57fa4bc296cc531a76c2f9df3e00bd10f5ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 664 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b944caebe98e07d52dd21b90dac6a96981e4dc02b9755efb1c040c7a52bf9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 682 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c886a1ca7f0509d939d5cfa6cee337152e3f551735e2ed2334265a816863896a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 696 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeb89dde07a23e9e8f6e9e0e69a9d1272b40218cba90428e8f5e1e8628a86b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 708 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db379fda34694e424dc005bc373afc8957ce72f14175106c4eb86219644239b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 718 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787bd73ad7f99b8e8102553f85075a1ba461a977352240bbfbfe3b51a16fcf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 779 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7d8ebf9514a15245bc5642625ca893ae8954f91097a1c846820df93e3227e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 780 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/backends/weixin.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"e594385f88bab77059a9c6307a3e3762c40893848749e5cf947e306734a637b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/blank_page.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7eff146d8fe7234b9b94e146ff1f1d816a9e6eabcb442c321513c09fb71ed6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 90 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/channel.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"310343deff01238bf6cdad0ab7b7abd02d0f2b39f349c1f2e9f0eb6a62139f7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 258 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/channel.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e3613cf39b72dbab0ac59cb402783e8111ac1b032cd1af8456e7c166f677df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/downloads.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e61451c2bd91642e5470fd3acb53448f1a5b00a257a4ff0e3b35253fbca89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 480 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"854fd8790595c88be4b7590a35b7ffd53d586870684a09ed8a501f30662506df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 742 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"7558dbea19bfb55668801266919f952d1c0cbb546a197c8f86554089d0090b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 796 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"869107e64387cc4ef62210b673237a9b2cbc83eba764fdb662c05264974a744b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 800 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f22cff6a27441b68b416a9ba2633847367527bc49a983505aa79ab54684f55d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 846 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"403023c42d664c0e3d65976ad8efcdcb9daab116ad852c5798698fbb545ce95a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 883 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/egress.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c2c0a10dc50e73e90595313f00fc67e57287d108d67d633dea121d6cb1fc73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922e44275d3f9186c4024710b09633db0948fe6479afcf2bfa0450f418deb7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b010987a0993cde217364e61026c157c256214555cfbb35720c1ecb7d7795d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 113 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3345fa044dbf01233192a68a9c593292872d6c29e82781de56380611d894e15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a398f659cdc48cb7cc4409d7a81672ae000b1cb6573c63f21991a693a7be92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/hooks.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3ad0b0705f9349ed473eb91b237642369d256ff953ad866a208ff967415640"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 341 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0cfa2db83630f1c1213ed959f75d5aa2dcc0fbdf07dd03605dd65cf813adbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cf0365ef9f61af5cfbc97cd5bbac40f1fb05bff6129a8c9fd79db8b12a8657"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfe7acaa8c4ef6d93fa1e27a37747433b7885f391b9ca5f61143c1d730f4062"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048a739484d8c4919f3206a73b326f38dba725abcb9b46142d6bbf84451dad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 377 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/policy.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b752f1490fdde69a9111118dc6dd48160a37f4681670481b39353f091f5f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 472 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfd0b4336bcfb861dc9f84b62384721c5dd318a5e5623dc38688cfd7c8fdab8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 794 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/profile.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff16b58a02797c9db9288e90113d270fd8ba465d72a00ff1ed487233c8bef8a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 126 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/remote.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"376faa17a6c8d0350860905d7023a3a58b56f8101365e261b7ec899daf67fc75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 235 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/remote.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d114fcc974a54f76751b0b395437ceabb5c206b09355388383b0496bb80934aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 243 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/remote.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6928f9fe09982a0b4fcff58f1b135646933c806416f9ff1e49ec280ae826a893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/remote.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf566a7e224c4296caf4c6481f612626bff70ba0d2d2232a8080bb5ef267b31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 314 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/services.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d44df3a8d372c72e1b7315fd0727a3554bf617f2141f1c18f5a413ee28e85f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 28 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/smoke.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5412eede56aac765007e7967e2ed7ef22f8e174164e01a82bc150813e6a4a56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 188 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"91332dd82c892c7d9e81b2a3e606f80d72fa2819f3c8e63763a4be398a058cc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9795730c3a6591afdb58f3753bbfc6b44e40ba1de95f7f68df0f8213fc95ca5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 240 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d67a37f11445c5b6603c018c20419b1eb8e77d98622d756301d15645055258"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c01685b92e119fee84e705d665103283e3401f31b9213255d77462ff9863e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"38434a61c7c05c99211581c105d0b96ed6f85014cc661be151b5809623180080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 741 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8fe04b7581d98fd897123a0a297f26834a06935afd20eb3b6a08f3c4ecaf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 851 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed213bfa26e4e3d7e142931ba7e4cc6ab28e181bd1087f4d1013de7351fcdea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 864 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e0634a04e1a28d83b388471360d2719fc1c5d4e14b29fccdd1c767cb093159"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 886 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bf04922a9c016f74f45f20049827760b34e658aeb5af1e8e910bcfa5cac770"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 936 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a383d88b3cfcd28425b7d0eff2d502679d92c3c6607f38cc7c6fcd89f1022f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 971 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74d468923e7ce715dac2d0be7a1f6cb40d6f726e76c899f64d52166f1d92686"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1025 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa0b7ef462a709ae3cffea8b2e772ee88db47b323b3fe16fadba95bdea90828"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1218 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"375120ce061a263a3df4567fbfa4e484b0b42274bd549ec262e6e668cfceb8de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6e6c42278e95178b49c32e8154a08a987c6407c5128a14200e451d8379bc04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1334 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd20180f2152a7a2ebf33ba25cb23397cff879a675ddc35248295f091b04f77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1367 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_child.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbb9a7b392fc42b3813794a15ebb78b463cf24030211bd55785dc525fe2faf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 118 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"515b9b1c2bb5d70c2f6bd7b8ec195b46affbe2772d41788dd98fef6f5e126134"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 417 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5128ee65f8d8acbca9235f18c6f77fc5c8e24a9ab750215636090e2f343eaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 423 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe206a355b852930c7736decb79d5714225e7a1ffb8774a0bcb69260c6b40c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 451 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b723c7ab5d2548b85bcc3398d5e683ba460892d2e96cba3a273fefa24f7177"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 457 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78b83219bddd91f70b541d58d9b23c229ba8d0718fbcf5e7950b6df27990dcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 573 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f2e70be4ad60bf4799475a11f4b017069097b0f60ec77bd1ffe3bb4f88ac91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 602 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"699026dae400660fbcbbd6b90c5d8a7c6d344cdef7f29a03a85035a8c91248c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7dbc458257e080d650d0b91c55d55ab5dec2930c0f2012367d87fec2ee3353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2c6b68161356f6567d7afe9cbde698826a79f70bca4a0af3c87785e2ca1539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 540 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8890a67104aefd5ac33d275f0a2f1a154eb1b3ce46f48e043832ea739eb23d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 563 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"189aaf1e4f0b728baebaf2c8e1288dbe80c4fa288d90a86864a5ac95d6216f9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 573 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5195dd75dbb2f2e80e71f282a51138608b4cc0b804232d730f0bfdc93b84521d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/linux_context.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5a38f9e63906ed7d7d7cd17d2d9a1e831b5c3996bbb3a5e9c3223d3e377c0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 729 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"64787498ed04c4a73a2b21fe7a48aee405af97285483de59481bc22a53a53854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 743 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"208d10c90f6232a38099a759e757d8c048fd82a46d8b1cd8339f07c7ae9f2122"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 809 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93317b5083bfd90e4f4df22c809c9961533c26154650ce2c460b8c737573f0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 890 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"714cfbcdd7807c86927747ede71fc797ca4dff11de6ed3ac88fb8291dd61e5ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 510 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9eb2765cff93bd9ae39591a6498e444bfc16abebde8f7cd91b145dbf69d7ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 726 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e3d79e32148b75dc20d8bb4ac257fa0710b4920d1197c3ba1cd8181d8fad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 936 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa22510c5b65fb4b60d48b096803891f3af1090b6a64d4d04ecf587b6818492c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb375876303d6f113a3222571362a7ea9529e7b99077c498609d5574c10b7c47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b11c22dc12055935d9afd3e05449d8f4450bc5ddc167a65b9c2c74095f8af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1616 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20b0a3303371e3a5458722b5c87bc6dc5bd0a54b39d6ad9100595cfc505c73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1635 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f381805eaf2d615237b66bfc54f9cfc6b37f29c6943aa73b29fce85c76cf3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"704f32b442f162db38a3213cd44a2bc3f57ecb5b09141a95ab1b7e4c752bdec3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1646 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0732d4780ab44de3d79c0f530fafe05dabb3d7b35639434f901adc72520357"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1738 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ebf1c7e247e9b62cbe673833f67896ea37824a325b804fc916d8ad6e9349b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a3aa367a7b24a8af02d9d662932cc716a8c11b5d38f351d754c235e7d13557"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8139ab1329192982b8eb30b38b8e70fec71496a5f3869f2711f8761f3b5481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 149 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8c7c675d24958c6bb0b72b99784625a67239575de968b49c7dd770fca7b157"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbee8b33162cef356a775cb5335aa95d2bf5871470671a899c0ca25abb56600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee8f7b2be324b5b31105c2bb39c3b509f12b7905b9fa996388e7dd5b1af5d01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe27eeefa36d37c370603e8052793daf4f403f557178968b062a7a90d1ccd524"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be2ed17478ccba73190d1010997efd001c86e35fa3a8d2cb6d7271de5f1316"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 279 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5cd922f8b60e9e618353d7b72a4158df65aec9080490ee4db8a2c50899b8cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 280 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d54aae78e69213cfc929d7207d75883fc401fefabbdc2f3ad5af4b7b5082a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a9e471ce6205ab066381f1005e9d942bbb751081bb2a83a7824ffe539059e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be8bb8dd4dc0d881e78b351dc2154b43d68410d9ee8c4f36ffa8523cb589d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aad01c477deb0dc646391f5db431adaccfde21b77548572a52b1084b981d05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ef999ac64b87485228446a2598e43de1496e57524588230410f4a63dc49da9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 582 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"80982b6ea2a069f3b6143c3750950ce6c90bfb0f156970f5771086a29baacfc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 588 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c191493c2863abdf1f2826188d482f51819556b951ebb4c4df6bf62b25dae139"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 602 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a71a39d334683e0993b33827223e5b393b7e06da70e9eb0c7f11d4d6732ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cce6129b818f61aafde63725c7894100b1227d00b3f549cfa6171413a10ace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 756 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7e331db91d2c14a937dfb86ef3065c6402d8e0aa1291ce82abc0b6c729cd1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 773 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"30320822e6236f7ba03c03f20afd8fa90d95a54a28be637a5fc429a8bd994889"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 784 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971f82dfe7fc6667c3b8b7842dd8059dc2a1f6cdf6def251c5a4a98e8a4f188"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 804 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a5e6d05428ecba0a91ef69aab403d942ed5e24308ca2c2c33652bfcb8ae69c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 810 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"863f6dfae61cf721665633c68d8576f8e094b6acafea775b77679b035eec61b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 844 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"8556ef33ce283404d17d1f509e554aab5c83806822f7c64930a365508689dacf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 857 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8a7adc3026724d88a2720608785a46db657796915540f08d372c40aca4b042"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 862 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e395b7a31d4d2c438aec7698310ac146d5ffb265ba8f6957c3656728c9bd10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 156 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"005ca7ce2e349b7553c2d8057f64b2e3f12ceb9eb4813acaf1f7d6641f0d4f82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec8045e1795ac78bec6ca5d138a9b0d7a25c04ea7a3569106bf61bf2795d16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 231 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdde436ba7462c5806eb9374f1b57903322c54bddb50eb83663828f79c4a965"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 242 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81d219808760323cb770712885cd773ef19654e1ed93f4713d282a80fcea0b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e394a62c8bd91fb8698c676f849826f3db1c02e7836425edd9dabe77abc7d7bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 262 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae4181984a10c2019e9f1b226463506ca04b6e135e544d5f29dac018e7bb130"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf20dd041af55d589de9da32011855d5c4d02e7251c38ae18376b8634fbab1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1403fd9bbfc53eac7e01dc3c04e8effc2578d96c29c5cd559a41d428a42dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e29a90116f15aef68410a12ea4ace185c5c217f81243802bb1d09720503ebe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 315 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0baced40ff483313f64765e3654513417ae44bdeeffe7c0dfc98a740f6262ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 558 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cdb19ca334a6c0c08991fa7a305206e30d369aafa6ec322b63995d02f0357c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 830 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c43e5694916223b958412e2a774e633832ce91352cd31112d0c9257c4c4d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 858 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac7f70c327fde509ddd9ab16ae20c58804fc60420888b71666a7c6cf4cbbdae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 929 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/automation/engine.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fdd6ff614e2f10ddd921d0b492d1da8c92c8dd2ae27b70a700ce0c783e56a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 426 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52e370024144fe2823ff456262ab577a979bd07dacaa6274d76056ea4448b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 371 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba49cde9945e49bbec728af1e881191c6c8f3b44c24b6d4ad503a57e4693d2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 399 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c596aa593e583b15a13ad65eed0575c3d0adc8e2bce69d27059873b3acc3de5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 479 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08bf5327d0752f58d10bec2a5c8121d4a5efc3cd1585c818e05996916a74c74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 650 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9700538a9e611f1d49b81c27b1bb37944f7ded4fbe87d5b17611b404cd37d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 716 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"610c81366b3c0d297b81532aa901557cfe2e2b3872d6e5e6c74f8e23ac5f227c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 959 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"9492edcbb0ec6faa21baaaaedc10d5e0d6ebed9e3530f2c3ab241a0945b51084"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1026 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9b541c46b95ac63d88b2952ce6c495773a9c8b40043986561f6d68163922ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1035 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42c71720f400b2d24c6d65c85c89bdd95e077578a00808050bb3af1912db3f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf42fee0e414e7e1c9fe876b9851df8efe6033ca6a89ab4f2a8ef77b6153c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1628 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/antigravity_login.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797b87fbd288aee5c007a940a93bcc053e391b596f2735b3961311bfedecb0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 712 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"1475328dbb0c33a728d512d0690a5024b88425324c40300de314d08530888220"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 725 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc9cef78b844f0a3b98697a561ce7ee1587b3a3dfafc0fe04af0a1ad205d44e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 749 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32e23ad9d242c9433b24517012c212dfbe07aa43d10258fc8cf7b535ac67d0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1187 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1928bfd6c1254079a6034d31b00344cf462a32bc39fe0becf9c763586461dbe7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb489354c1a2d10bacae93671e929153d0b7cee05e0c66085233a934582d6f7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1232 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f873f6daa40ec4d8399e50c187050f0fa182575b1c280eebb71308fbaeef52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f271b93c409c1cce2a1e13ee6e5cc6ffaf689f71f0fb4b323fca12756405445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9c5f5b79a9459346c3e6ad9f9780449bff65272c53c4c2ede1927676784912"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f082ef420cae8dad3a9d00440432afcc934ea140c7bc0bd13c4906c05b349"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1554 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e41b0b258311cf3cccf96c27b88ac0229fa66cefdbfdc59450794dd8a3c5a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1581 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"860655795016f9a397f2b9a2042cf049eaddf3cdfb33b7e4c954c6f17ab265d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1605 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22be23c6669cf9bada4730ea0911be0a0f53f5a5310c281dc00899d77985656"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1633 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3535340e17fcec146f65ca6953a7eb66faa7bc00195d3df92a3f8f27ac0def"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1671 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8f96434c2275a257efb6b04284709915d996d67791489c66c71fdfb438323a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1716 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd3321bb7f2f2e912b01644fa287143b79d2096b0164f8ffd0d4ec222854a74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1758 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe33b45220eba2f45dc3177e2a2999a3f961fc448ec1a20c0795527881b1b2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1788 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7639204f36351a62b30a5b7a4c7dd430a78d35a5f6534d3ad8012e43c1ac9b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1875 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b714e2e176fa5e5ac40a0db5d3a85c9781471afd8d2f38d746ed9987138dc6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1881 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/background_watch.rs"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"172e8128f8fe9afffe45c4931c1141ff94a9a6ff4b09340678d0eb58b01016b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a6a77ec41f828ed1f8a6ef53c48e47ed3eda3894d709cb17f772bd65aca93b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 349 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b34201b574ee5f34ee4af8014ecd36f4e7a03f26701ec3cad55e74be173dadc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad613e76d1662fd907fbfa57539a05f55e7426b4853c5d1675b7311b977c025"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d290b4651e0379152ee2cc26541f18c463d9115bf0e8cd6a2ca63a5237375275"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a56d2b26c1654f51ef62cd6624eb5af87c319c52e13b14d3ad584675a5525e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c5f04aef528f11f9cefdf8bbd344eb8a037f0720759862d2ad544d2702ce5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 548 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b95637c708ffd7bbf26680c1759eb74986b0c849aa8cd5df1c2241f721cebf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 672 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"770df31b055e84131ce86d33cc3cc52b70d7d0d36c537915e0bb9049f89d5eaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 674 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_refresh.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"951461a2b47da211c360462063bfa07f968c06f8991b93a0e9ea2cb147e6334a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 519 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ebde9a2cec1ca97234dbbc9e3aedd4b415f1b83ecf7cc7141db043b00827cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 528 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1babdc15fa75ded77e32b069c47876d7133b8ddc07ac268ca95fc3f988f64503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 568 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"061c879792054e40e03095e3eb68da4670c0d0c7d4a8065c6310760ea2f131ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 579 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c4ae13b760916cd779434ce4ab0027f976a01d3f49e7a488ac9a3cfcbed526"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 586 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5fbd1ff337c10f6c4e87d5fd0190e5dd33bf1e1d3490f2c51c3a9d81875d84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1551 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0d3b93b5b1d9ff363d88494f16f15da81b6ce3e9cdd8a838e4231015aca4c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f854e63381ec575c1e009fe1b711da21c7346f42a467e23b6d04433c929af421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1602 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4b6de3d439d9237fa33f411cda15bae9c2fc80257a43f5b15b8157b404ca07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2089 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f5d26913f4fb4978cde25542ea433c36e0689c0d3c6bd078fdea506f462bb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8ccdc6266dae85e885bb9caec7041b3c01a31904dfab4302d9b18ef4b29a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba7abe5ea078ca17f68fa80cf6e95836741209882966a364f9099bcbc8f5127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2436 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0eeb89dc14061ed4ea283f0111be1fb4ea18dd3b948532e221db4457731c75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2441 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2452658114b531d83a93382ba9b9649484981022afa1e6300dfc43976aaa1a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2457 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e95f25d1ab3ddd72bec358026e1fd8d04be76d4e1b6a6384226dd955d6b47a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2508 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa4ce1cacd7855611b867736fbd45f60380899924715b633721b7e1d7d5fdb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2562 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a08c8e9c1cecdf213713a00c429931e3e2a5ff30b20b3dee5856c26ff567b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2630 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5a3a2f59bbe48ddc430e78853089a35b64c20ebbc4773e9744f174f58617b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2703 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabd2a71f11e2087a1565d84f800426f2af065b42b4f17c727d86b9113faadbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"494c8ead212ea899e6830ed655b28adcf6a33b59c5332c089128c2625981fd63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3466}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb96954d806ca9f8d00cf1670faa4c1fe44111ec456c24d0bb2309b0cdbc2bad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3603 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b34ab2dca13137a05f3c7ee42bcc53b84f9f2b5e3403fb88df2f6ca60b16a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3624 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12336bde77ee0752406a1f2f63ff5babb5b3661cbea26ebdbe7e0d34ec7984c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3670 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3670}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed89c53db596a72e9ea73437ed3f050fc7822cc52af5fc741889b3745e1f4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3717 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8294b9c6aa4e9d499bed2712a5d229bcc16804a7cbd8b5cc129e00f26d1d621f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3753 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3753}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b4dc47b0656107cccff505fbb60a4d901e13a5deb189e3f8293ee91ea3238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3826 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3826}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2766696e23c675a9f02cac93fa2ecd17af89f807f886a2f9e3f7f9361eb43a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3962 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":3962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b700a427192681a0eb6e6df49c17dd122d1ff5e9c58fea0ee63d8f0d1f43b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5684 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2665d10f3819fb5ae3e3dc769bfc3426bc4248b780009503d55ebc346ba3c1ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5702 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5702}}}],"partialFingerprints":{"codehealthFindingId/v1":"28813fdf226b110a58a07446486d3de8a946b264a727b02d9a2a4e3993a9603d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5729 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5262b93efb890a58a4bdcbf4ef9a5ec9e5efb73ce030ff7454e8b3ed6162146"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5749 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":5749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88bd095a54e1f069da73847cc84f32d3c06a5d679d8080bf4e2a9c9b102ba6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25f315ee8b84b8729435463ff9d618154c0443d19a7f79dcd7ac39910ac5b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b394b3f3a798ba92cd433fd752af0e4be9bb5240b99fc23b086d5e9219d9eb68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6428 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a25423c1b0cac43be4c3affe624d29a45d8882c0d0f2f5a1f44e578c228c34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":6448}}}],"partialFingerprints":{"codehealthFindingId/v1":"348b82d34019ec0c935d2ba56042d86a8828c98c9d4d74b2d5c1be7c48992883"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 7842 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7842}}}],"partialFingerprints":{"codehealthFindingId/v1":"67abd4c3698b4b855ce534ede3f8c1a413cf22d06bd37a277a8a505817d738c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7847 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09c0ae4ae4da41a71da3c96426064491fd44d9e69363ddf4bc9f264a803619d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7853 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7853}}}],"partialFingerprints":{"codehealthFindingId/v1":"d313a8a709322ec0f3fec3fa8654d1ff6cb03e8c0a81baab08c454508a76d646"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 7931 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7931}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d6d5239361b83995a8b19e6f6567c3ef969510381892be607299dc471aa5ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7944 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7944}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39527f8562ddbe23eef502f4b7128f59fa98442a5ad5d85244df1abbffc4c94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7994 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":7994}}}],"partialFingerprints":{"codehealthFindingId/v1":"d928f508d67cde5a1ab3373435080f55a0b79fbe0621e49ac8d91d7017578dd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 8312 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8312}}}],"partialFingerprints":{"codehealthFindingId/v1":"14301ef59b01f14008324127c93b2066329d928a8ea595e452101ac3e7a620c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8361}}}],"partialFingerprints":{"codehealthFindingId/v1":"203828de65c1348cbaa0d716143586e1b8a39f63ad0f809512dd97d2eab31785"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 8609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8609}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a110b65887377e6391d17001e2310f0588b6604e3401b92b220e23b3e9525e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8878 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":8878}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ab63c08bb9ec8f5176a72bb09c12c6c3f8e7e3d51e1631cf1715c36230aeac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9143}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f81ba72d8031976ba1fd11fcfc90ab69c35b1c6a1efa406a1d1ceb5693a5bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9158}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c258fc58306924a669a95d74a0104ec2f6c85dd023e95a5c68567888b67a69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0171c95716fe85b1931c27929d0b46ff97b24fc4ea13183dd9e03cdd6e0eccd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4499fd698417797ec67c84143a7aff0bebaa61b4651571bb9c149abade1110"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9219 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7115b11969a3b45817edbe42d0ea22ecbb11b246437140f3aad223eda1f74142"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822823adb37e663d3160d76a46ad20ec30bd4be86fa913c6980bc9b985b6e28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8350e0e7dd91df1605d6fa7124b8f9f24265c38e8502ab79e00825df1d94bee9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9319 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8486b9c5e705f18baafc8a085443aa389c167717ef5e81925ae0cbedcefa17d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9330}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3ee2ba66a914b2e48499cdca0da3e28c759402534e2e49fa51789652a83f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd16d9c9f439ea091f04291f3f6ee9b3ed7623232afd0ec24e62924f99fce717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9573 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095f0ce3d9bd2c4121524d9d00c1b5ef6d3a25f65732b744b2031d88968fc63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9659}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5017323fa2a20be1f79edae759135a3c25508fbc753423a0bd6b9f981520b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9789 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9789}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90c132391a86cd38315478763ed36a70350016ce80c58ffc2059bc685e43f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9895 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9895}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7c78f8fdfd02faa966683323b4df664f8ab8a479092bbcf24c5b6603deb1bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9907 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9907}}}],"partialFingerprints":{"codehealthFindingId/v1":"4633be5e03808987871e1dbd54d2ca0c6bc0a232fa821c7bc29856e24e2cd433"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9939 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c62ca288dedc4bceb5a509897b8aa5a6289fb9addf69de64f0f289fec08a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9943 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":9943}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9fd5a550c22b868065716f93a9ee370b896286f2d1416775aa3dfb9e59b40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10323 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10323}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3c1795847b0474f4da9c9ae20e61c18bf91407d778e72a6a10cc8cace58b74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 10475 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4829ca08ffa06606ef591f00e86b8ec5f1c8e3256599c864018c893eb4f16a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 10517 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10517}}}],"partialFingerprints":{"codehealthFindingId/v1":"859b060bcf4697ffa841bbd2d3a7d12d2132db9758a62f298fe2ab884794d321"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10753 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10753}}}],"partialFingerprints":{"codehealthFindingId/v1":"5480152a2d01019d6f4aa86975705013d6d4e6b78789d79f7e3673d353ed7893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10770 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10770}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f01cc037652b8ba9d9771edfeab10ee4f1ca8c3715788c492c00ee78a9ac7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 10778 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b92231b5ae054a491e2311eeb14ffb0babb0361f0b1dba1be689876e4af01e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 10856 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10856}}}],"partialFingerprints":{"codehealthFindingId/v1":"080b86574856c7bfbaf47cc66f924d2b6e402f2e8fbb5a9c497f4947058b188e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8b7ec6cf29e645610e9b9c0744d54a60ecd7937dbb1a6155d904a59a6beac9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 10877 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10877}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e7c2d4beb99af5797283a11adea8ddbcd4ae24a9fd5b4eb791379c4629fb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 10950 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10950}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab4b066b5d3cef63d7f3aee5f0307b4278133a988c4a3840ccefd24232f0348"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10973 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":10973}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e58026d283d4e6422aad4e2afcc6a55ae8006a558ab1d2b1619a3b03d5d976"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 11041 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11041}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f9a46c1647b02fb4271a5a521ab26f9cb3c57fef177b82c82da6533b4c7445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 11053 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11053}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba1107e99478a01502f287a10fec22d2d0cb1c41ac7c277d0e2269fd2dec83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 11084 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11084}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc5c0ac5809ef12e09ee8e8f150bc7519fc28521805d241d25c059701d8f3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 11094 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b1f71fe1e390142404433464d07b5c2c5f868bef2df4c74941ca466b524bac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 11105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b959372add090d66d74d798dccbf0e2380c51e518dc5f33ea386a5acd898caa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 11195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c942a756d60892f55a719801740ecda4536d1410b05b95180f3491d7cc9664c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 11329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11329}}}],"partialFingerprints":{"codehealthFindingId/v1":"56016124d56cca1d8ac163cef51e86cb818285b1c170ad41a792faf680e4cbaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 11666 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":11666}}}],"partialFingerprints":{"codehealthFindingId/v1":"9370a9a60eca35e87fb3c610579621ff94a52024b64e6054a9c2f4e929a31042"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 12224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12224}}}],"partialFingerprints":{"codehealthFindingId/v1":"70050a2c7a49ba54f5efc8a25f9554854d3c00690fb23bd61aa9c344dbfa4cd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 12472 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2283f5d89d9cda9ea5fc78d326648d3470102cfcfe9afb57b940c07d749b4aac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 12478 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12478}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b40ca5fa2fb1e90c00c340a461cebe8525940ccd6374fe90613bb53d4eaa9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 12515 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f0a0806ecfa56b7159dfd08b7300a57ab68d6fa9963b230986cbaccfbfc5e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 12546 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a669e66baf5ff798baf22d36eb60fa075b14ce20987ea11d4491763c98bf031e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 12552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12552}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f3db123792c78b9207c6cb9bb91531d38f7d5a300d2040dd9c9ad0933677fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 12567 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":12567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d98b3a771c2a5e05df83edea1eaeafdc32bd8240b91862aab0f12b409a72b72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 13160 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13160}}}],"partialFingerprints":{"codehealthFindingId/v1":"62797aaa0571d4dafc8fec077a3167d88e1bdd4f533d1fcecf59c732fbec0787"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 13513 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13513}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9de5a678d6b38b9525ebdc258cf3c2c29874de8885a9d698c6266e1c4b8f08c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 13517 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f2ea8f96672f641f6ae7935ae03afecddf317135f001c36447cb9f465c8ac3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 13591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13591}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aa9e257ee9a86f1fadc1324c71f3bc8e027d12a1321f0a96180fb137dfee67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 13692 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13692}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c1d7f808ef79f02f56aa8c8122cb5d8224e35a8f4a721c8d7118f9aa8b93f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 13769 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07b9d1f443b2ce66e7bb5ca3dd83d69c2220c68909a266c55bf02122e659713"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 13770 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13770}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7356126a0d6db363b846490a0f321bc22a507f28b05027bcba26454d142e21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 13780 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":13780}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7e22487b555400ac68d298d468446715ccfd3c91b3b3542e2fe904b9a4a4dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 14534 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":14534}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34b47e81b9f1842794e4bc8c36fafc200e25c4ea9e4416f049a7771088825d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 15001 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15001}}}],"partialFingerprints":{"codehealthFindingId/v1":"f049c5cf2bc65db3cb3c905edcca7ee7961b13cacd9d43c1e4ff9a1c9c6a2d72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 15014 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15014}}}],"partialFingerprints":{"codehealthFindingId/v1":"45059d4f307483428a722c48180b1618830f34cc8d6c56b18266626a573f2af2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 15507 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":15507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10ff82adb660b212da1956d50a3381a4f16c255d03afe0a4eb14619c3401c8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 16122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0853eb63175cfe49ef25cddc241aef96e98062b48dfaa56bdde6f59a22f85b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 16158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16158}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e653545e6be250ed53bc6f17a79dc15efc31f193180cc5cc4a6dc10084385c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 16355 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8635afe9d70dc952856d3821938d00146eb4bb1514d189de1bd531327bcee0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 16380 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6289e4ef3fff268bf1edf3250c705c8764f14df5fb3c3be1cfbbe64e1306ca41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 16394 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":16394}}}],"partialFingerprints":{"codehealthFindingId/v1":"daccb43999d9d71cd88eda3fd28e9174ceb3a27b6549630be2adae2c816d2ef2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 18264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":18264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b120f0f540c75cca79f7dc9d37d5386f2c2faa3e6cefd78a25b1d5816ad2579"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 20007 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":20007}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd07cc425fa5ee1d824852a0e0d6a66777fdcb6e464d3825e36166f1d5edf65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 21227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":21227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b74b83c7c416d80e201c3aa0b895e8a512be155d135107245a23439734f494"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 21234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":21234}}}],"partialFingerprints":{"codehealthFindingId/v1":"35376bba2e36004996845d40d214a95b38c4b08f76ecfc05d2d91466f1403e55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 22098 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":22098}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb0dc9d87accc5d79fb5dcbab9186b6d0ccf40ea25d50a58de10d9cc4bbe28e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 24716 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":24716}}}],"partialFingerprints":{"codehealthFindingId/v1":"860c42a20ac10824d67caedd718085ddb61692f9950cc63f22bb3f5663439d42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 26718 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":26718}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e2f59e4c5794689eb7a067828c63b65d9252f9f593e97b331d8251b49cabc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 26917 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":26917}}}],"partialFingerprints":{"codehealthFindingId/v1":"20def6f8ee2fb99192476bd373ce12a2fcbc0ceea3e105e635d1645f904a054c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 26960 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/connection.rs"},"region":{"startLine":26960}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ba50b8983172090c46097967901b0b0983c06401a2826a236f1b1f96c890e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 697 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d9a026ade216d9c21d679490c6b2eb47799b5863fed9a95cb84bd40c5d6f33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 753 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"65129b2737af48b3e44da995239d22ff26a06d0b2fb3138678b89aa8815a6d71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 808 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e790ab6e26c28362c39ca77a7b7d9f0028ea1f3609e7ed1f630327a9a5664bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 825 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ca72969820a252c0083a63aba0d25c09b17f336802abb785a7740e019a41ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1005 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa139dae99ef469dc911fb8b2dd9d2d3396976179feb3ed07c83460648acecf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1011 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e8c34bb210e950a35d008bb20f28386d873fb6ebe7f70833433da39e527fa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f229db88c0304d4c1f0adf06a6a9ddb85bfc3e2df64f5de0f777d76439d37171"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_ext.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca96b85e982995c74036566be92664458f12e560f87381b1637a9b0f92346c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 784 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/custom_registry.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aed5717e5932c49e9c0226288d0bf761a9b8f79dee2df0c4cace6001d746d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6f5a7302e1507aca92f003c1c0ece3c9bb40af7b3219d6d9801b5ada54bfcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"136c14835c340c7e7454651c3db0dc9311a62eed51abfaeb4a23b379ce9a711c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 523 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f920177455d2f77b995c6968dca5dd49c62befcb97baee3e51fbb5a1c4c6992"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 548 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ccbc913b64202947e22685243d0386f22b47aeb93403e7d91e3a1e1ab0bbf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 576 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3c82f7b9e6aa8322dace9818bc9fe65ee6d80c232340cbfd2c708cb461165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81c6b0c8d84d1dc7a153c1a1703e4ba9f71d1df387e9ea49d12f6f83bf10b99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 711 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f63f677c25270e8fb5888164d158769e2d333f0493884e68f822af1f7df0b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/file_system_runtime.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f47359306857997519b3a0438b4c13b935703cdd2bd75a41fa1ad4edda579"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/host_tools_policy.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8690e6c1544a6be0e8ae00917bb556e48e725019dcac53325a776b05e06e9f06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/idle_sweep.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c82f27c450cd4fc664c310f57de0938871420d16bd27979fd1c4ccf689cc5bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/latest_release.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc1e6a2ae46008412396b051de66787d4d6449dc35007d13b8346a29dc6a718"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"90aac70f3b87c0b243cafbafb3c9d8f9e61263752bd64e8601eb3da580df9587"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 176 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"66496fdb0300130fdfefcacef97fd035a9284c899fb5e35c5afd7b86259e09d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 486 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e79a3a12580ab848b7e212b870b773a109d7434d305c507b4344f65f3cde48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 498 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee100dec71373de49077d63550f1f1a6c22486e7feb2e00f340e3ba770440b15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 565 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"dced16b3686a9ec3bf5043a1ac51a772e0e32e98c30d058a51e95906643f7c2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1786 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1a11f8f06ed6ef2f46c6d4882b251995410d3c6ce35828a8512dc84a60eb11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1842 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b38c0e253a6ed004f705bb4589c99884209c49885ea1347fb874fe6e975bda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"547344cd33001019749772f7582d51c4545f02c7eeb5503ee42c839d3f18acde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41fe61f8c341050bfe7960b303827006ed403b0ead4019c85f0a86f051d58e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3355 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7688c0d0bc6c9000595346a9bba3996e1645ac8da714c76bd60dcf7b20bcb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/lifecycle.rs"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"706845f6b4094f0a4bf06fdfa36fe0e7c4f6e82316f55c5bb8492b2403dc9593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4263b5a19384d83bc97fd1cf36db133a6ecc9b5441767d55a7a6c06268ec046a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"720efd9aa2939cb50a328a7cc889037d47e78470f6262754925966bb94b8f21c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1011 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea543e09e636d4fbe45f51db4e1dd3bd74a32142e5d8a485f2ae84f554a42c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1023 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70af8297b3ffc9cbd13a63a4b31741837386dc625f669aa063e8c89648e3800"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1065 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46c48e2e038159b2650cdf9a85034426f123fc721844f225c61dfb908a1e9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e3215695ed73b7148ce10f31f43fd11cc041dbbcfa0edf3f69f696c630eedf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30113f19f5c4e5033fb535b234e3daa72fb383296c8f45c7de18ba4fb1da61e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1537 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6788ce8af54138089352d377fcaa0a170e58f9b29bdda6f0d9e0bb341c9c8041"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1816 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"4168ec7a66814e0d81309555c06d79d3165097fcf798cf755876db7ec8a8f98a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2057 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efc9334ea73e4069e06b89df81d51392c34aae4eb891a903bad8194d27d101b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"06381dccf7b0017b311f8a3cf69c0cd138d87820544f17aeae12503dc37ee37c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2348 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"82780162db9c695b383505263a4843a29cd3f8f5af51b96bd74db7ee45c7faf2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2514 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7d9af161fcfe130ba4dfec5e53a0e5868b2ee32bc1bdec3e6dcfd550c5339"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2616 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd8aaa076d0384ad961e4866cb3246be67a46af62a7e8e94c9477ab93295bef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2624 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ffdceca16609aac528efded736fe6e9f65f47c94edc17fb6830aa86d1a30d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2879 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":2879}}}],"partialFingerprints":{"codehealthFindingId/v1":"13663a6386e051653cc3ae876a83a3838128621894f9729e1279554e93adffe7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce763c6948e5ea160d72afc5c7c9b4a6e35ddaf20f1dbe948889bd587008191"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0204108681d125a48a43c8a182d84f5b176d137dc4fe49afe1736f2b1140a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3296 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d09513abd45703bd566708c45cd4deaeeb263f91c21cd4ca8c9e430adde0fca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f21c7b12c1c0a8df4206f7e46a0080d9e4d85bd3fd376f4ecbcac05fcc92f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8472abc93013687b53bccfd4917646ba4d4272fac5d6948fd560ffdb6322d9a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3410 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c925ed999f62822f332a0a4e923651a221c8f0e135276582767e81a4567be96f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3433 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a214f9f9a5cde33e944e7ea11728469790e5b103c4aa739ad054dfbfd23e4bcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3440 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebffa8fd8eb03673b71b60904ee67fbf989463322a159065dc9ba6ca702378ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3888 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3888}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90fcf40e853c6ef084f47ac492a7c74ebd1c412ecacc12ac0be021c5d96410a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3917 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/manager.rs"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f22ff11c433473a5561cbf4b546566392a4b0e53bf0656ce0eadf4d3b32c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 513 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdfb91a08e2dc10ea0a8ac698ce7fe9021067ddaa66bd2f6877f0e71beb5abd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 535 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/question.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fe3db3b8589aca33c7c71706200c099726556808e350675d9446e88e1411ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dd8521748f8db62bbfaedffd0e4855ea59c180168674b4f2e1d0d7463d1e56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 488 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"650cc902eae60fe7d11700158d59681953934b44f136465203a122a2f1880e6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 507 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89e715de722a58d06f1fcabbe699cd63e4a052515eb8e6533a215f927a0249b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 534 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea24fbd360b2fcb29db251f35d2c0451c61e6416c943ef532ad86b9d3dea53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"459b0d107fe5cdf62b0a9908fd982661b0b3193e6a0780e97d26472aa4c562b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 594 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e3a37f82991aae1b15f1083d472149a49aefa62a52cf64b09263ea920ad8b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 772 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16bee618db60ab10043e3074c98c7ff8d3da9d297eb71553dddd3d9b8f31c2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 811 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7194d3731fbeb25056e276ab92b49f5e0c3ff272d8d839e7ca202b6b621bbced"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 820 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/scratch_dir.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"d878b3c58022f1b238840592908f6d25d15e367f154d46f381637d0c57f9d43f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1251 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a1c57cd13975c7aab10fcd7caa1b6ce0ee9d482fca1d1ff3351760a311890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1524 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6a6eff2163fce2e2658d2cc7c7c2bfa7b6cef45c21ad6306f408d166e3d4b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1846 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5550f8b6bef792a9484d9f1e83a69e278d2a6afe5c2c44bb986861dcd4fe7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d1f1ac0b53fc42e3497ef2ebbf445eedf63f83a9d125eaa479990a169a02b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 500 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28b4d22d808d9ecd5e2aecc9da3563ef66297df57645a175ee9272d7382aafd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"66309a836766bbfe03949c9edb2a6564adc8b41b6dfbe32c79580daec3453597"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 265 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaca61d98dded228d39c59b44e4aa60a2493b4d2cd9fa0ffb1b8d54c710e3f67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 341 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b94e56b9f2b9f168089da8f570bd32326da4ec0a807f66cf8dd966c5d3f9ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 353 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd37010830de62e0964ef6fbae1d1a24854efc2c0c1f053e33a5d47b3c8a659f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 923 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49b9a18312e7b9a1b43801b0a4bba74be86644ecf5fc4237328dbf054fa355b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/assistants.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f3ca52efefbd6e6cd2245f1e2f01db8fe01c0dcd623dad77c711fb7944c47b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/assistants.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8a89e3e010daee71b8953cf137a48ab244b9af27000087f2061db68a5ba9ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1784 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8cd3646d33bdaecd00b5ac695e46fbf9198ea634150ad5e3e1e8ebde7fa470"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1809 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e04983c09f1d4655e061234fc09e24453f71985bb0a7d3171ee0d0c69d6e9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1902 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2216fd76701ffa06ababdf25091b2856c3f00a11bb423dc22bd51d38f0c08d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1981 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc59195cb41f2ccd936bf668da9a79c2ca2b51045132a961dfa65f9739ed3a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2064 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c485d5a2dd7ae2d805c3aa9dc6bccd7e688e6eff79a1abb6ace87061770b5ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2567 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca760254be503f57a9f960c90adaa298bc61a646c76497419bc8ded89c2eaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2572 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e983bf4e8cabd78fc88839be8f82fe9ce0cba6e5a314df10fd02b7172fee657e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5006 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":5006}}}],"partialFingerprints":{"codehealthFindingId/v1":"901828a5ea7104d9d4266f83435b18255b971b7e4032baaad9a4daaf960e674a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 335 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b05943368f2beb1409b4de76a464f47ea1006cea0ef059fed968cd9c65eadef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7054af6d75ef40864fa18399ae8554e04efc95da305dac3d5ef7a6909eb72277"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 393 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14d497a2c58b2f5d6af4ef5018babe49f90a37cea021b4f49735593a2ec1fb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ac4a32e40d6a81098748b7edbbce88c1872499957ced033ff00acfea214dc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbdd32452cea3bf708c0b653d3d72134aa9b6e69708df28964b43a08c066d88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 436 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef82604834ffe20c8d33740bdc23486607a0020e318b71e6e13b359ecbb0b89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1731 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c806e2a6d5fb2f152ff82b1477a54e3e31b1bc65303e01c9786d19107a4d4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1741 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/listener.rs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7f69421a58d7a48a6416a1bf72a4ac77e4dc67ffb98b56c71221e545f8fb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/service.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a43cf27315333594706400a8c1b0c495bf640462a08244b67a5227c744af54f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/service.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa148ef379f7efd1fcb68bdadc3d54d2ce9cecb5ac2a1c1653ef3197951b48e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 198 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/service.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2a73e3316c65c1a5af8ff53f66a5d7067724574af50843e76a3c3faa5939c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/lock.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2622f4885975aa558d889ec12ada46882c311952e87da8de6fc878179698e6bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/mod.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bd7842aa8c102455b0c5d3bf2d87a05527ebeb704f0113c1213f3343d151bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 365 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_catalog_commit/txn.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee655ec87b70c0ebd10d0967400be0f52b58a903eb73a35c31b1731593e1b44"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060open.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060compact_batch\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"88324e847047d750ca1dad438ce78025c60ffb216617afd1e849ce0537bf16ba"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::metadata(path)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mode_bits\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyring_store.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f39944cd7030bab339cbf951a8da74eedf67bd0b021c71df672b75e6f72077"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060builder.plugin(tauri_plugin_window_state::Builder::new().with_state_flags(tauri_plugin_window_state::StateFlags::all()\u0026!tauri_plugin_window_state::StateFlags::DECORATIONS,).with_denylist(\u0026[crate::computer::indicator::INDICATOR_LABEL,crate::computer::marker::MARKER_LABEL,]).build(),).plugin(tauri_plugin_deep_link::init()).plugin(tauri_plugin_opener::init()).plugin(tauri_plugin_dialog::init()).plugin(tauri_plugin_updater::Builder::new().build()).plugin(tauri_plugin_process::init()).plugin(tauri_plugin_notification::init()).plugin(tauri_plugin_global_shortcut::Builder::new().build()).plugin(tauri_plugin_autostart::init(tauri_plugin_autostart::MacosLauncher::LaunchAgent,None,)).manage(ConnectionManager::new()).manage(crate::browser::BrowserRegistry::default()).manage(crate::browser::egress::EgressRegistry::default()).manage(crate::browser::BrowserDownloads::default()).manage(crate::browser::DocGuests::default()).manage(crate::browser::confirm::EvalConsent::new()).manage(crate::browser::open_request::OpenRequests::new()).manage(crate::browser::policy::BrowserPolicy::load()).manage(TerminalManager::new()).manage(ChatChannelManager::new()).manage(windows::SettingsWindowState::new()).manage(windows::CommitWindowState::new()).manage(windows::MergeWindowState::new()).manage(windows::AuxWindowState::new()).manage(workspace_windows::WorkspaceWindowSession::new()).manage(web::WebServerState::new()).manage(std::sync::Arc::new(crate::commands::remote_proxy::RemoteProxyState::new(),)).manage(std::sync::Arc::new(crate::workspace_transfer::WorkspaceTransferManager::new_from_env(),)).manage(std::sync::Arc::new(web::event_bridge::WebEventBroadcaster::new(),)).manage({let metrics=std::sync::Arc::new(crate::acp::EventBusMetrics::default());std::sync::Arc::new(crate::acp::InternalEventBus::new(metrics))}).manage(crate::pet_state_mapper::new_pet_state_handle()).manage(crate::update::new_update_state_handle()).setup(|app|{let app_data_dir=app.path().app_data_dir()?;let effective_data_dir=paths::resolve_effective_data_dir(\u0026app_data_dir);let derived_data_dir=paths::desktop_data_dir(None,dirs::data_dir().as_deref(),\u0026app.config().identifier,);if derived_data_dir.as_deref()!=Some(git_credential::absolutize(\u0026app_data_dir).as_path()){tracing::warn!(\u0022[paths][WARN] the data directory derived at startup ({:?}) differs from Tauri\u0027s app_data_dir ({}); the database follows {}\u0022,derived_data_dir,app_data_dir.display(),effective_data_dir.display());}if let Some(home)=std::env::var_os(\u0022CODEG_HOME\u0022).filter(|s|!s.is_empty()){let home_path=git_credential::absolutize(std::path::Path::new(\u0026home));if home_path!=effective_data_dir{tracing::warn!(\u0022[paths][WARN] CODEG_HOME ({}) and CODEG_DATA_DIR ({}) point at different roots. \\\n                             Uploads/pets follow CODEG_HOME; the database follows CODEG_DATA_DIR. \\\n                             Unset one or align them to avoid split state.\u0022,home_path.display(),effective_data_dir.display());}}let refused=match crate::runtime_lock::try_shared(\u0026effective_data_dir){Ok(Some(lock))=\u003E{app.manage(HeldRuntimeLock(lock));None}Ok(None)=\u003ESome(format!(\u0022{} is in use by a \u0060codeg-cli --standalone\u0060 server. Open Codeg again \\\n                         once that command has finished.\u0022,effective_data_dir.display())),Err(e)if crate::runtime_lock::locking_unsupported(\u0026e)=\u003E{tracing::warn!(\u0022[startup] {} cannot lock files ({e}); going on without, so a \\\n                             \u0060codeg-cli --standalone\u0060 there would not see this window\u0022,effective_data_dir.display());None}Err(e)=\u003ESome(format!(\u0022Codeg cannot lock its data directory {}: {e}\u0022,effective_data_dir.display())),};if let Some(message)=refused{use tauri_plugin_dialog::{DialogExt,MessageDialogKind};let handle=app.handle().clone();app.dialog().message(message).title(\u0022Codeg\u0022).kind(MessageDialogKind::Error).show(move|_|handle.exit(1));return Ok(());}let app_version=env!(\u0022CARGO_PKG_VERSION\u0022);let database=tauri::async_runtime::block_on(db::init_database(\u0026effective_data_dir,app_version,)).map_err(|e|e.to_string())?;app.manage(database);if let Some(layout)=crate::cli_run::shim::layout(){std::thread::spawn(move||{if let Err(e)=layout.write(){tracing::warn!(\u0022[cli] this app\u0027s own codeg-cli: {e}\u0022);}});}let db=app.state::\u003Cdb::AppDatabase\u003E();tauri::async_runtime::block_on(network::proxy::init_proxy_from_db(\u0026db.conn));tauri::async_runtime::block_on(crate::logging::init::apply_persisted_level(\u0026db.conn,));if let Some(hub)=crate::logging::hub::log_hub(){hub.set_emitter(crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone(),));}tauri::async_runtime::block_on(windows::load_saved_zoom(\u0026db.conn));tauri::async_runtime::block_on(windows::load_saved_appearance_mode(\u0026db.conn));let tray_locale=tauri::async_runtime::block_on(crate::commands::system_settings::load_system_language_settings(\u0026db.conn),).map(|settings|settings.language).unwrap_or_default();if let Err(err)=windows::install_tray_icon(app.handle(),tray_locale){tracing::error!(\u0022[Tray] failed to install tray icon: {err}\u0022);}std::thread::spawn(||{let _=std::panic::catch_unwind(||{crate::acp::binary_cache::migrate_legacy_root();crate::sweep_acp_binary_trash();crate::sweep_acp_scratch_dirs();});});tauri::async_runtime::spawn(crate::scratch_sweep_task());tauri::async_runtime::spawn(async move{let report=crate::commands::experts::ensure_central_experts_installed().await;if!report.errors.is_empty(){tracing::error!(\u0022[Experts] install finished with {} error(s): {:?}\u0022,report.errors.len(),report.errors);}else{tracing::info!(\u0022[Experts] install ok: installed={} updated={} pending_review={}\u0022,report.installed_count,report.updated_count,report.pending_user_review.len());}});tauri::async_runtime::spawn(async move{let report=crate::commands::science::ensure_central_science_installed().await;if!report.errors.is_empty(){tracing::error!(\u0022[Science] install finished with {} error(s): {:?}\u0022,report.errors.len(),report.errors);}else{tracing::info!(\u0022[Science] install ok: installed={} updated={} pending_review={}\u0022,report.installed_count,report.updated_count,report.pending_user_review.len());}});{let gc_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let gc_data_dir=effective_data_dir.clone();tauri::async_runtime::spawn(async move{match crate::commands::conversations::gc_orphan_chat_dirs_core(\u0026gc_conn,\u0026gc_data_dir,).await{Ok(n)if n\u003E0=\u003Etracing::info!(\u0022[conversations] chat-dir GC: reclaimed {n} orphan scratch dir(s)\u0022),Ok(_)=\u003E{}Err(err)=\u003E{tracing::error!(\u0022[conversations] chat-dir GC failed: {err}\u0022)}}});}{let db_for_shell=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let shell_config=app.state::\u003CConnectionManager\u003E().terminal_shell_config();tauri::async_runtime::block_on(async move{crate::commands::system_settings::apply_persisted_terminal_settings(\u0026db_for_shell,\u0026shell_config,).await;});}{let db_for_close=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();tauri::async_runtime::block_on(async move{crate::commands::system_settings::apply_persisted_close_behavior(\u0026db_for_close,).await;});}{let db_for_sync=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let emitter=std::sync::Arc::new(web::event_bridge::EventEmitter::Tauri(app.handle().clone(),));tauri::async_runtime::spawn(async move{crate::commands::config_sync::auto_sync::run_auto_sync_loop(db_for_sync,emitter,env!(\u0022CARGO_PKG_VERSION\u0022).to_string(),).await;});}if let Some(scheduler)=crate::acp::codex_catalog_refresh::build(web::event_bridge::EventEmitter::Tauri(app.handle().clone()),){tauri::async_runtime::spawn(crate::acp::codex_catalog_refresh::run(scheduler));}{let db=db::AppDatabase{conn:app.state::\u003Cdb::AppDatabase\u003E().conn.clone(),};let emitter=web::event_bridge::EventEmitter::Tauri(app.handle().clone());tauri::async_runtime::spawn(async move{let n=crate::commands::folders::backfill_worktree_folder_aliases(\u0026emitter,\u0026db).await;if n\u003E0{tracing::info!(\u0022[folders] labeled {n} worktree folder(s) by branch\u0022);}});}{let cm=app.state::\u003CConnectionManager\u003E();let ccm=app.state::\u003CChatChannelManager\u003E();cm.install_chat_channel(ccm.clone_ref());}{let ccm=app.state::\u003CChatChannelManager\u003E();let broadcaster=app.state::\u003Cstd::sync::Arc\u003Cweb::event_bridge::WebEventBroadcaster\u003E\u003E();let db_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let data_dir=effective_data_dir.clone();let ccm_ref=ccm.clone_ref();let br=broadcaster.inner().clone();let bus=app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone();let cm=app.state::\u003CConnectionManager\u003E().clone_ref();let emitter=web::event_bridge::EventEmitter::Tauri(app.handle().clone());tauri::async_runtime::spawn(async move{ccm_ref.start_background(br,bus,db_conn,data_dir,cm,emitter).await;});}{let bus=app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone();let broadcaster=app.state::\u003Cstd::sync::Arc\u003Cweb::event_bridge::WebEventBroadcaster\u003E\u003E().inner().clone();let emitter=web::event_bridge::EventEmitter::Tauri(app.handle().clone());let pet_state_handle=app.state::\u003Ccrate::pet_state_mapper::PetStateHandle\u003E().inner().clone();tauri::async_runtime::spawn(crate::pet_state_mapper::pet_state_subscriber_task(bus,broadcaster,emitter,pet_state_handle,),);}{let bus=app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone();let broadcaster=app.state::\u003Cstd::sync::Arc\u003Cweb::event_bridge::WebEventBroadcaster\u003E\u003E().inner().clone();let emitter=web::event_bridge::EventEmitter::Tauri(app.handle().clone());let manager=app.state::\u003CConnectionManager\u003E().inner().clone_ref();let db_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();tauri::async_runtime::spawn(crate::pet_sessions::pet_sessions_subscriber_task(bus,broadcaster,emitter,manager,db_conn,),);}let broker_for_lifecycle={let cm_state=app.state::\u003CConnectionManager\u003E();let db_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let(broker,tokens,socket_path,feedback_config,question_config,session_info_config,chat_authoring_config,browser_tools_config,computer_tools_config,)=crate::app_state::build_delegation_stack(\u0026cm_state,db_conn.clone(),effective_data_dir.clone(),);app.manage(broker.clone());app.manage(tokens.clone());app.manage(feedback_config.clone());app.manage(question_config.clone());app.manage(session_info_config.clone());app.manage(chat_authoring_config.clone());app.manage(browser_tools_config.clone());computer_tools_config.mark_served();app.manage(computer_tools_config.clone());app.manage(crate::commands::delegation::DelegationSocketPath(socket_path.clone(),));let broker_for_init=broker.clone();let db_for_init=db_conn.clone();let feedback_for_init=feedback_config.clone();let question_for_init=question_config.clone();let session_info_for_init=session_info_config.clone();let chat_authoring_for_init=chat_authoring_config.clone();let browser_tools_for_init=browser_tools_config.clone();let computer_tools_for_init=computer_tools_config.clone();tauri::async_runtime::block_on(async move{delegation_commands::apply_persisted_config(\u0026db_for_init,\u0026broker_for_init,).await;crate::commands::feedback::apply_persisted_feedback_config(\u0026db_for_init,\u0026feedback_for_init,).await;crate::commands::question::apply_persisted_question_config(\u0026db_for_init,\u0026question_for_init,).await;crate::commands::session_info::apply_persisted_session_info_config(\u0026db_for_init,\u0026session_info_for_init,).await;crate::commands::chat_authoring::apply_persisted_chat_authoring_config(\u0026db_for_init,\u0026chat_authoring_for_init,).await;crate::commands::browser_tools::apply_persisted_browser_tools_config(\u0026db_for_init,\u0026browser_tools_for_init,).await;crate::commands::computer_tools::apply_persisted_computer_tools_config(\u0026db_for_init,\u0026computer_tools_for_init,).await;crate::commands::generative_ui::install_generative_ui_skill(\u0026db_for_init,).await;});let computer_service=crate::commands::computer::ComputerService::start(crate::commands::computer::ComputerHost::Desktop(app.handle().clone()),computer_tools_config.clone(),);app.manage(computer_service.clone());let listener_broker=broker.clone();let listener=crate::acp::delegation::listener::DelegationListener::new(listener_broker,tokens,std::sync::Arc::new(crate::acp::manager::ConnectionManagerParentLookup{manager:std::sync::Arc::new(cm_state.clone_ref()),},),std::sync::Arc::new(crate::acp::manager::ConnectionManagerFeedbackLookup{manager:std::sync::Arc::new(cm_state.clone_ref()),},),std::sync::Arc::new(crate::acp::manager::ConnectionManagerQuestionLookup{manager:std::sync::Arc::new(cm_state.clone_ref()),},),std::sync::Arc::new(crate::commands::session_info::DbSessionInfoLookup::new(std::sync::Arc::new(db::AppDatabase{conn:db_conn.clone(),}),),),std::sync::Arc::new(crate::work_task::EngineWorkTaskTools),std::sync::Arc::new(crate::commands::chat_authoring::DbChatAuthoring::new(std::sync::Arc::new(db::AppDatabase{conn:db_conn.clone(),}),crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone(),),chat_authoring_config.clone(),),),std::sync::Arc::new(crate::commands::browser::McpBrowserTools::new(app.handle().clone(),browser_tools_config.clone(),),),std::sync::Arc::new(crate::commands::computer::McpComputerTools::new(computer_service,)),std::sync::Arc::new(crate::acp::result_tool::ConnectionManagerResultLookup{manager:std::sync::Arc::new(cm_state.clone_ref()),},),);let service=crate::acp::delegation::service::DelegationService::new(listener,socket_path,);crate::acp::delegation::service::install(service.clone());tauri::async_runtime::spawn(async move{if let Err(e)=service.start().await{tracing::error!(\u0022[delegation] listener failed to start: {e}\u0022);}});broker};{let db_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();let cm=app.state::\u003CConnectionManager\u003E().clone_ref();let bus=app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone();tauri::async_runtime::spawn(crate::acp::lifecycle_subscriber_task(db_conn,cm,bus,Some(broker_for_lifecycle),));}{let service=crate::cli_run::CliRunService::new(\u0026app.state::\u003Cdb::AppDatabase\u003E(),\u0026app.state::\u003CConnectionManager\u003E(),crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone()),app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone(),effective_data_dir.clone(),crate::cli_run::wire::RuntimeKind::Desktop,);service.set_opener(std::sync::Arc::new(DesktopSessionOpener(app.handle().clone(),)));let access=crate::cli_run::CliAccess::new(service.clone(),effective_data_dir.clone());app.manage(service.clone());app.manage(access.clone());let db_conn=app.state::\u003Cdb::AppDatabase\u003E().conn.clone();tauri::async_runtime::spawn(async move{service.spawn_background();access.start_if_enabled(\u0026db_conn).await;});}match tauri::async_runtime::block_on(web::load_web_service_config(\u0026db.conn)){Ok(config)if config.auto_start=\u003E{let port=config.port.unwrap_or(web::DEFAULT_WEB_SERVICE_PORT);let ws=app.state::\u003Cweb::WebServerState\u003E();if let Err(err)=tauri::async_runtime::block_on(web::do_start_web_server_tauri(app.handle().clone(),\u0026ws,config.port,None,config.token,)){tracing::error!(\u0022[WEB] auto-start failed: {err}\u0022);notify_web_auto_start_failed(app.handle(),port,\u0026err);}}Ok(_)=\u003E{}Err(err)=\u003Etracing::error!(\u0022[WEB] failed to load auto-start config: {err}\u0022),}if let Some(idle_timeout)=crate::acp::idle_timeout_from_env(){let cm=app.state::\u003CConnectionManager\u003E().clone_ref();tauri::async_runtime::spawn(crate::acp::idle_sweep_task(cm,idle_timeout,std::time::Duration::from_secs(crate::acp::SWEEP_INTERVAL_SECS),));}if let Some(idle_timeout)=crate::office_watch::idle_timeout_from_env(){tauri::async_runtime::spawn(crate::office_watch::office_watch_idle_sweep_task(idle_timeout,std::time::Duration::from_secs(crate::office_watch::SWEEP_INTERVAL_SECS),));}if let Some(engine)=crate::automation::build_engine(crate::db::AppDatabase{conn:app.state::\u003Ccrate::db::AppDatabase\u003E().conn.clone(),},app.state::\u003CConnectionManager\u003E().clone_ref(),crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone()),app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone(),effective_data_dir.clone(),){tauri::async_runtime::spawn(crate::automation::run_automation_engine(engine));}if let Some(engine)=crate::work_task::build_task_engine(crate::db::AppDatabase{conn:app.state::\u003Ccrate::db::AppDatabase\u003E().conn.clone(),},app.state::\u003CConnectionManager\u003E().clone_ref(),crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone()),app.state::\u003Cstd::sync::Arc\u003Ccrate::acp::InternalEventBus\u003E\u003E().inner().clone(),effective_data_dir.clone(),){tauri::async_runtime::spawn(crate::work_task::run_task_engine(engine));if let Some(processor)=crate::forge::auto::build(crate::db::AppDatabase{conn:app.state::\u003Ccrate::db::AppDatabase\u003E().conn.clone(),},crate::web::event_bridge::EventEmitter::Tauri(app.handle().clone()),){tauri::async_runtime::spawn(crate::forge::auto::run(processor));}}{use tauri_plugin_deep_link::DeepLinkExt;let handle=app.handle().clone();let _=app.deep_link().on_open_url(move|event|{let urls:Vec\u003CString\u003E=event.urls().iter().map(|url|url.to_string()).collect();crate::deep_link::handle_raw_urls(\u0026handle,\u0026urls);});#[cfg(all(not(debug_assertions),any(windows,target_os=\u0022linux\u0022)))]if let Err(e)=app.deep_link().register_all(){tracing::warn!(\u0022[deep-link] scheme registration failed: {e}\u0022);}}let startup_urls:Vec\u003CString\u003E={use tauri_plugin_deep_link::DeepLinkExt;app.deep_link().get_current().ok().flatten().unwrap_or_default().into_iter().map(|url|url.to_string()).collect()};let workspace_path=tauri::async_runtime::block_on(crate::deep_link::startup_workspace_path(\u0026db::AppDatabase{conn:app.state::\u003Cdb::AppDatabase\u003E().conn.clone(),},\u0026startup_urls,),);#[cfg(target_os=\u0022macos\u0022)]crate::browser::shim::macos::prefer_detached_inspector();let restore=tauri::async_runtime::block_on(workspace_windows::load_restore(\u0026db.conn,startup_urls.iter().any(|url|crate::deep_link::parse_deep_link(url).is_some()),windows::can_hide_to_tray(),));if app.get_webview_window(\u0022main\u0022).is_none(){let url=tauri::WebviewUrl::App(workspace_path.into());let builder=tauri::WebviewWindowBuilder::new(app,\u0022main\u0022,url).title(\u0022Codeg\u0022).inner_size(1260.0,860.0).min_inner_size(400.0,600.0).visible(restore.show_local());let builder=windows::apply_platform_window_style(builder);#[cfg(target_os=\u0022macos\u0022)]let builder=builder.traffic_light_position(windows::workspace_window_traffic_light_position(),);if let Ok(w)=builder.build(){windows::post_window_setup(\u0026w);if!restore.show_local()\u0026\u0026w.is_visible().unwrap_or(false){let _=w.hide();}}}workspace_windows::begin_restore(app.handle(),restore);#[cfg(all(feature=\u0022browser-child\u0022,any(target_os=\u0022macos\u0022,target_os=\u0022windows\u0022,target_os=\u0022linux\u0022)))]crate::browser::surface_child::init_main_thread();crate::browser::surface_window::init_main_thread();#[cfg(feature=\u0022browser-smoke\u0022)]crate::browser::smoke::spawn_if_enabled(app.handle().clone());Ok(())}).on_menu_event(|app,event|{let id=event.id().as_ref().to_string();#[cfg(target_os=\u0022macos\u0022)]if crate::app_menu::handle_event(app,\u0026id){return;}if id.starts_with(windows::TRAY_MENU_ID_PREFIX){match id.as_str(){windows::TRAY_MENU_ID_SHOW=\u003Ewindows::show_main_window(app),windows::TRAY_MENU_ID_QUIT=\u003Eapp.exit(0),_=\u003E{}}return;}if!id.starts_with(windows::PET_MENU_ID_PREFIX){return;}let payload:serde_json::Value=if let Some(scale)=windows::pet_menu_scale_from_id(\u0026id){serde_json::json!({\u0022type\u0022:\u0022scale\u0022,\u0022value\u0022:scale})}else if id==windows::PET_MENU_ID_OPEN_MANAGER{serde_json::json!({\u0022type\u0022:\u0022open_manager\u0022})}else if id==windows::PET_MENU_ID_CLOSE{serde_json::json!({\u0022type\u0022:\u0022close\u0022})}else{return;};use tauri::Emitter;let _=app.emit_to(\u0022pet\u0022,\u0022pet://menu-action\u0022,payload);}).on_window_event(|window,event|{let label=window.label().to_string();workspace_windows::on_window_event(window,event);if matches!(event,tauri::WindowEvent::Destroyed){browser_commands::close_all_for_owner(window.app_handle(),\u0026label);}if(label==\u0022settings\u0022||label.starts_with(\u0022remote-settings-\u0022))\u0026\u0026matches!(event,tauri::WindowEvent::CloseRequested{..}|tauri::WindowEvent::Destroyed){let app=window.app_handle();if let Some(state)=app.try_state::\u003Cwindows::SettingsWindowState\u003E(){windows::restore_windows_after_settings(app,\u0026state,\u0026label);}}if(label.starts_with(\u0022commit-\u0022)||label.starts_with(\u0022remote-commit-\u0022))\u0026\u0026matches!(event,tauri::WindowEvent::CloseRequested{..}|tauri::WindowEvent::Destroyed){let app=window.app_handle();if let Some(state)=app.try_state::\u003Cwindows::CommitWindowState\u003E(){windows::restore_window_after_commit(app,\u0026state,\u0026label);}}if(label.starts_with(\u0022merge-\u0022)||label.starts_with(\u0022remote-merge-\u0022))\u0026\u0026matches!(event,tauri::WindowEvent::CloseRequested{..}|tauri::WindowEvent::Destroyed){let app=window.app_handle();if let Some(state)=app.try_state::\u003Cwindows::MergeWindowState\u003E(){windows::restore_window_after_merge(app,\u0026state,\u0026label);}if label.starts_with(\u0022merge-\u0022){let app_clone=window.app_handle().clone();let label_clone=label.clone();tauri::async_runtime::spawn(async move{windows::cleanup_dangling_merge(\u0026app_clone,\u0026label_clone).await;});}}if matches!(event,tauri::WindowEvent::CloseRequested{..}|tauri::WindowEvent::Destroyed){let app=window.app_handle();if let Some(state)=app.try_state::\u003Cwindows::AuxWindowState\u003E(){windows::restore_window_after_aux(app,\u0026state,\u0026label);}}if label==\u0022pet\u0022\u0026\u0026!APP_QUITTING.load(Ordering::Relaxed)\u0026\u0026matches!(event,tauri::WindowEvent::CloseRequested{..}|tauri::WindowEvent::Destroyed){if let Some(db)=window.app_handle().try_state::\u003Cdb::AppDatabase\u003E(){let conn=db.conn.clone();tauri::async_runtime::spawn(async move{persist_pet_closed(\u0026conn).await});}}if label==windows::PET_PANEL_LABEL\u0026\u0026matches!(event,tauri::WindowEvent::Focused(false)){windows::close_pet_panel_on_blur(window.app_handle());}if label==\u0022main\u0022{if let tauri::WindowEvent::CloseRequested{api,..}=event{if!APP_QUITTING.load(Ordering::Relaxed){api.prevent_close();handle_main_close_request(window,\u0026label);return;}let app=window.app_handle();if let Some(cm)=app.try_state::\u003CConnectionManager\u003E(){let disconnected=tauri::async_runtime::block_on(cm.disconnect_by_owner_window(\u0026label),);tracing::info!(\u0022[ACP] main window closing disconnected_connections={}\u0022,disconnected);}if let Some(tm)=app.try_state::\u003CTerminalManager\u003E(){let killed=tm.kill_by_owner_window(\u0026label);tracing::info!(\u0022[TERM] main window closing killed_terminals={}\u0022,killed);}}}}).invoke_handler(tauri::generate_handler![browser_commands::browser_capabilities,browser_commands::browser_open_tab,browser_commands::browser_close,browser_commands::browser_set_bounds,browser_commands::browser_set_window_viewport,browser_commands::browser_set_visible,browser_commands::browser_freeze_frame,browser_commands::browser_navigate,browser_commands::browser_reload,browser_commands::browser_go_back,browser_commands::browser_go_forward,browser_commands::browser_stop,browser_commands::browser_open_devtools,browser_commands::browser_get_state,browser_commands::browser_list_tabs,browser_commands::browser_list_services,browser_commands::browser_clear_data,browser_commands::browser_find,browser_commands::browser_list_downloads,browser_commands::browser_reveal_download,browser_commands::browser_clear_downloads,browser_commands::browser_set_host_rules,browser_commands::browser_set_sign_in_user_agent,browser_commands::browser_set_blank_page_theme,browser_commands::browser_remove_profile,browser_commands::browser_doc_open,browser_commands::browser_doc_set_mode,browser_commands::browser_doc_state,browser_commands::browser_agent_grant,browser_commands::browser_agent_snapshot,browser_commands::browser_agent_act,browser_commands::browser_agent_console,browser_commands::browser_agent_capture,browser_commands::browser_agent_eval,browser_commands::browser_eval_decide,browser_commands::browser_answer_open_request,browser_commands::browser_pick_element,browser_commands::browser_pick_cancel,browser_commands::browser_page_capture,browser_commands::browser_page_console,conversations::list_conversations,conversations::get_conversation,conversations::list_all_conversations,conversations::list_child_conversations,conversations::list_opened_tabs,conversations::save_opened_tabs,conversations::import_local_conversations,conversations::scan_importable_sessions,conversations::import_selected_sessions,conversations::get_folder_conversation,conversations::get_folder_conversation_turns,conversations::get_folder_conversation_outline,conversations::list_folders,conversations::get_stats,conversations::get_sidebar_data,conversations::create_conversation,conversations::create_chat_conversation,conversations::create_chat_dir,conversations::update_conversation_status,conversations::update_conversation_title,conversations::update_conversation_pinned,assistant_commands::assistant_list,assistant_commands::assistant_create,assistant_commands::assistant_update,assistant_commands::assistant_delete,assistant_commands::assistant_reorder,conversation_tags::list_conversation_tags,conversation_tags::create_conversation_tag,conversation_tags::update_conversation_tag,conversation_tags::delete_conversation_tag,conversation_tags::reorder_conversation_tags,conversation_tags::update_conversation_tags,conversation_tags::get_conversation_branch_tag,conversation_tags::update_conversation_branch_tag,conversations::delete_conversation,conversations::move_conversations,folders::load_folder_history,folders::get_folder,folders::list_open_folder_details,folders::list_all_folder_details,folders::open_folder,folders::open_worktree_folder,folders::resolve_worktree_folder,folders::open_folder_in_workspace,folders::open_folder_by_id,open_in::open_in_code,folders::remove_folder_from_workspace,folders::list_folder_groups,folders::create_folder_group,folders::update_folder_group,folders::delete_folder_group,folders::apply_sidebar_layout,folders::set_folder_group,folders::update_folder_color,folders::update_folder_alias,folders::update_folder_default_agent,folder_links::list_folder_links,folder_links::preview_folder_links,folder_links::create_folder_links,folder_links::rename_folder_link,folder_links::repair_folder_link,folder_links::remove_folder_link,canvas_commands::canvas_list_boards,canvas_commands::canvas_create_board,canvas_commands::canvas_update_board,canvas_commands::canvas_delete_board,canvas_commands::canvas_list_nodes,canvas_commands::canvas_create_node,canvas_commands::canvas_group_into_region,canvas_commands::canvas_update_node,canvas_commands::canvas_move_nodes,canvas_commands::canvas_detach_member,canvas_commands::canvas_delete_node,canvas_commands::canvas_delete_nodes,folders::add_folder_to_history,folders::remove_folder_from_history,folders::create_folder_directory,folders::clone_repository,folders::get_git_branch,folders::get_git_head,folders::git_init,folders::git_pull,folders::git_start_pull_merge,folders::git_has_merge_head,folders::git_fetch,folders::git_update_branch,folders::git_push_info,folders::git_push,folders::git_new_branch,folders::git_worktree_add,folders::git_checkout,folders::git_reset,folders::git_list_branches,folders::git_stash_push,folders::git_stash_pop,folders::git_stash_list,folders::git_stash_apply,folders::git_stash_drop,folders::git_stash_clear,folders::git_stash_show,folders::git_status,folders::git_is_tracked,folders::git_diff,folders::git_diff_with_branch,folders::git_show_diff,folders::git_show_file,folders::git_show_file_base64,folders::git_commit,commit_message_commands::git_generate_commit_message,commit_message_commands::git_generate_commit_message_cancel,commit_message_commands::get_commit_message_settings,commit_message_commands::set_commit_message_settings,commit_message_commands::delete_commit_message_settings,folders::git_rollback_file,folders::git_add_files,folders::git_list_all_branches,folders::git_list_remotes,folders::git_fetch_remote,folders::git_add_remote,folders::git_remove_remote,folders::git_set_remote_url,folders::git_merge,folders::git_rebase,folders::git_delete_branch,folders::git_remove_worktree,folders::git_delete_remote_branch,folders::git_list_conflicts,folders::git_conflict_file_versions,folders::git_resolve_conflict,folders::git_abort_operation,folders::git_continue_operation,workspace_state_commands::start_workspace_state_stream,workspace_state_commands::stop_workspace_state_stream,workspace_state_commands::get_workspace_snapshot,folders::get_home_directory,folders::list_directory_entries,crate::commands::create_directory::create_directory,folders::list_directory_with_files,folders::get_file_tree,folders::list_workspace_files,crate::commands::workspace_file_search::search_workspace_files,crate::commands::workspace_file_search::cancel_workspace_file_search,crate::commands::workspace_file_search::prepare_workspace_file_search,folders::read_file_base64,folders::read_workspace_file_base64,folders::read_file_preview,folders::read_file_for_edit,folders::save_file_content,folders::save_file_copy,folders::rename_file_tree_entry,folders::move_file_tree_entry,folders::delete_file_tree_entry,folders::create_file_tree_entry,folders::git_log,folders::git_current_user,folders::git_commit_files,folders::git_search_authors,folders::git_commit_branches,windows::open_folder_window,windows::open_commit_window,windows::open_settings_window,windows::open_merge_window,windows::open_stash_window,windows::open_push_window,windows::open_project_boot_window,windows::open_import_sessions_window,windows::open_local_workspace,remote_workspace_commands::list_remote_workspace_connections,remote_workspace_commands::create_remote_workspace_connection,remote_workspace_commands::update_remote_workspace_connection,remote_workspace_commands::delete_remote_workspace_connection,remote_workspace_commands::test_remote_workspace_connection,remote_workspace_commands::get_remote_workspace_connection,remote_workspace_commands::reorder_remote_workspace_connections,remote_workspace_commands::open_remote_workspace,workspace_windows::take_workspace_restore_failures,remote_proxy_commands::remote_http_call,remote_proxy_commands::remote_cache_forge_image,remote_proxy_commands::remote_upload_attachment,remote_proxy_commands::remote_upload_workspace_paths,remote_proxy_commands::remote_cancel_workspace_transfer,remote_proxy_commands::remote_download_workspace_file,remote_proxy_commands::remote_download_workspace_dir,remote_proxy_commands::read_local_file_for_upload,remote_proxy_commands::remote_ws_subscribe,remote_proxy_commands::remote_ws_unsubscribe,remote_proxy_commands::remote_ws_send_text,windows::open_pet_window,windows::close_pet_window,windows::pet_window_record_position,windows::pet_show_context_menu,windows::toggle_pet_panel,windows::close_pet_panel,windows::resize_pet_panel,windows::focus_conversation,crate::deep_link::take_pending_deep_link,windows::update_traffic_light_position,windows::update_appearance_mode,windows::set_tray_locale,pet_commands::pet_list,pet_commands::pet_get,pet_commands::pet_read_spritesheet,pet_commands::pet_add,pet_commands::pet_update_meta,pet_commands::pet_replace_sprite,pet_commands::pet_delete,pet_commands::pet_list_importable_codex,pet_commands::pet_import_codex,pet_commands::pet_codex_import_available,pet_commands::pet_get_settings,pet_commands::pet_set_active,pet_commands::pet_save_window_state,pet_commands::pet_marketplace_list,pet_commands::pet_marketplace_install,pet_commands::pet_marketplace_asset,pet_commands::pet_celebrate,pet_commands::pet_get_current_state,pet_commands::pet_list_active_sessions,background_commands::background_read,background_commands::background_set,background_commands::background_clear,background_commands::background_market_search,background_commands::background_market_asset,background_commands::background_market_download,app_update_commands::app_update_state,app_update_commands::perform_app_update,app_update_commands::restart_app,project_boot::detect_package_manager,project_boot::create_shadcn_project,project_boot::detect_hyperframes_skills,project_boot::install_hyperframes_skills,project_boot::create_hyperframes_project,system_settings::get_system_proxy_settings,system_settings::update_system_proxy_settings,system_settings::get_system_language_settings,system_settings::update_system_language_settings,system_settings::get_system_terminal_settings,system_settings::update_system_terminal_settings,system_settings::get_available_terminal_shells,system_settings::probe_terminal_shell_path,system_settings::get_system_rendering_settings,system_settings::update_system_rendering_settings,system_settings::get_system_autostart_settings,system_settings::update_system_autostart_settings,system_settings::get_system_close_behavior_settings,system_settings::update_system_close_behavior_settings,system_settings::resolve_close_request,logging_commands::get_log_settings,logging_commands::set_log_settings,logging_commands::get_recent_logs,logging_commands::list_log_files,logging_commands::open_logs_dir,delegation_commands::get_delegation_settings,delegation_commands::set_delegation_settings,crate::commands::mcp_service::get_codeg_mcp_service_status,crate::commands::mcp_service::start_codeg_mcp_service,crate::commands::mcp_service::set_codeg_mcp_tool_group,feedback_commands::get_feedback_settings,feedback_commands::set_feedback_settings,feedback_commands::submit_session_feedback,question_commands::get_question_settings,question_commands::set_question_settings,session_info_commands::get_session_info_settings,session_info_commands::set_session_info_settings,chat_authoring_commands::get_chat_authoring_settings,chat_authoring_commands::set_chat_authoring_settings,crate::commands::browser_tools::get_browser_tools_settings,crate::commands::browser_tools::set_browser_tools_settings,crate::commands::computer_tools::get_computer_tools_settings,crate::commands::computer_tools::set_computer_tools_settings,crate::commands::computer_tools::set_computer_tools_enabled,crate::commands::computer_tools::set_computer_tools_preferences,crate::commands::computer::computer_status,crate::commands::computer::computer_request_permission,crate::commands::computer::computer_open_permission_settings,crate::commands::computer::computer_reveal_helper,crate::commands::computer::computer_list_shareable_windows,crate::commands::computer::computer_window_thumbnail,crate::commands::computer::computer_share_window,crate::commands::computer::computer_share_windows,crate::commands::computer::computer_share_app,crate::commands::computer::computer_share_screen,crate::commands::computer::computer_revoke_all,crate::commands::computer::computer_stop,crate::commands::computer::computer_shared_state,crate::commands::computer::computer_stop_key_status,crate::commands::computer::computer_indicator_fit,crate::commands::computer::computer_driver_info,crate::commands::computer::computer_driver_install,crate::commands::computer::computer_driver_uninstall,version_control::detect_git,version_control::test_git_path,version_control::get_git_settings,version_control::update_git_settings,version_control::get_github_accounts,version_control::validate_github_token,version_control::validate_gitlab_token,version_control::validate_gitea_token,version_control::validate_cnb_token,version_control::update_github_accounts,version_control::save_account_token,version_control::get_account_token,version_control::delete_account_token,acp_commands::acp_preflight,acp_commands::acp_cursor_auth_status,acp_commands::acp_cursor_list_models,acp_commands::acp_qoder_auth_status,acp_commands::acp_connect,acp_commands::acp_prompt,acp_commands::acp_set_mode,acp_commands::acp_set_config_option,acp_commands::acp_goal_control,acp_commands::acp_describe_agent_options,acp_commands::acp_cancel,acp_commands::acp_fork,acp_commands::acp_stop_async_task,acp_commands::acp_respond_permission,acp_commands::acp_answer_question,acp_commands::acp_answer_plan_approval,acp_commands::acp_disconnect,acp_commands::acp_touch_connection,acp_commands::acp_list_connections,acp_commands::acp_get_session_snapshot,acp_commands::acp_get_session_snapshot_by_conversation,acp_commands::acp_find_connection_for_conversation,acp_commands::acp_list_agents,acp_commands::acp_get_agent_status,acp_commands::acp_env_diagnostics,acp_commands::acp_clear_binary_cache,acp_commands::acp_scan_leaked_temp,acp_commands::acp_reclaim_leaked_temp,acp_commands::acp_download_agent_binary,acp_commands::acp_update_system_agent,acp_commands::acp_install_uv_tool,acp_commands::acp_detect_agent_local_version,acp_commands::acp_fetch_agent_latest_release,acp_commands::acp_prepare_npx_agent,acp_commands::acp_uninstall_agent,acp_commands::acp_update_agent_preferences,acp_commands::acp_update_agent_env,acp_commands::acp_update_agent_config,acp_commands::acp_update_hermes_config,acp_commands::acp_update_claude_model_picker,acp_commands::acp_update_kimi_code_config,deepseek_settings_commands::acp_load_deepseek_model_catalog,deepseek_settings_commands::acp_update_deepseek_model_catalog,acp_commands::acp_update_pi_config,acp_commands::acp_load_pi_config,acp_commands::acp_list_pi_model_capabilities,acp_commands::acp_validate_pi_command,acp_commands::acp_sync_antigravity_settings,acp_commands::acp_antigravity_login_start,acp_commands::acp_antigravity_login_finish,acp_commands::acp_antigravity_login_cancel,acp_commands::acp_antigravity_sign_out,acp_commands::acp_pi_project_trust_state,acp_commands::acp_pi_set_project_trust,acp_commands::acp_pi_acknowledge_project_trust,acp_commands::acp_pi_list_trust_entries,acp_commands::acp_install_pi_binary,acp_commands::acp_uninstall_pi_binary,acp_commands::acp_open_hermes_setup_terminal,acp_commands::acp_reveal_hermes_home,acp_commands::acp_reorder_agents,crate::commands::custom_agents::acp_list_custom_agents,crate::commands::custom_agents::acp_save_custom_agent,crate::commands::custom_agents::acp_delete_custom_agent,crate::commands::custom_agents::acp_fetch_registry_catalog,crate::commands::custom_agents::acp_add_registry_agent,crate::commands::custom_agents::acp_current_platform,acp_commands::acp_list_agent_skills,acp_commands::acp_list_agent_runtime_skills,acp_commands::acp_read_agent_skill,acp_commands::acp_save_agent_skill,acp_commands::acp_delete_agent_skill,acp_commands::opencode_list_plugins,acp_commands::opencode_provider_catalog,acp_commands::codex_bundled_catalog,crate::commands::opencode_credentials::opencode_list_integrations,crate::commands::opencode_credentials::opencode_connect_key,crate::commands::opencode_credentials::opencode_disconnect_provider,crate::commands::codex_catalog::codex_catalog_plan_preview,crate::commands::codex_catalog::codex_fetch_endpoint_catalog,crate::commands::codex_catalog::codex_endpoint_catalog_published,crate::commands::codex_catalog::codex_endpoint_catalog_cached,crate::commands::codex_catalog::codex_endpoint_catalog_status,crate::commands::codex_catalog::codex_refresh_endpoint_catalog,acp_commands::opencode_add_plugin,acp_commands::opencode_remove_plugin,acp_commands::codex_request_device_code,acp_commands::codex_poll_device_code,experts_commands::experts_list,experts_commands::experts_get_install_status,experts_commands::experts_list_all_install_statuses,experts_commands::experts_link_to_agent,experts_commands::experts_unlink_from_agent,experts_commands::experts_apply_links,experts_commands::experts_read_content,experts_commands::experts_open_central_dir,science_commands::science_list,science_commands::science_get_install_status,science_commands::science_list_all_install_statuses,science_commands::science_link_to_agent,science_commands::science_unlink_from_agent,science_commands::science_apply_links,science_commands::science_read_content,science_commands::science_open_central_dir,crate::commands::generative_ui::generative_ui_skill_info,crate::commands::generative_ui::generative_ui_list_all_install_statuses,crate::commands::generative_ui::generative_ui_apply_links,crate::commands::generative_ui::generative_ui_read_content,custom_skills_commands::custom_list,custom_skills_commands::custom_list_all_install_statuses,custom_skills_commands::custom_apply_links,custom_skills_commands::custom_read_skill,custom_skills_commands::custom_create_skill,custom_skills_commands::custom_save_skill,custom_skills_commands::custom_duplicate_skill,custom_skills_commands::custom_import_skill,custom_skills_commands::custom_import_from_agent,custom_skills_commands::custom_delete_skills,office_tools_commands::officecli_detect,office_tools_commands::officecli_install,office_tools_commands::officecli_uninstall,office_tools_commands::officecli_list_skills,office_tools_commands::officecli_sync_skills,office_tools_commands::officecli_skill_link_to_agent,office_tools_commands::officecli_skill_unlink_from_agent,office_tools_commands::officecli_skill_get_install_status,office_tools_commands::officecli_skill_list_all_install_statuses,office_tools_commands::officecli_skill_apply_links,office_tools_commands::officecli_skill_read_content,office_tools_commands::officecli_render_html,office_tools_commands::start_office_watch,office_tools_commands::stop_office_watch,office_tools_commands::renew_office_watch,folder_commands::list_folder_commands,folder_commands::create_folder_command,folder_commands::update_folder_command,folder_commands::delete_folder_command,folder_commands::reorder_folder_commands,folder_commands::bootstrap_folder_commands_from_package_json,local_command::run_local_command,quick_messages_commands::quick_messages_list,quick_messages_commands::quick_messages_create,quick_messages_commands::quick_messages_update,quick_messages_commands::quick_messages_delete,quick_messages_commands::quick_messages_reorder,automation_commands::automation_list,automation_commands::automation_get,automation_commands::automation_runs,automation_commands::automation_create,automation_commands::automation_update,automation_commands::automation_set_enabled,automation_commands::automation_delete,automation_commands::automation_mark_seen,automation_commands::automation_compute_next_run,automation_commands::automation_run_now,automation_commands::automation_cancel_run,token_usage_commands::token_usage_report,token_usage_commands::token_usage_facets,token_usage_commands::token_usage_status,token_usage_commands::token_usage_sync,work_task_commands::work_task_list,work_task_commands::work_task_get,work_task_commands::work_task_events,work_task_commands::work_task_attention_count,work_task_commands::work_task_create,work_task_commands::work_task_update,work_task_commands::work_task_reorder,work_task_commands::work_task_delete,work_task_commands::work_task_start,work_task_commands::work_task_start_all,work_task_commands::work_task_retry,work_task_commands::work_task_requeue,work_task_commands::work_task_schedule,work_task_commands::work_task_return,work_task_commands::work_task_cancel,work_task_commands::work_task_stop_background_wait,work_task_commands::work_task_merge,work_task_commands::work_task_merge_unqueue,work_task_commands::work_task_deliver_pr,work_task_commands::work_task_complete,work_task_commands::work_task_archive,work_task_commands::work_task_defer,work_task_commands::work_task_set_writeback,work_task_commands::work_task_cleanup,work_task_commands::work_task_diff,work_task_commands::work_task_changed_files,work_task_commands::work_task_uncommitted_files,work_task_commands::work_task_settings_get,work_task_commands::work_task_settings_get_own,work_task_commands::work_task_settings_effective,work_task_commands::work_task_settings_set,work_task_commands::work_task_settings_delete,work_task_commands::work_task_template_list,work_task_commands::work_task_template_save,work_task_commands::work_task_template_delete,forge_commands::folder_forge_remote,forge_commands::forge_list_issues,forge_commands::forge_issue_detail,forge_commands::forge_read_image,forge_commands::forge_tab_count,forge_commands::forge_list_labels,forge_commands::forge_list_comments,forge_commands::forge_create_comment,forge_commands::forge_set_item_state,forge_commands::forge_create_issue,forge_commands::forge_change_detail,forge_commands::forge_check_summaries,forge_commands::forge_approve_workflows,forge_commands::forge_change_files,forge_commands::forge_identity,forge_commands::forge_merge_options,forge_commands::forge_merge_change,forge_commands::work_task_create_from_forge,forge_commands::work_task_create_from_forge_issues,forge_commands::work_task_lookup_by_source,forge_commands::forge_settings_get,forge_commands::forge_settings_set,forge_commands::forge_auto_status,forge_commands::forge_auto_scan_now,terminal_commands::terminal_spawn,terminal_commands::terminal_write,terminal_commands::terminal_resize,terminal_commands::terminal_snapshot,terminal_commands::terminal_kill,terminal_commands::terminal_list,mcp_commands::mcp_scan_local,mcp_commands::mcp_list_marketplaces,mcp_commands::mcp_search_marketplace,mcp_commands::mcp_get_marketplace_server_detail,mcp_commands::mcp_install_from_marketplace,mcp_commands::mcp_upsert_local_server,mcp_commands::mcp_set_server_apps,mcp_commands::mcp_remove_server,notification::send_notification,notification::notification_identity,notification::open_system_notification_settings,file_io::save_binary_file,file_io::save_text_file,file_io::save_pasted_attachment,clipboard_commands::copy_files_to_clipboard,clipboard_commands::read_clipboard_files,config_sync::config_sync_export_file,config_sync::config_sync_peek_file,config_sync::config_sync_import_file,config_sync::config_sync_get_settings,config_sync::config_sync_update_settings,config_sync::config_sync_get_state,config_sync::config_sync_test_connection,config_sync::config_sync_upload_now,config_sync::config_sync_peek_remote,config_sync::config_sync_download_apply,config_sync::config_sync_export_content,config_sync::config_sync_peek_content,config_sync::config_sync_import_content,config_sync::config_sync_list_rollbacks,config_sync::config_sync_apply_rollback,config_sync::config_sync_mirror_appearance,backup::backup_create,backup::backup_prepare_source,backup::backup_release_source,backup::backup_scan_external_conflicts,backup::backup_restore_stage,backup::backup_cancel,backup::backup_list_safety_snapshots,backup::backup_rollback,backup::backup_discard_pending,backup::backup_active_agents,chat_channel_commands::list_chat_channels,chat_channel_commands::create_chat_channel,chat_channel_commands::update_chat_channel,chat_channel_commands::delete_chat_channel,chat_channel_commands::save_chat_channel_token,chat_channel_commands::get_chat_channel_has_token,chat_channel_commands::delete_chat_channel_token,chat_channel_commands::connect_chat_channel,chat_channel_commands::disconnect_chat_channel,chat_channel_commands::test_chat_channel,chat_channel_commands::get_chat_channel_status,chat_channel_commands::list_chat_channel_messages,chat_channel_commands::get_chat_command_prefix,chat_channel_commands::set_chat_command_prefix,chat_channel_commands::get_chat_event_filter,chat_channel_commands::set_chat_event_filter,chat_channel_commands::get_chat_event_webhooks,chat_channel_commands::set_chat_event_webhooks,chat_channel_commands::get_chat_event_top_level_only,chat_channel_commands::set_chat_event_top_level_only,chat_channel_commands::get_chat_message_language,chat_channel_commands::set_chat_message_language,chat_channel_commands::weixin_get_qrcode,chat_channel_commands::weixin_check_qrcode,model_provider_commands::list_model_providers,model_provider_commands::create_model_provider,model_provider_commands::update_model_provider,model_provider_commands::delete_model_provider,model_provider_commands::list_provider_models,web::start_web_server,web::stop_web_server,web::get_web_server_status,crate::commands::cli_access::cli_access_status,crate::commands::cli_access::cli_access_set_enabled,crate::commands::cli_access::cli_tool_status,crate::commands::cli_access::cli_tool_install,web::get_web_service_config,web::update_web_service_config,web::probe_web_service_port,]).build(context)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d51d8f21b419d31a1bf64e04b72d7bc6fe6f2b65a6c82636d9d3074c06d35e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Command::new(\u0022/bin/sh\u0022).args([\u0022-c\u0022,\u0022printf \u0027%s\u0027 \\\u0022$2\\\u0022 \u003E \\\u0022$1\\\u0022\u0022,\u0022sh\u0022]).arg(path).arg(content).stdin(std::process::Stdio::null()).status()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060write_test_script\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc2b761fa082fbe3c6d63ab66c2d16269772f186b9bcfb7b08b6df6228e967"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::set_permissions(path,std::fs::Permissions::from_mode(0o755))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060write_test_script\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/process.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d31df48bfe35efde0e1ce5deb6f06ff1f9cd0d896ff5e09e97fe522da0e040"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060task.conversation_id\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060launch\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/work_task/engine.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"777e7a08bae8c82026de60b650a9c4fae2b6aee6c97c4bd9cb1a032e17793429"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060events.last()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060handle_attach\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/web/ws_attach.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d067d835ef3d14ebadd2146fb8a9fa1983c2d9d40560555494193354caa33c3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060terminals.remove(terminal_id)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060finish_terminal_reader\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/terminal/manager.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d43e1539a2300353d6a6f446115afd35aea89715763d318db29f775fd2e1f8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(concat!(r\u0022(?s)\u0022,r\u0022\u003Csystem-reminder\u003E.*?\u003C/system-reminder\u003E\u0022,r\u0022|\u003Clocal-command-caveat\u003E.*?\u003C/local-command-caveat\u003E\u0022,r\u0022|\u003Ccommand-name\u003E.*?\u003C/command-name\u003E\u0022,r\u0022|\u003Ccommand-message\u003E.*?\u003C/command-message\u003E\u0022,r\u0022|\u003Ccommand-args\u003E.*?\u003C/command-args\u003E\u0022,r\u0022|\u003Clocal-command-stdout\u003E.*?\u003C/local-command-stdout\u003E\u0022,r\u0022|\u003Cuser-prompt-submit-hook\u003E.*?\u003C/user-prompt-submit-hook\u003E\u0022,r\u0022|\u003Ctask-notification\u003E.*?\u003C/task-notification\u003E\u0022,r\u0022|\u003Cfast_mode_info\u003E.*?\u003C/fast_mode_info\u003E\u0022,))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060system_tag_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ffa3e9132e6d094f46a3b459ca627a8962f27a0d18a8eff3497a48f5d80703"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Cnote\u003E(.*?)\u003C/note\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_note_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfe192e4796cdb5da9c428606eb9d087c247753d73f5eed86a7e5c03222523c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Ctask-id\u003E(.*?)\u003C/task-id\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_task_id_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7236dd39116ec7628f9e75acffe10b205534fc57bfd7f49f93f8cb8b25eb1797"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Cstatus\u003E(.*?)\u003C/status\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_status_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02e7d04152ba6caf2b1fe3d6a2285e40a8f45428574b7e7ff14344d0de19969"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Csummary\u003E(.*?)\u003C/summary\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_summary_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a235836ba1b1e9e49c261f03cb4df8625f3d6c9301c48daae35ae6a78b7da59"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Ctool-use-id\u003E(.*?)\u003C/tool-use-id\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_tool_use_id_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedde043546d2d9ece43c1a7ae4c22578fad5b0a1d559b23f1fc4bf24091f857"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Cresult\u003E(.*?)\u003C/result\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060task_notification_result_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2556321819cb6b7207c614c7633699414d1173f9ed10efbd996bc661a6b74ed"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Ccommand-name\u003E(.*?)\u003C/command-name\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060command_name_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0247b49c72fbd3d1293c2d692deac00c1ad54e1e365f8798fa0faad387e809"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\u003Ccommand-args\u003E(.*?)\u003C/command-args\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060command_args_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea766528354b30f54141e876e9ceee2e2490e4077f1c897f877c59d7033a30ff"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060snapshot.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060goal_status_transition\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c48beda7e146a61efe12bc903f39d15571be60b2d5e53780e61cecaeb6655a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(\u0026format!(r\u0022\\A\\s*{}[^\\n]*\\n(?:[ \\t]*\\r?\\n)*(?:[ \\t]*\u003Csystem-reminder\u003E[\\s\\S]*?\u003C/system-reminder\u003E[ \\t]*\\r?\\n(?:[ \\t]*\\r?\\n)*)*(?:[ \\t]*Summary:[ \\t]*\\r?\\n)?\u0022,regex::escape(CONTEXT_CONTINUATION_PREFIX)))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060continuation_preamble_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ad5ea88cd8b1a19bdf860d09c9bf28a6c5437d7e55e6aa600351ffecad15e5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060messages.last_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060feed_value\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ae092e741d0876b541f27c7b4ac1637588511900213d7b0e53fb42e6880668"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060content.into_iter().next()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060feed_value\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/claude.rs"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3c693f618906d7e283fd630d7bd14ca39cf613f6b8ecb722d6d6432574682"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022\u2026\\d\u002B chars truncated\u2026\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060codex_truncated_mcp_result_preview\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4394e270014a0312e23523a8146e35177aa9ead684a197b1dc97f6eca0e6d5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060pending_exec_scripts.keys().next()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060parse_conversation_detail\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f6c27e4281d060ea6328e3d9ef2aab955d2b1cc292189865ef2ffa3611571c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)\\A# AGENTS\\.md instructions for [^\\n]\u002B\\n\\s*\\n\u003CINSTRUCTIONS\u003E.*?\u003C/INSTRUCTIONS\u003E\\s*\u0022,)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060agents_instructions_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":6013}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fafd19b1f1a6c2964bfc2696e5f600cd4abadccff7e78806b396bf26c692e38"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022@([^\\s@]\u002B)\\s*\\[blocked[^\\]]*\\]\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060strip_blocked_resource_mentions\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b73657c362b0d8a891a400c4fc8db665958363138e89b558c577ffd713bb9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?i)\u003C/?image\\s*/?\u003E\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060strip_blocked_resource_mentions\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8edcf81d47b8556e2ce27ed59a49d528a3d4c12f7980c86cdb0a2ede6fad29c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022[ \\t]{2,}\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060strip_blocked_resource_mentions\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex.rs"},"region":{"startLine":7152}}}],"partialFingerprints":{"codehealthFindingId/v1":"db419de591186a9fb1ae690510b7a94e4c27cad01e9b4c090b307babf07f2f7b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^\\s*(?:\\(\\s*([A-Za-z_$][A-Za-z0-9_$]*)\\s*(?:,\\s*([A-Za-z_$][A-Za-z0-9_$]*)\\s*)?\\)|([A-Za-z_$][A-Za-z0-9_$]*))\\s*=\u003E\u0022,)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060arrow_parameters\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_code_mode.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cc47e11bf8bcfff4661f35000f243d300d85e14e8df23d7327910325cb6aa"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(pattern)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codex_desktop_attachments.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c49e9247343264aa449a45d9d6c205df5b100a6d63ba8967c60fccd2011cb4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060out.subagents.last_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060parse_updates\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"8935890546aa49db0e130e8eec35938ee69ace478ef740add38017b7a5f26c33"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060assistant.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060ensure_assistant\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab102bd8b31b98421d83b0eaf082139554792b5a7e9c369ce5ef1ff0621a189d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060openers.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fold_reference_links\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34217088a010138e79b81b0df835f17f6899aa880461156b37bb2377dc8d9c1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?i)\\[\\s*([0-9]\u002B(?:\\.[0-9]\u002B)?)\\s*([km])\\s*\\]\\s*$\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060model_capacity_suffix_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7cdc3e9b86840f39d36515540ec3f55571c6dc2a74bdb1bb8c4d51152e21a5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?i)\\b1m\\b\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060claude_one_million_id_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae6c1e7ad7412029afdbc34bc69d1486164a26f14e2ee500fe26b2704c2b1a9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^claude-(opus|sonnet|haiku|fable|mythos)-(\\d{1,2})(?:[-.](\\d{1,2}))?(?:$|\\D)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060claude_family_version_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/mod.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae11dce053a21c6ee368f855ebbe757bfa3fc04e742c9ebdd5af3a89b2fe9ad"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(?s)^Sender \\(untrusted metadata\\):\\s*\u0060\u0060\u0060[^\u0060]*\u0060\u0060\u0060\\s*\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060sender_block_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0251d988af99e0fa0c4702d9e5d4f668f3011c0d3f56f7859fe8e3ccf877bbd0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^\\[.*?\\]\\s*\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060timestamp_prefix_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8562cafa070e3e1043e540fa06c14040cd261b04634184a8d3fcd0c135341be"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^\\[Working directory:[^\\]]*\\]\\s*\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060working_dir_prefix_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8403d7b806d6d92d09ae15cd0dfe462c16a152887f55ea408239d7f72090106"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022\\[Working directory:\\s*([^\\]]\u002B)\\]\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060working_dir_extract_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c2b3d022a1b4f3f0952f44cb5f68b5b34bde51067872361035387e1c0ebbe"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060candidates.into_iter().next()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060find_reset_file\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/openclaw.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"866f6574f0624c5a30ba9a60bac6493dddec1fdb594addf74714f57416fca19f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060messages.last_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060parse_transcript\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c444cbc7f34153c0022a408720b3c6548b2024e0bbd41331db27f4b76c4e495"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tokio_command(\u0022sleep\u0022).arg(\u0022600\u0022).kill_on_drop(true).spawn()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060insert_known_port_for_test\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/office_watch/mod.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8aeb5e03ce1bbf1dfa4134a4c3942d36da2e99f4c0fef534c1c27647e15584"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Method::from_bytes(b\u0022PROPFIND\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060propfind_method\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/webdav.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4612d9ff0e937eeacce1adb5f60dfa42209d3f67ad5700c0489b7e52627a90c3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Method::from_bytes(b\u0022MKCOL\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mkcol_method\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/network/webdav.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c4c815704d6efecd99fdec1ecf5ed59a59e30a949994c03d72e50b35fd85ac"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(concat!(r\u0022(?s)-----BEGIN [A-Z ]*PRIVATE KEY-----.*?-----END [A-Z ]*PRIVATE KEY-----\u0022,r\u0022|\\b(?:ghp|gho|ghu|ghs|ghr)_[A-Za-z0-9]{20,}\u0022,r\u0022|\\bgithub_pat_[A-Za-z0-9_]{20,}\u0022,r\u0022|\\bglpat-[A-Za-z0-9_\\-]{20,}\u0022,r\u0022|\\bsk-(?:ant-)?[A-Za-z0-9_\\-]{20,}\u0022,r\u0022|\\bxox[abprs]-[A-Za-z0-9\\-]{10,}\u0022,r\u0022|\\bAKIA[0-9A-Z]{16}\\b\u0022,))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060token_patterns\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/thread_reply.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac9b2c0f4269772ae7f63f05e9aa9707ed3e73a0b167d19eaf2f46e82aa27bf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r#\u0022(^|[\\s(\\[{\u003C\u003E\u0022\u0027,;!?])@([A-Za-z0-9](?:[A-Za-z0-9_\\-]*[A-Za-z0-9])?(?:/[A-Za-z0-9](?:[A-Za-z0-9._\\-]*[A-Za-z0-9])?)?)\u0022#,)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060mention_pattern\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/thread_reply.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"32608f8df36d6c9a774a6c9989a3f7a416d255ef4a7374f6611371b24c20470b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060(2u32..).map(|n|{let suffix=format!(\u0022 ({n})\u0022);let room=MAX_NAME_CHARS.saturating_sub(suffix.chars().count());let head:String=base.chars().take(room).collect();format!(\u0022{}{suffix}\u0022,head.trim_end())}).find(|candidate|!taken.contains(\u0026name_key(candidate)))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060deduplicated_name\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/assistant_service.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0edbf1b0298c92acbc95703a2e348456c68d17b97a31dacf1e63d8714e74f8b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060previous\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060bind_external_id\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/conversation_service.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2490c9dc3086fc06c063f5e52d273ecd9e23eaf2135208a0f7a797a6f140a754"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060providers.as_table_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_kimi_managed_block\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3215c4fd4c9f8e720770f444352e7c13500f77f30586b3e7ceffef7dc629efa8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060models.as_table_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_kimi_managed_block\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":5475}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbca98d56ebd29568f58de8384ff42854da9594a99916d9490ff04a4d713d96"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060models.last_mut().and_then(serde_json::Value::as_object_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_pi_custom_model\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":7288}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d793a7c9cba5ae78b36535880830a06245cb27ab457391f97e85af7181abd4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_mapping_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060merge_hermes_model_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8456}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dace9243f9fc2db75499f811207a9a0d36f20872f3aff1f29ae5fac57a776f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root_map.get_mut(\u0026model_key).and_then(Value::as_mapping_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060merge_hermes_model_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c2a95d189517babf82a632eef6b088e6bf574d333bc449604ed7061642dfc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root_map.get_mut(\u0026model_key).and_then(Value::as_mapping_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060merge_hermes_model_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecfb26d3c1b23993ab2c4dd13586e6ab5e932fc42910ee7365024a4ff455126"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root_map.get_mut(key(\u0022providers\u0022)).and_then(Value::as_mapping_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060write_hermes_codeg_provider\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8577}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcea218aefde561645ad169d8244273eef0989aea3b09bebca29585bf8299d4b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060providers.get_mut(key(HERMES_CODEG_PROVIDER)).and_then(Value::as_mapping_mut)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060write_hermes_codeg_provider\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2309fbb8ce191f0b6c5246b700f16afb5ee6c29617ebca85149094220f739cf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apply_cursor_structured_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10707}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d166d790993c69dede97ca9339c313315c3d97b49bd8c53e84082a8312198"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::read_dir(root)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060link_names\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"36082aec3b23f82b27a0c336de7f9f409163e8d5d2cb9ff9b7add6ab631a4b9f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060setup\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e453b0c39a7f4f8127a669fc5cca1d1c5cd649b3e32e7397e6d1225d53fbba"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060setup\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_links.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cd55abee0a3e9712fc0ed73994210b6f707d7dc2805f7b3ad7a4b7428977f1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::current_dir()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060relative_from_cwd\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":9339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe09f216d992015ffc3b182fa384fab6ddaeb75a20b14a7db73a57a9f2b211"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060root.as_mapping_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060upsert_hermes_server\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/mcp.rs"},"region":{"startLine":5652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fae139de0f8ac7f43f946442923f9c268ccbf5d9703ad5f7052fe07cca02d65"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060reqwest::Client::builder().timeout(HTTP_TIMEOUT).redirect(connection_redirect_policy()).build()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0054ce5dbe22e6737a4c0e4a458ef11099dbbde36a3875e44f3f7b1a8729a13e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060reqwest::Client::builder().redirect(connection_redirect_policy()).build()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/remote_proxy.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7cd24a88a5d1595795675c48f3cab36d653529745faa7e71299f4c50ea3a4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060infos.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060work_task_get_core\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/work_task.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1885ab2a7e1553d7b27ec55cfd31699d193d0ed9a5684d38da2fc27b6693fe"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060lower\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060push\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c164a06c918a0187880b0421ee0a5d027e19cee51d5f0aa478d1cba58f589"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.path.to_str()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060path\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50ae099b2cdfdc611c7da64631af7dcc70f3e8b8f229448faa017cda2837af8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060header[..4].try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060scan\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6e3ac1fe201310ccbbaa27e72e401b92745c4c9102897a3533b81c4d8dcfa0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060header[4..8].try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060scan\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ebee1d36f072943fa95079da9c96a853f1fea38921ef4ce8d13ddaa25a2800"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::thread::Builder::new().name(\u0022codeg-search-changes\u0022.into()).spawn(move||Self::process_changes(service,receiver))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060send\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"0018d15904182fe3f192ad39bdbcb1543fb09920dbc5f43c5e0b58153f808d68"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060registry.snapshots.remove(index)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060snapshot\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/workspace_file_search/index_cache.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5685225bdfb5c668b40f08deff8ac283b561cb5a353d00c33912e8bcf820469f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Hmac::\u003CSha256\u003E::new_from_slice(token.as_bytes())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060proof\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/hello.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4289532cc4dc86b34f4a4f68e8957999a007e767a3d1f6f46098a4fa9584e071"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Arc::clone(\u0026run.launch).try_lock_owned()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/service.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f4fa377007755b5c4822fa765ad34e825c19d7d70c17b7c38f7e652a3a649c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string_pretty(\u0026agents)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060agents\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/commands.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"837dea6af2c28bf5c25a1943af61e961220a06fd2c7cc5fb3e4a535a5826c7c8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string_pretty(\u0026assistants)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060assistants\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/commands.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6616f74e87b61ef80d32fb8b7efbec876a6b212b98476152525eeeb85a8f3cf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string_pretty(\u0026value)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060status\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/commands.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"16af3b2bbe5374e480c6926d9653ad56b5073b6f4830561b5772d030441c8880"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060builder.build()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060client_for\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/connect.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"557cfcf28ba99eb0a6f79c970d95327d33bbe5fc9f5ee9d608a16138f1d1e884"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060chosen.hello.clone()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060connect\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/connect.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3bb53dd6cc837b6b68590a4181d0d93aa25749e6249ff0da06949211573980"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060event.result()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060exit_code\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/fanout.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c18101b88d25ef62c71678be24680c3fba96eec646b038153bae1290785217c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060joined\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fan_out\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/fanout.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c647858dd543a542b8b58ba14ee2de4a0cdf6a3993569e707dc1e724a4c207b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060o\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fan_out\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/fanout.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"932d798be0d1d53e07f253d29d9ef14171a625f29d74eadd1bb5cd15a0cd7103"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start_and_follow\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/fanout.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f9c294a2dc9157f1a26e40c7dba6b5fd18a88893ae1aee9f953c0727b3f34c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string_pretty(\u0026automations)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060list\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/manage.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"234772fd83586398611886692e8e8fbcd8950b65b4d701045ef9ff340cc6ab03"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(value)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060json_line\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"081873d98c9a1aaff021d3a633697c73e1ebed79b224a873d0d04c959e556c03"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(event)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060event\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"611ade5e50d2860aeb267dd6508ed11b6870685882a2b4e03442513eb9bbb689"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(event)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060result\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd69565cb6deada6a0c6540c654413bead9e08dd829f74ba1723f77527b6cbc5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(init)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060detached\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5377c0e095959e455efd32a5d4f48743f8e96cd0f843253725f1e7ff9633ca"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(status)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060still_running\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b104a4e1ab26226e839349e874f10bace6ba169ea4ff6fdd8a8df6ecb8031"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(output)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060reply_text\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/render.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cff79f5322ada9ece73c84a898e37bd3e96b1f38db91cf118306da4a9c2eb0a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060event.result()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060finish\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli/run.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"144b5a076fdf81434aeaf67ff3ec0c0d9ed10e2332f615d2a0ee0d2664ebaa82"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060now.date_naive().and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060handle_today\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/command_handlers.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fdacdc0dd72c05391100ac03e98909dbb356fc2bc5464640f424a7c5289919"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060now.date_naive().and_hms_opt(0,0,0)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060generate_daily_report\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/scheduler.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"02420a60951cd15e84e73e12a06fcb3007c74c6c20f4a5550d49b20049d11b2b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060inner.pending.take()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060decide_at\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/confirm.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbabc9a79a3117e91a1c3fb5e001c23ee2f7d209545fcef98a3ae85db8aa8d1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060response_builder(mode).status(StatusCode::RANGE_NOT_SATISFIABLE).header(header::CONTENT_RANGE,format!(\u0022bytes */{total}\u0022)).header(header::CONTENT_TYPE,\u0022text/plain; charset=utf-8\u0022).body(Vec::new())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060serve\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"516eaef462bc15e8fc86a7409ed020128545a039cf0749b3ef340044b8eecebe"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060builder.header(header::CONTENT_LENGTH,body.len()).body(body)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060serve\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"341b7dd4de56a1439aeb9c0ce4dca2f0836355cb642b09345a777c858b70be6f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060response_builder(mode).status(status).header(header::CONTENT_TYPE,\u0022text/plain; charset=utf-8\u0022).header(header::CONTENT_LENGTH,body.len()).body(body)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060error\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c844302f1b69437cca7bc9e189ad978bf69ee41666a3b3af95a7ddfd7ab3080c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Url::parse(\u0026format!(\u0022{DOC_SCHEME}://{host}/\u0022))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060document_url\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b856de15cbcef86af8c1cdde25e14ffcca265326d68e6cd0047f899785cc806"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060url.path_segments_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060document_url\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/doc_guest.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba00064bbbf896ecf6df64b7438676601fc83979f519581461671a3c62ed608"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060n.try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060rows\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/listener.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfdca3b7aa8959d7c0c0fce9331f1a6bcaa372a5904554ddd8123b5d1a1f594"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r#\u0022(?i)https?://[^\\s\u003C\u003E\u0022\u0027\u0060\\x1b|\\\\]\u002B\u0022#)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060url_pattern\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/service_url.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557a99d84f592d04b9eca0fa6231e295a9f47f04375497c887e98550f1cba75"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Url::parse(\u0022about:blank\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060build\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/surface_window.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed522b3d5ea8b9b0c610295ac0047fe156d9dfe4d10ae5f66bab88c5f381bd8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060CString::new(domain)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060proxy_config\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/macos.rs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff583ab26caf2cd0df88cbb95e936852da9f45a4e70d59f069a8c361689408"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tokio::runtime::Builder::new_multi_thread().enable_all().build()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b999d85690cb1d746f36d87b0e425b8ba985710af4065056e25ced265fcdd8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::var(\u0022CODEG_DATA_DIR\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060async_main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a317ca45e4ff2878fe860a2464b9172bba6cb6fa90d2458d0edce13057df0f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060async_main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/codeg_server.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88227847d6c991b69c332412f2b6c0550ffc03a34413016b73d0aac6c143feb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060content_type\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fetch_image_capped\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backgrounds/marketplace.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb5cfee340f3e1c5caedb0a3b443218f7d4c661c41a3ea09cb590faa80f92e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022\\[(?:\\\\.|[^\\]\\\\\\r\\n])\u002B\\]\\(codeg://agent/([A-Za-z0-9][A-Za-z0-9._:-]{0,127})\\)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060agent_reference_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"28675a0496fd7afdc625d40014787c6d58c39c1d8e0f7b48f2a9181ee741acd2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(frame)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_internal_agent_routes_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea47e162fd2a26ab5bf312424040e94928b00d9f07dfa42ba210f33cacd6b2c2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(\u0026frame.routes)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_internal_agent_routes_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4983408d3b10686448eb78a4554311770f5b3de5d8092801bd382a107bf45d33"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022\\[(?:\\\\.|[^\\]\\\\\\r\\n])\u002B\\]\\(codeg://assistant/([1-9][0-9]{0,9})\\)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060assistant_reference_regex\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3043ddd574edc8af0253e61bfdec4e538959ece94b5f2fd9544c0805321c1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(descriptor)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_assistant_routes_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d1731879066ca08da7c5179740b1c8251a41a796d11623dfba19609282936"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(routes)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_assistant_routes_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e63323b9aacc00fedeb485e33966c884f389929c86c36b15fa6ec7471ae00f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(descriptor)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_assistant_brief_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86c09764db67340a4349ab94049462a49a61190f5653e3e56dccc9b3fc52650"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::to_string(profile)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_assistant_brief_body\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/agent_mentions.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da8167bbd57e9afcb6d9bc35ec8826fd27bb4b5aec6522d8401db28283c77a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(RUN_OPTIONS_ANCHOR)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_options_anchor\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed74d59334543b4cfd8b55b5507b063f224614e87bfc6ac08d8e9992f990c3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(ACTION_LOCAL_DECL)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060action_local_decl\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a2ad87e0f8b150674989cb77ef67abef6cdcad06d77035deea40a45ce36841"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(RUN_OPTIONS_DECL)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_options_decl\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"887dd19fb58ef6d7c6a8cf4e87d2632947b52085e3d523bb30423e566b5b622b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(RUN_CLOSURE)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_closure\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f7df6e6ad13ea2e2ab8b62a7774487e47ca13c0e2fd8d9bb34e48bfd05276e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(LEGACY_CODEG_POLICY)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060legacy_codeg_policy\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/cursor_acp_retry_compat.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf28be8a3119eb12cd4b1cbc5437615a906e17bbc9e46a689b9abc7bfb62a71d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060canonical_root.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060hydrate_prompt_blocks\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/prompt_hydration.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd46a71e1ddf16d61e87860cdc4d2c2d3e76d97b1e46a7aaf958011c812aa4f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.live_message.as_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060ensure_live_message\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/session_state.rs"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6da645effcae0f3fca50fa721c08f57ec76f01a98a51069fe841308cd84815a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022^missing field\\s\u002B\u0060(?P\u003Cfield\u003E[^\u0060]*)\u0060\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060missing_field_rule\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96f55f0dad7fc52d7c661fdf528c391e6ee68857c0aa6b22e4e145d8fdf8af"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022\\bat line \\d\u002B column \\d\u002B\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060position_rule\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/stderr_tail.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb9efdff544cc076b52d120e2bee725c046744d2f969f2cfba28cb6e8ee8eb2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060terminal.reader_handles.try_lock()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060create_terminal\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e5820345a07f406ec7fa6804859ffdc4b24d61fec415ce16559650d9b99916"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060terminals.remove(\u0026terminal_id)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060release_terminal\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"f625bba75d79f50352f30a5be1fd584336015b8b2d5997186dcead93ece02594"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_and_capture\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eac5a0f8b2c39deb0ab553a72b0496b689a4a77c3edc95ad40ed6ec7f47292"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_and_capture\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889f2bf7a7a99d123414f1b1907255f991a73746b9dfbacc6c418e7372c9912"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060run_and_capture\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28b85f48dce1cbfa496c652d2e6cbbc7b6b8397af694f3d661eecb120dfd27e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/terminal_runtime.rs"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"514441dc591017276505c7f38b7c4055c8c7d8661cbc30e33d2455c8d4acd3b1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060inner.running.remove(\u0026k)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060drain_and_record_canceled\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6489af8968d5eed762e1db856905f8862e36b18fc654c4503366a01750d7a0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060inner.running.remove(\u0026k)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060drain_for_parent_cancel\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/broker.rs"},"region":{"startLine":3553}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4e41d53fb0e09dc6c42c8a63c245a69645f8912710d5b64e3c680c95a9118d"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Rust code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/error.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f5f4608f889dd829302c6ff43e2e82e45d509f1bf9df41b4db905a2e327d56"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b10a1685902a97a7b5f1c339cb5cc41ca80adaaa90f78f297e3bdc63a16f1"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/adapters/ai-elements-adapter.ts"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a802576ce8cc3677056818f8ab6f66d46b2110745e130f61d4f733d4c983d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Starting terminal...\u0060 under \u0060loading \u0026\u0026 isActive\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":"src/components/terminal/terminal-view.tsx"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b62323a5c4a9e06a00ca964c132fc927ffbde45f33d48db5b91c30b2e54290c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex h-full items-center justify-center\u0022\u003E\u0060 under \u0060resolved == null\u0060, but \u0060resolved\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":"src/components/tasks/task-transcript-dialog.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0534b759d0842791e5de16271d94cad5a8d7be9cc2e2b087720d60751aef5e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060exporting\u0060, but \u0060exporting\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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea0ff618846557ae048dd42a3f1a0ff420ffc6351aef18c32aafe0d057d99f0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060( inspecting || uploading )\u0060, but \u0060inspecting\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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"f311779a1ed3e4e58e376b576def5eb90e4e8142f3a3ec60186c7d0b0cc50cd9"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060restoring\u0060, but \u0060restoring\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":"src/components/settings/backup-settings.tsx"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ebcf92df7c189855fabd3bb1da0c29e284b5d8ba51222a393d5571a22b729"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"src/components/settings/channel-commands-tab.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1458f435ac061fc02673aa828a2c42af237c063d560a38b0a1a52078525495b5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060saving\u0060, but \u0060saving\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":"src/components/settings/custom-agent-skills-toggle.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b702a3aea205f7fcfed8bb596d3693bafe16dbcc7e7f14abe1757a96e1b2e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center py-8\u0022\u003E\u0060 under \u0060loading\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":"src/components/settings/model-provider-settings.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8021ae57fa246da2ea50ffd248a1376daf5b785c1a0951220232258c74f0c668"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex h-full items-center justify-center text-sm text-muted-foreground\u0022\u003E\u0060 under \u0060preparing\u0060, but \u0060preparing\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5be10f40d1dd63b5131b43d3dd0220cd5e3c0e5d1643a36ec245bcf468f6e46"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex h-full items-center justify-center text-sm text-muted-foreground\u0022\u003E\u0060 under \u0060loadingVersions\u0060, but \u0060loadingVersions\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f084c6439ba1b8a459ebd99ae1d37bb45f85de5db530bad02aa3eb90ce7de89"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060aborting\u0060, but \u0060aborting\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"11139258e402e2ffffd670f00846a7f9c14541b6e2b91bb75ef5ea6ae1987b63"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060resolving\u0060, but \u0060resolving\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e5e0ffb8064b37b1501e5e6296df771942f88a09a9b920fae5ae51229f5311"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060completing\u0060, but \u0060completing\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":"src/components/merge/merge-workspace.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"021963ac2a02a4920776c60c8311d2917c502591d224cdce8d177d5b73c3c3a0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060aborting\u0060, but \u0060aborting\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":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87da38a3b222e2b05ec2d2719b702e9f9cf28c0323abaf0ec03f685d4fdc50c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060completing\u0060, but \u0060completing\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":"src/components/layout/conflict-dialog.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6ab2b53062cbd7ff43fb0498154411df626249e03bcde9dd453190f322f0f6"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center justify-center py-12\u0022\u003E\u0060 under \u0060listLoading\u0060, but \u0060listLoading\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":"src/components/layout/push-workspace.tsx"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f5cb61d8ce5d1eeb4665ed4f7bac6054e267816a9ac15b5599a7d69e43215c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-2 h-4 w-4 animate-spin\u0022/\u003E\u0060 under \u0060pushing\u0060, but \u0060pushing\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":"src/components/layout/push-workspace.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe97375cbfbd3dc8350fd1e62c5e1535658426a7e819cd845a04211d4c293bb6"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex h-full items-center justify-center\u0022\u003E\u0060 under \u0060diffLoading\u0060, but \u0060diffLoading\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":"src/components/layout/push-workspace.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ced5bf172f4e8b1deefbe398c087781839ecaa864e994d0396c74a01b9dc32f"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060loading\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":"src/components/layout/stash-dialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2197c1b61492cdd9c5250d6bca9ec4dcea3f5a83c1c10bf3c9e802a9b779e1b3"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 animate-spin\u0022/\u003E\u0060 under \u0060openingRoot\u0060, but \u0060openingRoot\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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e48024ccd8d540613b949590729207383b4087f4294d0d8c2f89ab4d91f56"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 animate-spin\u0022/\u003E\u0060 under \u0060previewing\u0060, but \u0060previewing\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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e193e5b3af623b62bd2535c301974a2bb4acb4e0783fd03e628070ca93bf5"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex items-center gap-2 p-4 text-sm text-muted-foreground\u0022\u003E\u0060 under \u0060loadingLinks \u0026\u0026 links . length === 0 \u0026\u0026 pending . length === 0\u0060, but \u0060loadingLinks\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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd947fd01a7bcc5852c50f477b3c35a37afbc3e87e2d2fab83c64e14b20e29c1"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 animate-spin\u0022/\u003E\u0060 under \u0060creating\u0060, but \u0060creating\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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cb00ce5c7ec905c5ff93bb64bcee9316715941e479d10efc90f8cd5e0fabe8"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-3.5 animate-spin\u0022/\u003E\u0060 under \u0060busy\u0060, but \u0060busy\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":"src/components/layout/workspace-folder-dialog.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed991a9d5b15f0739e48c6140192ff8453e9a84558553d2a44d32535e1e7b9a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060pending\u0060, but \u0060pending\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":"src/components/conversations/move-conversation-dialog.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83716cba9c930c3481acd097433adce001bf87a96ba544bf363bea986f1ef97"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022absolute inset-0 flex items-center justify-center\u0022\u003E\u0060 under \u0060! hydrated\u0060, but \u0060hydrated\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":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b02d011006640eb9c6ce67c1020afeaff82a95050184b42bc3bea7424e167b"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-3.5 animate-spin\u0022/\u003E\u0060 under \u0060seeding\u0060, but \u0060seeding\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":"src/components/canvas/canvas-view.tsx"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b4eeee1b0c63b5055e3b6466450d8ab4430ef0219a5d9a93c84402d66ed447"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060for_url\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/codex_endpoint_catalog.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"78192af46728e50082ee405239605645ceb39d55f8e94c4eca99f3f2d6ae578b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060number\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cb4a210997e59322ca17ff3d62583c04fd0a16ad97d7dd2fe202cc6c003d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060number\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/forge/cnb.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b7e808dbdd494ed102c865dd1a22e3d9306cd7cf5cee9f9ab063971d37247"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_session_store\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cline.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a93c171d00bb0a87a29fb3022150e1004bbd35a0fc0c893a0aa8d0c1b492378"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060scan_subagent_session_ids\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e4a6b0dd2f63de04cf1e4caa34011e4819ffaf57e0abb9a9ec4e575fd07608"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_version_parts\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/binary_cache.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b02996e39d52c73a88a71abc6a3eead64be7b6972502a9ab0b5370db4bb4e59"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060local_timezone\u0060 turns every \u0060Err\u0060 into \u0060\u0022UTC\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/chat_authoring.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc001bd51e03301d8ab7c9d1e3770eb1b0ba07b6aede54024d4029df10f86eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060request_id_key\u0060 turns every \u0060Err\u0060 into \u0060String::from(\u0022null\u0022)\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/delegation/companion.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"201fb0956d9f734bbb73d52de64c971a76622f5d8e510cfa059bb44711fe0fa1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060is_strictly_newer\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/latest_release.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c3aeeacfd96cb4fc3a597d07193798fdb814fe7118251ecdfb2c083b4573dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060dir_size\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp/temp_reclaim.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e00f103212148727334daae8b62cad8d549bcd297d6be4f51c8691baf82ebc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_transcript_in\u0060 turns every \u0060Err\u0060 into \u0060Transcript::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a55b9501b1df1f2e9d3a8fa78ae557a1d8f9a55806b14b09fc70b155e2a979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_session_ids_in\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/acp_transcript.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33e0aaee80ef9b5e0d80bdcaa48f518097dfa86b16fb1935ab485d0c6329bd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_of\u0060 turns every \u0060Err\u0060 into \u0060Some(String::new())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/browser/shim/windows.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67370a8d450e3f2ed071373993676b3d3ae10eaf208b7970f6c51109c50a530"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060redact_url\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Cwebhook\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/chat_channel/webhook.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dda52b784db08b2c50918ca66f7ea8d41ad42cbf94e9e8ef5c90c4514c032b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_records\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/cli_run/discovery.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4a31abf9701b8c12b6452aa42711641b6c9f57a50faad1da2a70713fbc3554"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_codex_sandbox_settings\u0060 turns every \u0060Err\u0060 into \u0060CodexSandboxSettings::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":4071}}}],"partialFingerprints":{"codehealthFindingId/v1":"062476d3f28247fd467c67ef26ccef23acdc13eadb589f6b481f336cf1c4ecfe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060hermes_model_projection\u0060 turns every \u0060Err\u0060 into \u0060HermesModelProjection::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":8827}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cb37ffa10364dca9ae6079059d5aef2577579f27b476a6ed148d1e3f0d5062"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_cursor_settings\u0060 turns every \u0060Err\u0060 into \u0060crate::acp::types::CursorSettings::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/acp.rs"},"region":{"startLine":10664}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ca89f478e5d338841a9ce80fd7b7435b26592c0f3a8620b40f4036c5e0a521"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_safety_snapshots_core\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/backup/restore.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d518c2667b54f725b8fc43908cfd51252d2bef157592b38f9bb5a360e14f4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_rollback_snapshots\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/config_sync/snapshot.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda1f90caff1cebea95c5ffe3dd4d4f12f6b58d5d1c45f9990661ca0af790aba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_manifest\u0060 turns every \u0060Err\u0060 into \u0060Manifest::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/experts.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc054ad92cf3dcd853d30b8a8845043a442c9d1b55c76115f405b848280a99ea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_package_scripts_as_commands\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folder_commands.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a9cf6c99b6d176656df746c34538157d62db3176498065356a703d997716f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060estimate_push_commit_count\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2b26fde28eb24ca5a81d93ac33d5a3dfdc8fb80fc19db7dc6338274ab7afd8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060authorized_links_in\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/folders.rs"},"region":{"startLine":4829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e0146ac2ccc8d8749e49ed86722ac0a9b0090c072348467b23486a787bd460"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_log_files_core\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/logging.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870cc4e8749ade11ac53a006b2d97a9a83066bda9ab6b20e896ecd0d198c8d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_manifest\u0060 turns every \u0060Err\u0060 into \u0060Manifest::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/science.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f368fab52b8a1749c173170486179b827e4a4623acc6081fdd6e1675d719678c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060recent_subjects\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commit_message/scope.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3516ce671b8a397f91af975deebd688f49b9e494f89f697920d8d9934df1e4d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060window_states\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/computer/helper/x11win.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd308cde4daa86c138384a741e0f9bfa0216cf0e31789d1214689315a90e756a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060encode_member_ids\u0060 turns every \u0060Err\u0060 into \u0060\u0022[]\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/service/canvas_service.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d10f891c955c9aa06bb06feb06e5c0aad397dc4d4d10c2d04e4422e2146c5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_codebuddy_subagent_tool_calls\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/codebuddy.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9853267aeace17af12d7aa20a35c0d6ede9aef47e9cf696951edc19ff38fef4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_sidecar_meta\u0060 turns every \u0060Err\u0060 into \u0060SidecarMeta::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"db70c7a73eb6cca83c9a2cde473d5b80515e1c5401f3b8a8899f56fbfc610c3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_subdirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/cursor.rs"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e6171af52ed640d04d024de2b0af685b55a86cb8a8901b6bbade2c1149e275"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_subdirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/deepseek.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ca17876a056ce16a219ce56307b1e2c80f317a6c03cce7eb9a1f261a32d4e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_summary_json\u0060 turns every \u0060Err\u0060 into \u0060SummaryMeta::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"724359678218d1fd358aa1f4108469186dee02c321c7735c1fe26e6c6f0fceab"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_updates\u0060 turns every \u0060Err\u0060 into \u0060ParsedUpdates::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a45d8ac7bee50e5982168fd0431d7bce532cd11b170a50477664c8eff4b18"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_subdirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/grok.rs"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"11443350dc5618dadb527a388bf975783422cc40b7331c9e611aaf6c48d8f917"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_hermes_tool_calls\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/hermes.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e5068359e936144226f4c624c548b35f080ca429157764cb583ff325336ccc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_kimi_subagent_tool_calls\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3105f716a416930b73a3c2ba50308692a0742e903bfe8030b22a0c3ecd131c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_subdirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/kimi_code.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01c08f7e4da26e83bfbc98ee17d5fad1e5dbe39a4b2bfaa236dd44e65c452f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060batch_load_subagent_tool_calls\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c1f7f0881a2126c4fb126970828518c04c2e872166894b81de9fc2ecd7537"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_media_blobs\u0060 turns every \u0060Err\u0060 into \u0060MediaBlobs::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674b65af3bac219650ee6c63efccbc91ae230c2172eacaaa7e373480db75883"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_v2_session_parts\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/opencode.rs"},"region":{"startLine":2701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aef9b9953dbdf8717c2f1be7ebcb439eef39d594ceccd36197148a475dafe2b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060subagent_call_usage\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/parsers/qoder.rs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ed566ed70aacb62667fba55da19a9d82f2a89ca7c1f5131a6b776e4caf890"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolve_worktree_git_watch_dirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ace0105f559b9bdd41bd3313b9ef2054da69a132a9512af97001e6b050b30"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_numstat_value\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/workspace_state/mod.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1226ddba54acd9f648fb808f4e682a23cb6deec2b734e918f1ad441f46e47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060format\u0060 swallows every exception into \u0060return \u0022Symbol()\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/browser-injected/console.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"33749f95c4cd58569fe129e1e8d370a260ff3e2713a94527d83874507dcb9430"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectTimezone\u0060 swallows every exception into \u0060return \u0022UTC\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-editor.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd6ca02c6d00e1de6c31d4feb04ce455241cd709ae4a4526a18cea42b36b97"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectTimezone\u0060 swallows every exception into \u0060return \u0022UTC\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/automations/automation-templates.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"374c5d6cb572be755a0bcf9913e4232d61b61b37c8a3c0954a8c601c1e213597"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecentAuthors\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/aux-panel-git-log-tab.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc95af2b817dc0392e0cc7baeb7a933c50e5245658d6cd8200eaaf03963637c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseKimiManagedConfig\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/kimi-code-config-panel.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"416358c9ec3aa0489970c6f74a4126b5d70d91c0d77bf34ddc3061fd95504a7d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060qoderAuthMethod\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/qoder-config-panel.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d276e8b5b8cb5eb3957ffcc8168633b84002efa4fe88f07ae1ec180fcba1f5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hostOf\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/settings/provider-models.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e3c6b865ff61da02f65732b02aaf7d020de2b09e2ef38896635c9dad678a5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TerminalPanel\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/terminal/terminal-panel.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d30c9e5f01562e50466ba817aed8e3f4415ba2f20ed2a80561803696ca1360"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readSeed\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/use-sorted-available-agents.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fb4899180082a864ac9da099d28719823d08e925ea32773b7a55431d613f61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseClaudeProviderModel\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":5694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4510669816bd79ae79b3b828037f2acbd5e3f53db70451620871b91aa38eef94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readEffectiveTokenValue\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/custom-style.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19ceed9562da785e3dd10e9b12040ee455774e6bf1125f12058cb220db54896"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseAskQuestionInput\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ask-question.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c3278dc3663883c987d4cadeeb819861b7cc774fe16864834c52daea0f5978"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseGrokTaskOutputEnvelopes\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/background-task.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1291f632a0c293eeae0dda9899dd060c13f0b25cef40a7d12f357a616141f4f5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fragmentOf\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-bridge.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d161e6f77a019a16664b527b429e12746e1ab9b90840973519897308d7253ea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPersistedBrowserTabs\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browser/browser-tab-persistence.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"528745719679f82430e39f5009c21e066d0f343a558a226dddecbe89f996573d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060findTaskIds\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eb4da5b7287f3a439191f7f1b80059df883506f063009bcfacee36e8e5b419"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseTaskIds\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/delegation-status.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c398c09c131fb9526989874edb968a1962d8b593fd4b8bd36b508e35b4f272"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseTodosFromJson\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/plan-parse.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9612ee4a2b3fcf6dc55f11f1c256bce33894658699519358c6900f7edcfe5180"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAll\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/selector-prefs-storage.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f819fdd7768d6be9d52f331cde1f7d19dbc9f4eb2d4ed266314a6f9ea72ae4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadFolderExpanded\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1a65016e66a326e19c8bd1fe139781180bd734bb0a603d2af6cf2d4f704fbb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadFolderGroupExpanded\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1103b056e84c405373e2929f6961b310857517b4ec519f6c7873f10bfe0e1a60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadConversationExpanded\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0292b749ac61e2dd2aeb88ad62258e9010bd64713b4d4483eb7057d180cfa9f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadNavItemVisibility\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7195f639e82583800cf67f47960f2aec7235eb57f4dfdb063dfd6b72f0aae72"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadSectionCollapsed\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/sidebar-view-mode-storage.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"de63f16b0acdccd230f683bc7cb78d0aab151490a80420f76bd227fcc5b379a9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCurrentAppVersion\u0060 swallows every exception into \u0060return \u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/updater.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090903fadd11e233902a4df1425aa4de9dab1e7b34254f37407e40160f845a2"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":161,"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."]}]}